diff options
author | Sven Gothel <[email protected]> | 2015-10-05 08:24:43 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-10-05 08:24:43 +0200 |
commit | 5d0c40061b11909253f07b347db0342b1be38c80 (patch) | |
tree | 94e46bc004ca067ea8ed54dec16436edf1676164 /make/scripts/tests-solx64.sh | |
parent | 424a8617324911d71461c411847b6323d53ec0ed (diff) |
Bug 1206 - Security: Clear exposed framebuffer after creation and before visibility
Experimenting w/ no GLEventListener attached to an GLAutoDrawable,
e.g. GLWindow (onscreen), GLJPanel (fbo offscreen),
indeed on some GL implementations the default framebuffer is uninitialized
and hence shows garbage.
GLDrawableHelper.setViewportAndClear(..)
- Clear framebuffer after setting viewport
- Called from:
- public final void init(..)
- public final void reshape(..)
- Method is used independent of GLEventListener,
hence this simplifies implementation: removes 'setViewport' criteria
for init, display, reshape: it is always performed!
Note: We only attempt to help against leaking un-initialized framebuffer content
not against user-app faults, we do not clear a 2nd-buffer (double-buffering).
Note: We may still be late at resize, i.e. small noisy flickering might be visible.
This might be due to lack of proper vsync.
Diffstat (limited to 'make/scripts/tests-solx64.sh')
0 files changed, 0 insertions, 0 deletions