diff options
author | Sven Gothel <[email protected]> | 2013-09-20 12:18:48 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-09-20 12:18:48 +0200 |
commit | c427ed22244df44b71a0f1f000b0f93e56c283c2 (patch) | |
tree | e40dffaf9f3e2776a84413794f27b677318dc186 /src/jogl/classes/jogamp/opengl/util/GLArrayHandlerFlat.java | |
parent | 51df3f354a700454498371c0565bfcd6c0d3bf5f (diff) |
Fix Bug 826: GLJPanel: Fully restore TextureState and Viewport
In FBO mode save TextureState of current texture-unit,
as well as for the fbo texture-unit if the latter is a different.
In glslTextureRaster mode for verical flip (using FBO),
set the viewport to drawable size if before flipping and restore afterward - if equired.
TestGLJPanelTextureStateAWT fully tests use cases:
- Keep texture bound w/ same or other texture-unit
- Use 2 viewports within one drawable and keep it
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/util/GLArrayHandlerFlat.java')
0 files changed, 0 insertions, 0 deletions