Lauren Budorick
a9ddf5b7fd
Preserve depth buffer between 3D layers + optimize render order ( #9931 )
...
Port of https://github.com/mapbox/mapbox-gl-js/pull/5101 : adds a new render pass `Pass3D` before any other rendering wherein we render layers with 3D passes (fill-extrusion layers) to offscreen framebuffers, sharing a depth renderbuffer between those layers in order to render 3D space correctly. Those framebuffers are saved on the RenderLayers and copied back to the map during the translucent pass. Rendering to offscreen framebuffers before we do any clear + draw means we can avoid expensive framebuffer restores.
2017-09-21 14:26:48 -07:00
John Firebaugh
2bbde6903a
[core] Rename for clarity: ActiveTexture → ActiveTextureUnit
2017-09-11 10:17:54 -07:00
Bruno de Oliveira Abinader
a05f060153
[core] Added Backend::{assume,set}ScissorTest
2017-06-13 13:37:41 +03:00
Lauren Budorick
1c9af3226f
[core] Reuse fill-extrusion textures between frames ( #8896 )
2017-05-08 09:06:07 -07:00
Lauren Budorick
f6e79d7073
[core] Render fill-extrusion layers ( #8431 )
2017-04-27 15:56:55 -07:00
Bruno de Oliveira Abinader
e5aa4d70cd
[core] Updated Size::isEmpty and TransformState::valid checks
2017-04-10 18:01:28 +03:00
Konstantin Käfer
0c3521d46c
[core] privatize OffscreenTexture implementation
2017-03-01 17:25:22 -08:00
Konstantin Käfer
c90a559599
[core] move framebuffer reading to gl::Context
2016-11-04 21:24:05 +01:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07:00
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
07315711d6
[core] remove Raster object in favor of a more low-level Texture object
2016-10-04 14:00:30 -07:00
Konstantin Käfer
cc78b74098
[core] remove dependence on gl.h types
2016-09-29 10:17:47 -07:00
Konstantin Käfer
d1a84d9b51
[core] rename VAO => VertexArray, FBO => Framebuffer
2016-09-29 10:17:47 -07:00
Konstantin Käfer
44c7e9d05e
[core] merge gl::ObjectStore into gl::Context
2016-09-27 11:03:29 -07:00
Konstantin Käfer
ce42d22984
[core] rename gl::Config to gl::Context
2016-09-27 11:03:29 -07:00
Konstantin Käfer
c88ce2d51e
[core] add ability to render to offscreen textures
2016-09-27 10:42:10 +02:00