Repository navigation
Conversation
|
@kkaefer, thanks for your PR! By analyzing this pull request, we identified @jfirebaugh, @ansis and @tmpsantos to be potential reviewers. |
e5bf999 to
1f9da9d
Compare
|
The state management makes sense, but is there a reason why we need to add |
|
The idea of adding |
|
In general we don't require that custom layers restore the original GL state. Instead, we call |
|
@jfirebaugh we don't expect that they reset the state, but exposing the original framebuffer ID allows custom layers to switch to a different (offscreen) FBO, render to that FBO, then switch back to the original FBO and composite the offscreen buffer. |
|
Ah, I understand now. Is |
|
Also, this addition would need to be plumbed through |
|
Calling |
|
This was mostly merged already. |
When resetting the GL configuration object, we are currently not resetting the Framebuffer binding and the viewport.