diff options
author | Sven Gothel <[email protected]> | 2008-06-03 10:20:57 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-06-03 10:20:57 +0000 |
commit | c1672c1eacd7a7f90c66d748840978a66aaf4163 (patch) | |
tree | ddcfb0cb73ee1f484874fb0e1b16b827d2496501 /src/native/jogl | |
parent | 9583bd12ed22ece50ff6d1f40fc5a31ce1f96e6d (diff) |
Added Immediate Mode Sink (ImmModeSInk)
to allow ES 1.1 to use immediate mode rendering.
It uses VBO which can also be cached, see GLUquadric 'hack'.
GLUquadrics are now enabled for ES 1.
Added Sync to Newt's X11Window setVisible,
to make sure the window is established for the GLdrawable.
TODO: proper distinguishing of GL profiles and ImmModeSink
usage ..
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1661 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/native/jogl')
-rwxr-xr-x | src/native/jogl/X11Window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/native/jogl/X11Window.c b/src/native/jogl/X11Window.c index f4d9872d4..d4c764a6a 100755 --- a/src/native/jogl/X11Window.c +++ b/src/native/jogl/X11Window.c @@ -307,6 +307,8 @@ JNIEXPORT void JNICALL Java_com_sun_javafx_newt_x11_X11Window_setVisible0 XSelectInput(dpy, w, ExposureMask|ButtonPressMask|ButtonReleaseMask|PointerMotionMask| KeyPressMask|KeyReleaseMask); XSetInputFocus(dpy, w, RevertToNone, CurrentTime); + + XSync(dpy, False); } else { XSelectInput(dpy, w, 0); XUnmapWindow(dpy, w); |