summaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* NEWT: Add EventDispatchThread (EDT) pattern.Sven Gothel2009-10-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to limitations on Windows, we need to standardize the one thread for - window creation, and - event dispatching This was already mentioned in the previous implementation but while integrating into another threading model (Plugin3), it turned out that manual managing the thread is too much of a burden. NEWT now uses a EDT per Display and Thread as the default, where Display creation, Window creation and event dispatching is 'pipelined' into. This can be switched off: NewtFactory.setUseEDT(boolean onoff); and queried via: NewtFactory.useEDT(); Note this EDT impl. does not implicate a global lock or whatsoever. The experimantal semantics of a current GL context for input event dispatching is removed, i.e. the GL context is no more made current for mouse/key listener. This reduces the complexity and allows the proper impl. of the external dispatch via EDT .. for example. Removed: GLWindow: setEventHandlerMode(int) .. etc X11Display: XLockDisplay/XUnlockDisplay needed to be utilized to allow the new multithreading (EDT/Render) Display usage. X11Window: lockSurface/unlockSurface locks X11Display as well .. +++++ NEWT: 'getSurfaceHandle()' semantics changed. To allow usage of the surfaceHandle for OS where it is allocated thread local (MS-Windows), it shall be aquired/released while lockSurface/unlockSurface. This is done in the Windows Window implementation. GLWindow can no more query 'getSurfaceHandle()' to verify if 'setRealized()' was successful. NEWT: Window surface lock is recursive and blocking now, as it shall be.
* Work on test webstart deploy scripts ..Sven Gothel2009-10-063-10/+63
|
* Allow custom user gluegen.compiler.xml ; NEWT: Example ↵Sven Gothel2009-10-024-18/+53
| | | | lib/gluegen.compiler.intelgdl.xml
* NativeWindowFactory:Sven Gothel2009-10-025-6/+3983
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Fix MacOSX External GLContextSven Gothel2009-09-253-4/+41
|
* Adding missing GL 3.0 reuse tokens ; Thanks to Koen Van den driesSven Gothel2009-09-251-0/+46
|
* Add local webstart test deploy scriptsSven Gothel2009-09-142-0/+126
|
* NEWT: native parenting Win32 OKSven Gothel2009-09-131-1/+1
|
* Adding jogl.all-noawt.jar and newt.all-noawt.jar and their jnlp descSven Gothel2009-09-114-19/+52
|
* Javadoc API: Add link to UML DiagramSven Gothel2009-08-061-6/+12
|
* Unify GL: glUnmapBuffer, glBlend*, glGenerateMipmap; Analyze script for ↵OpenGL_3_2_IntegratedSven Gothel2009-08-056-42/+46
| | | | collisions: lsGL23_commons.sh
* Update GlueGen to 7dc9c5601d5689dcbc003ca51cfe826942ea3e6b (latest)Sven Gothel2009-08-0542-313/+683
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* Doc: OpenGL 3.1 .. 3.2 profile clarificationSven Gothel2009-08-033-5/+12
| | | | | | | | | | | | 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'.
* Doc: OpenGL 3.1 .. 3.2 profile clarificationSven Gothel2009-08-032-8/+16
|
* Add: GL_AMD_vertex_shader_tessellator from specSven Gothel2009-08-032-1/+57
|
* GL: sync glext.hSven Gothel2009-08-025-572/+1062
| | | | | | | | | | | | - add GL_NV_present_video - add GL_NV_conditional_render - add GL_EXT_transform_feedback - add GL_EXT_direct_state_access GL3: - GLAPIENTRY -> APIENTRY (as in the orig headers) - Add GL_ARB_geometry_shader4 to gl3ext.h
* Fix: GL_EXT_framebuffer_blit tokenSven Gothel2009-08-021-2/+2
|
* Fix Spec Documentation; GL version, inclusion criteria and requirementsSven Gothel2009-08-021-31/+74
|
* Fix doc bug @arg -> @paramSven Gothel2009-08-022-2/+2
|
* Update documentation (OpenGL 3.0, 3.1 specifics); Fix ↵Sven Gothel2009-08-022-4/+18
| | | | 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-025-8/+124
| | | | the colission-free subsumed extensions.
* GL3 Related:Sven Gothel2009-08-012-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix glGetStringi's return type to String - Fix ExtensionAvailabilityCache: GL3's glGetStringi for GL_EXTENSIONS Ensure to add GL_VERSION_2_0 in case version >= 3.0 Ensure to not exceed version 3.0 for non GL3.1 context. In case of GL 3.1, do not include GL_VERSIONS below 3.0, since this is a forward compatible context. - Add Prologue to glGetString, where the ExtensionCache is being used for GL_EXTENSIONS - if already initialized. This feature adds backward compatibility for GL3 context on GL_EXTENSION. +++ General: Add GLPipelineFactory, a convenient pipeline factory for Debug/Trace and custom ones .. Change 'void setGL(GL)' to 'GL setGL(GL)', and let it return the successful set GL, or null.
* JOGL:Sven Gothel2009-07-314-9/+5
| | | | | | | | | - GL2ES12: - Fix calling convention, broke on Windows. - Remove GL_APIENTRY on gl2/gl3 header: This was a bug. - Using proper GL2's APIENTRY - jogl.all.jar: Add missing shader code ..
* Gluegen:Sven Gothel2009-07-316-97/+112
| | | | | | | | | | | | | | | | | | | | | | | | - Fix array element type name and const qualifier JOGL: - GL3: Set ArgumentIsString for GL3.1 methods - JAR file creation: Add 'filesonly' option - GLU: Static check of available impl., better fallback for GL2 without GLUgl2. - WGL: (Performance + Java2D/GL FBO works again) - Refactor WGL_ARB_pixel_format's HDC -> GLCapabilities: HDC2Caps - Revert change where we always create a dummy drawable/context for WGL selection (HDC2Caps). In case of no multisampling, use PFD2Caps only. - Update config using HDC2Caps (WGL_ARB_pixel_format) after context creation, if not done already -> updateCapabilitiesByWGL(). - profile.jogl: Add debug jars
* Fix SwapInterval (return value, check ctx current, egl), add getSwapInterval.sg2158892009-07-305-0/+20
|
* Fix GL commentssg2158892009-07-301-3/+33
|
* Cleanup: Remove NativeWindowFactory.TYPE_BROADCOM_EGLsg2158892009-07-301-0/+1
|
* Fix: doxygen-all-pub.cfg; Add NativeWindow: surfaceSwap() and ↵sg2158892009-07-292-0/+55
| | | | surfaceUpdated(); BroadcomEGL: Use custom surfaceSwap(); GLDrawableImpl's: Utilize NativeWindow's surfaceSwap() and surfaceUpdated(); Fix common enum of GL2ES1 and GL2GL3, merge them in GL
* Remove redundant getGLProfile() from GL interfacesg2158892009-07-291-2/+0
|
* Fixed GL* documentation. Moved common GL functions to GLBase. Moved ↵sg2158892009-07-2922-202/+261
| | | | glAllocateMemoryNV to GL2GL3 only. Add GL2GL3 interface. Fix some GL2 signatures. BroadcomEGL disable custom setSize().
* NEWT: Remove loading of non-existing nativewindow lib; BroadcomEGL: use ↵sg2158892009-07-281-2/+2
| | | | libEGL(EglUtil) and libGLES_CM(nexus), setSize to screen-size on creation, more debug output
* NativeWindow: noNativeAWT if nodesktopsg2158892009-07-281-2/+10
|
* Cleanup ..sg2158892009-07-284-62/+23
|
* EGL changes for deviceMorris Meyer2009-07-281-0/+1
|
* Cleanup ..sg2158892009-07-271-6/+0
|
* Add Custom NativeWindow Type 'BroadcomEGL' ↵sg2158892009-07-277-79/+71
| | | | (-Dnativewindow.ws.name=BroadcomEGL): 1st Draft of supporting broadcom's proprietary EGL mapping
* Merge branch 'MIPS_PORT' of ssh://[email protected]/jogl~jogl-git ↵Morris Meyer2009-07-273-8/+6
|\ | | | | | | into MIPS_PORT
| * Fix: Add gluegen.cpptasks.detect.os callsg2158892009-07-263-3/+3
| |
| * Newt: useKD optional again; macosx jar fixsg2158892009-07-251-5/+3
| |
* | mips changesMorris Meyer2009-07-275-6/+18
|/
* NEWT: Adding KD if building with OpenGL. Fixing build in case no native ↵sg2158892009-07-243-6/+24
| | | | library is being build. Fixing KD build for non windows.
* Add: Extended support for CVM crosscompile:sg2158892009-07-246-167/+370
| | | | | | | | | | | | | | | | | | | - Clean up X11 dependency - NativeWindow: - Seperate X11 out of core. - Add nativewindow.x11.jar and nativewindow.x11.cdc.jar - Newt: - Seperate X11,win,osx out of core. - Add newt.x11.jar, newt.win.jar, newt.osx.jar and the CDC variants Fix: External Context & Drawable (X11 and Windows) - Properly fetch current context values (ctx, display, drawable, ..) - Create GraphicsConfiguration based on the given pixelformat/FBConfig Fix: Java2D OpenGL Usage - Using the external context as shared for the external drawable - JAWTUtil: Skip locking in case of OGL-Flush-Queue - TODO: Windows FBO still does not work .. (X11 is fine)
* Adding Debug/Trace for GL2ES1 and GL2ES2sg2158892009-07-172-20/+27
|
* Fix glPixelStorei pname check - Thx to Chris Campbellsg2158892009-07-171-2/+2
|
* Fix CDC JAR unificationCDC_CVM_Integrationsg2158892009-07-153-6/+9
|
* Build CDC named JARs for CVM in default build, no more specialized build ↵sg2158892009-07-152-1/+21
| | | | necessary.
* Build CDC named JARs for CVM in default build, no more specialized build ↵sg2158892009-07-152-2/+2
| | | | necessary.
* Build CDC named JARs for CVM in default build, no more specialized build ↵sg2158892009-07-158-398/+402
| | | | necessary.
* Adding missing GL3 Debug/Trace to gl2 dbg JAR; Verifying unified CDCFP JARs ↵sg2158892009-07-132-14/+37
| | | | of cdcfp-build vs all-build (OK)
* Add unique CVM lib dir target in cdcfp build scriptssg2158892009-07-132-2/+26
|