summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* EGL more query config trials; Avoid NPE if no config is chosenSven Gothel2009-10-056-20/+50
|
* Fix On-/Offscreen and PBuffer.Sven Gothel2009-10-0517-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 offscreenSven Gothel2009-10-051-0/+1
|
* GLDrawableFactory Cleanup (-> On- Offscreen and PBuffer)Sven Gothel2009-10-0520-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.NetPbmTextureWriterSven Gothel2009-10-041-0/+161
|
* EGL: Use surfaceHandle, not windowHandle (2) for eglSurfaceSven Gothel2009-10-041-2/+2
|
* EGLContext: Just debug lines ..Sven Gothel2009-10-041-3/+5
|
* FIX: EGL Config: on-/offscreen and pbuffer; Added EGL-PBuffer setSurfaceHandleSven Gothel2009-10-044-36/+50
|
* Fix Config: Set doublebuffer:=false if offscreen; NEWT: Fix KDWindow.Sven Gothel2009-10-047-1/+13
|
* Fix EGL SurfaceType query/setup [on-/offscreen, pbuffer] using ↵Sven Gothel2009-10-043-42/+54
| | | | EGLConfig/GLCapabilities
* Texture: Relax/Pending creation of texture ID, no context must be currentSven Gothel2009-10-031-17/+25
|
* Avoid NPE if no context currentSven Gothel2009-10-031-1/+1
|
* NativeWindow extends SurfaceUpdatedListener for 'surfaceUpdated' ↵Sven Gothel2009-10-038-37/+54
| | | | propagation. GLDrawableFactory.createGLDrawable() propagates NativeWindow to offscreen NullWindow.
* surfaceupdated:: NativeWindow: passing 'updater'; NEWT: adding event listenerSven Gothel2009-10-038-18/+113
|
* EGL Fix: Use the surface handle for creation, not the window handle; More ↵Sven Gothel2009-10-034-28/+53
| | | | fixedCaps.
* EGL debug fixes ..Sven Gothel2009-10-034-11/+28
|
* Offscreen/PBuffer capabilities cleanup ; Generic read drawable supportSven Gothel2009-10-0323-121/+291
|
* NEWT: Offscreen integrationSven Gothel2009-10-023-2/+95
|
* Pbuffer GLDrawableFactory integration (2)Sven Gothel2009-10-023-6/+60
|
* Proper PBuffer drawable abstractionSven Gothel2009-10-025-67/+63
|
* NEWT Intel GDL: Proper Pos/Size/FullscreenSven Gothel2009-10-022-23/+112
|
* NEWT Intel GDL: Surface Size tuning .. ; Add missing getSurfaceHandle()Sven Gothel2009-10-022-12/+25
|
* NativeWindowFactory:Sven Gothel2009-10-0220-97/+798
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 parentedSven Gothel2009-09-292-36/+57
|
* Oops .. fixed compile errorSven Gothel2009-09-251-1/+1
|
* Fix MacOSX External GLContextSven Gothel2009-09-258-178/+448
|
* Let the GLCapabilityChooser run over the fallback fixed GLCapabilities [last ↵Sven Gothel2009-09-241-2/+13
| | | | resort]
* NEWT AWT: Use size/pos from external frameSven Gothel2009-09-141-0/+4
|
* NEWT: More elegant custom constructor type verification and setting by ↵Sven Gothel2009-09-142-34/+107
| | | | Window class impl. ; AWTWindow allow pure Container in cstr, ie an Applet
* Newt.AWT: avoid npeSven Gothel2009-09-131-2/+4
|
* NEWT: remove redundant test codeSven Gothel2009-09-131-3/+0
|
* NEWT: native parenting Win32 OKSven Gothel2009-09-132-43/+88
|
* Newt: MacOSX child clipping tests (failed)Sven Gothel2009-09-123-6/+25
|
* Newt: native window parenting MacOSX: OK (but parent clipping is missing) ; ↵Sven Gothel2009-09-126-54/+101
| | | | X11: windowResize event handled
* NEWT: Native window parenting (X11: OK); AWTWindow external Frame OKSven Gothel2009-09-126-31/+115
|
* NEWT: Basic/Naive window parenting support ; NEWT GLWindow: remove ambigous ↵Sven Gothel2009-09-1212-49/+73
| | | | create functions, ie with Window and Capabilities arguments
* newt: mac os mouse wheel event support, also made it more consistent with ↵trembovetski2009-08-252-3/+54
| | | | windows
* newt: one more attempt to commit insets-related changestrembovetski2009-08-208-14/+262
|
* newt: additional insets support for GL and AWT Windowtrembovetski2009-08-202-1/+23
|
* newt: added support for window insets. Only implemented for Windows and MacOS.trembovetski2009-08-201-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. ↵trembovetski2009-08-144-1/+177
| | | | Currently only implemented on Windows.
* NativeWindow: Add destroy() method, allowing external module to dispose a ↵Sven Gothel2009-08-103-0/+22
| | | | NativeWindow instance
* Fix Offscreen/PBuffer [WGL/GLX]: No XVisual/PFD necessary here ..Sven Gothel2009-08-063-13/+18
|
* Update GlueGen to 7dc9c5601d5689dcbc003ca51cfe826942ea3e6b (latest)Sven Gothel2009-08-055-31/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | - Fixes for OpenGL 3.2 - More strict define/function checking - Better documentation in source code: extension relation - GL extension marker exclusion is done by GlueGen now - Adapted gluegen cfg files Added OpenGL 3.2 extensions for GL3 Revalidation of all OpenGL 2.0/3.0/3.1 and 3.2 extensions GL2GL3 based on OpenGL 2.0/3.0 headers EGL shares common egl-common.cfg file Removed experimental java system property 'jogl.GLContext.3_2', try a 3.2 context in case of GL3. X11GLXContext: - Always try to make a created context current, to verify it's usability. This is different than under WGL. - Temporary removed usage: GLX.GLX_CONTEXT_PROFILE_MASK_ARB NV driver bug.
* WGL 3.2: No need for 'jogl.GLContext.3_2' - just works.Sven Gothel2009-08-032-35/+22
|
* Doc: OpenGL 3.1 .. 3.2 profile clarificationSven Gothel2009-08-033-50/+108
| | | | | | | | | | | | GLX_ARB_create_context: Add 3.2 context WGL_ARB_create_context: Add 3.2 context Add: Trying to use 3.2 core profile creation for GL3, disabled by default. (Disabled per default due to a freezing JVM on Linux _after_ the Java main thread and Hotspot finishes.) Experimental: You may try '3.2 core profile creation' setting the java system property 'jogl.GLContext.3_2'.
* Fix GLX/WGL GraphicsConfigurationFactory: Be more relaxed in error handling ↵Sven Gothel2009-08-022-8/+34
| | | | - keep going, even if underlying impl/modules cannot choose a config. Allows VBOX to run NEWT/JOGL
* Fix doc bug @arg -> @paramSven Gothel2009-08-027-25/+25
|
* Update documentation (OpenGL 3.0, 3.1 specifics); Fix ↵Sven Gothel2009-08-021-9/+6
| | | | ExtensionAvailabilityCache: Add Version 2.1 in case of GL2/OpenGL 3.0
* Update OpenGL GL2 profile subsumed/promoted extensions. Base is 3.0, ignore ↵Sven Gothel2009-08-021-5/+4
| | | | the colission-free subsumed extensions.