Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix On-/Offscreen and PBuffer. | Sven Gothel | 2009-10-05 | 17 | -43/+120 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Demos are working again: demos.jrefract.JRefract - X11, Win32, OSX -Dsun.java2d.opengl=true demos.jrefract.JRefract - X11, Win32 demos.readbuffer.Main [-GL2,-GL2ES1] -test 0 demos.es1.RedSquare - X11, Win32, OSX, EGL demos.readbuffer.Main [-GL2,-GL2ES1] -test [12] demos.es1.RedSquare - X11, Win32 - OSX not, because of the missing feature of attaching a read surface. - EGL not, because the emulation I used didn't support attaching a read surface. Emulation bug .. probably .. MacOSXWindowSystemInterface.m createContext(): - Verify if passed surface handle _is_ a view, now it could be a pbuffer etc .. handle as well. Cleanup GLDrawableImpl.setRealized(boolean realized) - Calls setRealizedImpl() (implementation) now, and only if new stated differs .. - setRealizedImpl() fixed for: MacOSXPbufferCGLDrawable: recreate/destroy WindowsOffscreenWGLDrawable: recreate/destroy WindowsPbufferWGLDrawable: no-recreate/destroy X11OffscreenGLXDrawable: recreate/destroy X11PbufferGLXDrawable: recreate/destroy WindowsWGLContext: - wglMakeContextCurrent(): uses isFunctionAvailable .. - create(): Uses WGL.MakeCurrent() and releases the created context, due to unavailable MakeContextCurrent extensions before updating the procaddress tables. | ||||
* | Fix: EGL set doublebuffer:=false for offscreen | Sven Gothel | 2009-10-05 | 1 | -0/+1 |
| | |||||
* | GLDrawableFactory Cleanup (-> On- Offscreen and PBuffer) | Sven Gothel | 2009-10-05 | 20 | -381/+337 |
| | | | | | | | | | | | | | | | | | | | | | | | | - Base all PBuffer/Offscreen GLDrawable creators on a prev. created 'NativeWindow + SurfaceChangeable' instance. Simplifies implementation path. This also removes the almost cyclic referencing of GLWindow -> OffscreenWindow GLWindow -> Drawable -> NullWindow -> OffscreenWindow Now it is just GLWindow -> OffscreenWindow GLWindow -> Drawable -> OffscreenWindow - createGLDrawable() shall be used for all types now, especially if you want to pass the offscreen NativeWindow and benefit from the surfaceChangedListener etc .. - Add public createOffscreenDrawable(..) - EGLDrawable: - Query surface only if not 0 - [re]create surface only if needed, using 'ownEGL*' flag for destruction only. | ||||
* | Add com.sun.opengl.util.texture.spi.NetPbmTextureWriter | Sven Gothel | 2009-10-04 | 1 | -0/+161 |
| | |||||
* | EGL: Use surfaceHandle, not windowHandle (2) for eglSurface | Sven Gothel | 2009-10-04 | 1 | -2/+2 |
| | |||||
* | EGLContext: Just debug lines .. | Sven Gothel | 2009-10-04 | 1 | -3/+5 |
| | |||||
* | FIX: EGL Config: on-/offscreen and pbuffer; Added EGL-PBuffer setSurfaceHandle | Sven Gothel | 2009-10-04 | 4 | -36/+50 |
| | |||||
* | Fix Config: Set doublebuffer:=false if offscreen; NEWT: Fix KDWindow. | Sven Gothel | 2009-10-04 | 7 | -1/+13 |
| | |||||
* | Fix EGL SurfaceType query/setup [on-/offscreen, pbuffer] using ↵ | Sven Gothel | 2009-10-04 | 3 | -42/+54 |
| | | | | EGLConfig/GLCapabilities | ||||
* | Texture: Relax/Pending creation of texture ID, no context must be current | Sven Gothel | 2009-10-03 | 1 | -17/+25 |
| | |||||
* | Avoid NPE if no context current | Sven Gothel | 2009-10-03 | 1 | -1/+1 |
| | |||||
* | NativeWindow extends SurfaceUpdatedListener for 'surfaceUpdated' ↵ | Sven Gothel | 2009-10-03 | 8 | -37/+54 |
| | | | | propagation. GLDrawableFactory.createGLDrawable() propagates NativeWindow to offscreen NullWindow. | ||||
* | surfaceupdated:: NativeWindow: passing 'updater'; NEWT: adding event listener | Sven Gothel | 2009-10-03 | 8 | -18/+113 |
| | |||||
* | EGL Fix: Use the surface handle for creation, not the window handle; More ↵ | Sven Gothel | 2009-10-03 | 4 | -28/+53 |
| | | | | fixedCaps. | ||||
* | EGL debug fixes .. | Sven Gothel | 2009-10-03 | 4 | -11/+28 |
| | |||||
* | Offscreen/PBuffer capabilities cleanup ; Generic read drawable support | Sven Gothel | 2009-10-03 | 23 | -121/+291 |
| | |||||
* | NEWT: Offscreen integration | Sven Gothel | 2009-10-02 | 3 | -2/+95 |
| | |||||
* | Pbuffer GLDrawableFactory integration (2) | Sven Gothel | 2009-10-02 | 3 | -6/+60 |
| | |||||
* | Proper PBuffer drawable abstraction | Sven Gothel | 2009-10-02 | 5 | -67/+63 |
| | |||||
* | NEWT Intel GDL: Proper Pos/Size/Fullscreen | Sven Gothel | 2009-10-02 | 2 | -23/+112 |
| | |||||
* | NEWT Intel GDL: Surface Size tuning .. ; Add missing getSurfaceHandle() | Sven Gothel | 2009-10-02 | 2 | -12/+25 |
| | |||||
* | Allow custom user gluegen.compiler.xml ; NEWT: Example ↵ | Sven Gothel | 2009-10-02 | 4 | -18/+53 |
| | | | | lib/gluegen.compiler.intelgdl.xml | ||||
* | NativeWindowFactory: | Sven Gothel | 2009-10-02 | 25 | -103/+4781 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - If property 'nativewindow.ws.name' is set, use it as the custom windowing type returned by getNativeWindowType(true) NEWT: - Using NativeWindowFactory's property 'nativewindow.ws.name' as a package name for custom NEWT windowing imlementations, ie: -Dnativewindow.ws.name=com.sun.javafx.newt.intel.gdl -Dnativewindow.ws.name=com.sun.javafx.newt.broadcom.egl This allows far more flexibility to add custom impl. - Add Intel-GDL, define property 'useIntelGDL' to build the native part. Intel GDL is impl in the package 'com.sun.javafx.newt.intel.gdl' JOGL: - All impl. of 'createGLDrawable(..)', which were actually creating onscreen drawable only, were renamed to 'createOnscreenDrawable(..)'. - GLDrawableFactoryImpl impl. 'createGLDrawable(..)' now and dispatches to the actual create* methods in respect to the Capabilities, ie onscreen, pbuffer and offscreen. - GLDrawableFactory: - If using a native ES profile -> EGLDrawableFactory - If existing native OS factory -> Use that .. - Else -> Use EGLDrawableFactory, if available | ||||
* | NEWT: Fix X11 ConfigureEvent ; X11Window don't propagate pos change if parented | Sven Gothel | 2009-09-29 | 2 | -36/+57 |
| | |||||
* | Oops .. fixed compile error | Sven Gothel | 2009-09-25 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of ssh://jausoft.com/srv/scm/jogl | Sven Gothel | 2009-09-25 | 1 | -0/+1 |
|\ | |||||
| * | test .. | Sven Gothel | 2009-09-24 | 1 | -0/+1 |
| | | |||||
* | | Fix MacOSX External GLContext | Sven Gothel | 2009-09-25 | 11 | -182/+489 |
| | | |||||
* | | Adding missing GL 3.0 reuse tokens ; Thanks to Koen Van den dries | Sven Gothel | 2009-09-25 | 1 | -0/+46 |
|/ | |||||
* | Let the GLCapabilityChooser run over the fallback fixed GLCapabilities [last ↵ | Sven Gothel | 2009-09-24 | 2 | -3/+14 |
| | | | | resort] | ||||
* | NEWT AWT: Use size/pos from external frame | Sven Gothel | 2009-09-14 | 1 | -0/+4 |
| | |||||
* | Add local webstart test deploy scripts | Sven Gothel | 2009-09-14 | 2 | -0/+126 |
| | |||||
* | NEWT: More elegant custom constructor type verification and setting by ↵ | Sven Gothel | 2009-09-14 | 2 | -34/+107 |
| | | | | Window class impl. ; AWTWindow allow pure Container in cstr, ie an Applet | ||||
* | Newt.AWT: avoid npe | Sven Gothel | 2009-09-13 | 1 | -2/+4 |
| | |||||
* | NEWT: remove redundant test code | Sven Gothel | 2009-09-13 | 1 | -3/+0 |
| | |||||
* | NEWT: native parenting Win32 OK | Sven Gothel | 2009-09-13 | 3 | -44/+89 |
| | |||||
* | Newt: MacOSX child clipping tests (failed) | Sven Gothel | 2009-09-12 | 3 | -6/+25 |
| | |||||
* | Newt: native window parenting MacOSX: OK (but parent clipping is missing) ; ↵ | Sven Gothel | 2009-09-12 | 6 | -54/+101 |
| | | | | X11: windowResize event handled | ||||
* | NEWT: Native window parenting (X11: OK); AWTWindow external Frame OK | Sven Gothel | 2009-09-12 | 6 | -31/+115 |
| | |||||
* | NEWT: Basic/Naive window parenting support ; NEWT GLWindow: remove ambigous ↵ | Sven Gothel | 2009-09-12 | 12 | -49/+73 |
| | | | | create functions, ie with Window and Capabilities arguments | ||||
* | add JOGL_ALL_NOAWT config | Sven Gothel | 2009-09-11 | 1 | -3/+7 |
| | |||||
* | Merge branch 'master' of ssh://git.kenai.com/jogl~jogl-git | Sven Gothel | 2009-09-11 | 2 | -3/+54 |
|\ | |||||
| * | newt: mac os mouse wheel event support, also made it more consistent with ↵ | trembovetski | 2009-08-25 | 2 | -3/+54 |
| | | | | | | | | windows | ||||
* | | Adding jogl.all-noawt.jar and newt.all-noawt.jar and their jnlp desc | Sven Gothel | 2009-09-11 | 4 | -19/+52 |
| | | |||||
* | | Adding jogl.all-noawt.jar and newt.all-noawt.jar and their jnlp desc | Sven Gothel | 2009-09-11 | 2 | -0/+130 |
|/ | |||||
* | newt: one more attempt to commit insets-related changes | trembovetski | 2009-08-20 | 8 | -14/+262 |
| | |||||
* | newt: additional insets support for GL and AWT Window | trembovetski | 2009-08-20 | 2 | -1/+23 |
| | |||||
* | newt: added support for window insets. Only implemented for Windows and MacOS. | trembovetski | 2009-08-20 | 1 | -0/+96 |
| | | | | | Also clarified the meaning of setSize/getWidth/getHeight - they are assumed to be the size of the client area, excluding decorations. | ||||
* | newt: added expose/paint event notification needed for passive rendering. ↵ | trembovetski | 2009-08-14 | 4 | -1/+177 |
| | | | | Currently only implemented on Windows. | ||||
* | NativeWindow: Add destroy() method, allowing external module to dispose a ↵ | Sven Gothel | 2009-08-10 | 3 | -0/+22 |
| | | | | NativeWindow instance |