diff options
author | Sven Gothel <sgothel@jausoft.com> | 2013-06-17 04:39:58 +0200 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2013-06-17 04:39:58 +0200 |
commit | d7e2cb6fdec200d25a9189f7951c5f94c26a1ce4 (patch) | |
tree | 21032f1f85d365b5a205ea7296f8ff5f76b2166d /src/newt | |
parent | c3dc7fbdb9437f773146926b41003df32ba756d1 (diff) |
Fix Bug 753: Stuttering caused by lack of GL resource synchronization between Java GL- and CALayer thread ; Simplify / Fix waitUntilRenderSignal().
Stuttering caused by lack of GL resource synchronization between Java GL- and CALayer thread
+ // Required(?) to finish previous GL rendering to give CALayer proper result,
+ // i.e. synchronize both threads each w/ their GLContext sharing same resources.
+ //
+ // FIXME: IMHO this synchronization should be implicitly performed via 'CGL.flushBuffer(contextHandle)' above,
+ // in case this will be determined a driver bug - use a QUIRK entry in GLRendererQuirks!
+ gl.glFinish();
Simplify / Fix waitUntilRenderSignal()
- remove loop and 'ready' condition -> nonsense
- if too later, i.e. lastWaitTime+TO < now, use now+TO as max. vsync waiting time
Bug735 Tests:
- Make vsync, wait and ECT (exclusive context thread) configurable via main args.
- Inv2*, Inv3* and Inv4*: Fluent Animation
- Works w/ ECT
Diffstat (limited to 'src/newt')
0 files changed, 0 insertions, 0 deletions