aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* NEWT/Window/Insets: Implement proper Inset usage ; Cleanup ↵Sven Gothel2011-09-0620-472/+610
| | | | | | | | | | | | | | | | | | | | | | | | | WindowImpl::reconfigureWindowImpl Implement proper Inset usage (window decoration size) - Insets are either polled (updateInsets()) or event driven (insetsChanged()) - Insets are used for size/pos calculations from Java side - Natural size/pos in NEWT is client-area, ie w/o Insets - Adding setTopLevelPosition()/setTopLevelSize() for top-level values, ie including insets WindowImpl::reconfigureWindowImpl - Use flags to pass down the requested action to the native implementation - Impl. all native actions: visible, decoration, reparent, resize, fullscreen - Always use size/pos in client-area space, impl. shall use Insets to tranform them - Remove double-setting of (reparent/fullscreen), which where introduced due to buggy impl. code - Fix return from fullscreen position: Was overwritten with FS position (0/0) - Fix decoration change: Remove visible toggle - not required, and actually disturbing X11Windows/WindowsWindow: Added/Fixed Insets impl. Tests (manual): - TestSharedContextVBOES2NEWT utilizies proper window layout using Insets - TestParenting03bAWT uses window layout for reparenting
* NativeWindow/NEWT: Cont. refinement of Insets usageSven Gothel2011-09-063-9/+21
| | | | Completes commit d4670328991c02a6f11f8873ea7a2331f17d0ef0
* NativeWindow/NEWT: Refine Insets definition for size and position, read and ↵Sven Gothel2011-09-0416-140/+219
| | | | write access
* Unify Immutable/WriteCloneable Usage ; Remove Clonable for ImmutableOnly typesSven Gothel2011-09-0410-33/+30
|
* NativeWindow: Add new Insets/InsetsImmutableSven Gothel2011-09-042-0/+161
|
* Remove prev. Insets implSven Gothel2011-09-041-112/+0
|
* WindowsDWM: Check all methods for availability - Cleanup headerSven Gothel2011-09-042-9/+2
|
* Test Multisample/Translucency: Remove implicit alpha settingsSven Gothel2011-09-042-1/+6
| | | | see commit 3ea949b6a14c1ba631cb41b7439af86b21db4c05
* Complete translucency support for Win32 - tested w/ NEWTSven Gothel2011-09-0412-7/+226
| | | | | | | https://jogamp.org/bugzilla/show_bug.cgi?id=517 - Adding some Windows DWM entries to GDI (manual) for translucency support - Add translucency setting in WindowsWGLGraphicsConfiguration*
* NativeWindow/JOGL: Cleanup Caps doc and implicit related values.Sven Gothel2011-09-042-46/+57
| | | | | | | | | Capabilities setBackgroundOpaque -> setAlphaBits GLCapabilities setOnscreen <-> setPBuffer setSampleBuffers -> setAlphaBits
* test script ..Sven Gothel2011-09-031-1/+1
|
* Complete translucency support (core w/ X11 (only) - tested w/ NEWT)Sven Gothel2011-09-036-19/+183
| | | | | | | | | | | | | | | | | DefaultGLCapabilitiesChooser: - Add penalty for opaque mismatch: dbl-buf > opaq > stencil GLGraphicsConfigurationFactory: - Case no-chooser && has-recommended-idx: - Only use recommended index if caps is opaque, otherwise use default chooser to validate translucency NativeWindow Capabilities: - transparent default values -> 0 Added NEWT Test: TestTranslucencyNEWT Added command line translucency/undecorated options for TestGearsES2NEWT
* Revert commit 8dc31bcaa3ee3a2407d1960ab42d094cac642876: Implicit ↵Sven Gothel2011-09-031-2/+1
| | | | setUndecorated(true) if Capabilities !isBackgroundOpaque(). The original manual logic allows better control
* JOGL/X11GLXGraphicsConfiguration: Query opaque/transparent by XRender ↵Sven Gothel2011-09-031-1/+12
| | | | 'alphaMask' cfg
* NativeWindow X11: Add DSO Xrender dependencySven Gothel2011-09-031-0/+6
|
* Fix XRenderFindVisualFormat return capacity (commit ↵Sven Gothel2011-09-031-1/+1
| | | | dcb0cc571298be90d0db7ad00fef835fe5fdc46d)
* NativeWindow/X11: Add XVisualInfo.Visual opaque long access ; Add ↵Sven Gothel2011-09-033-0/+49
| | | | XRenderFindVisualFormat for translucent window config
* NEWT Window: Implicit setUndecorated(true) if Capabilities !isBackgroundOpaque()Sven Gothel2011-09-031-1/+2
|
* NEWT: Respect 'setUndecorated(true)' before native creation (ie. startup w/ ↵Sven Gothel2011-09-023-5/+11
| | | | undecorated window)
* Add GL Version 4.2 in GLContext Query - Add verification via ↵Sven Gothel2011-09-0212-48/+64
| | | | | | | | | | glGetIntegerv(GL_MAJOR_VERSION|GL_MINOR_VERSION) Status (Using 4.2 beta driver): - Windows NV: Created and verified - Linux AMD: Creates even non existing ones, 4.2 (available) verification returns 0.0 - Linux NV: Created but verification fails, returns 0.0
* Test Gears ES1/ES2: Fix shared destructionSven Gothel2011-09-021-6/+19
|
* Test Gears ES1/ES2: Fix lifecycle check (shared gears)Sven Gothel2011-09-022-10/+14
|
* TestParenting02NEWT: Don't move parent window -> lots of WM fighting / ↵Sven Gothel2011-09-021-2/+4
| | | | flickering
* Test GLSLSimpleProgram: Add proper destroy ..Sven Gothel2011-09-021-0/+10
|
* Gears/RedSquare ES1/ES2: Add proper destroy/init lifecycle incl. assertion ↵Sven Gothel2011-09-025-129/+200
| | | | | | | | | checks; Use swapInterval ; RedSquareES2 use VBO RedSquareES2 use VBO. - On Windows/NV we had to re-issue (pass down to GPU) the vertex attribute data (vertex/color), otherwise glDrawArrays crashes .. Probably a GL impl. bug. Hence we use VBO to minimize the data upload.
* Fix NEWT/Window/Windows: setSize/setPosition/reconfigure: 'nop size' -1x-1 ↵Sven Gothel2011-09-022-16/+9
| | | | | | | -> 0x0 Windows: setPosition was invoking setSize (new size propagation) even w/ nop size, let WM event wmSize invoke setSize.
* GLArrayDataWrapper: Allow vboTarget '0' -> no VBOSven Gothel2011-09-022-3/+3
|
* test scripts ..Sven Gothel2011-09-013-5/+9
|
* Test TestBug463ScaleImageMemoryAWT: Use UI Locking and AWT-EDT create/disposeSven Gothel2011-09-011-15/+34
|
* Test PIXMAP/BITMAP: Can't expect GL2/ES2 - might be SW OpenGLSven Gothel2011-09-011-3/+7
|
* Test ElektronenMultiplizierer: Unix coding of shader source (failed on ↵Sven Gothel2011-09-012-2/+2
| | | | Windows/NV)
* TestScreenMode01NEWT: Validate window size after FS toggleSven Gothel2011-09-012-3/+11
|
* NEWT/X11/Fullscreen: Fix Leaving FullScreenSven Gothel2011-09-012-11/+11
| | | | | | | | | | | | | | | NativeCode: "XChangeProperty( dpy, w, _NET_WM_STATE, XA_ATOM, 32, PropModeReplace, [ FULLSCREEN, ABOVE ] .." shall only be issued if entering FS, otherwise [ FULLSCREEN, ABOVE ] will be set on the client side at leaving FS, which is not intended. This caused a size reset to fullscreen size/mode. WindowImpl: Used WindowImpl.this.width and WindowImpl.this.height, where w and h should be used, the FS and pre-FS values.
* test scriptSven Gothel2011-09-011-5/+5
|
* NEWT/X11 Bug 502 regressions: WM_DELETE_ATOM, .. etc couldn't be catched, etc.Sven Gothel2011-09-014-99/+90
| | | | | | | | | | Use EDT X11 Display connection (DPY) for whole display/screen/window lifecycle, but the user utilization (OpenGL, ..). Only using the same DPY for creation and event dispatching allows catching WM_DELETE_ATOM 'ClientMessage's. Sync X11Window.c w/ commit 4dbb8731219212e27c9afb769a1c62b32bd230a6 - remove 'test' code .. use orig lines
* GLSL ShaderState: verbose = DEBUG ? true : falseSven Gothel2011-09-011-1/+1
|
* Test ElektronenMultiplizierer: Add original author information, split ↵Sven Gothel2011-09-014-307/+373
| | | | | | | | | | | | | | | GLEventListener/Test, .. Add original author/artist information: Dominik Ströhlein (DemoscenePassivist) Split GLEventListener/Test code Add key right/left for frame +/- 120 (fwd/bwd in time) Proper header doc formate Minor cleanup
* Test Gears: Use proper 'java' author tagSven Gothel2011-09-016-7/+7
|
* Test: Add RedSquare ES1 and ES2 standalone testsSven Gothel2011-09-012-0/+272
|
* Tests: Exchange GL2, ES1 GLEventListener to ES2 - mobile test preparation.Sven Gothel2011-09-0126-223/+86
|
* revert: a7340fd941b26d633c438cb5adb22f2c30a5cff0Sven Gothel2011-08-311-5/+4
| | | | NativeWindow X11 Error Handler: If quiet do not print message on stderr.
* X11Util.createDisplay() -> X11Util.openDisplay(): Better name match to ↵Sven Gothel2011-08-315-7/+7
| | | | XOpenDisplay/XCloseDisplay
* test script ..Sven Gothel2011-08-311-3/+5
|
* NativeWindow X11 Error Handler: Even if quiet, print message on stderr.Sven Gothel2011-08-311-3/+5
|
* X11OnscreenGLXDrawable: Mark dead GLX_WINDOW code deadSven Gothel2011-08-311-2/+4
|
* glXCreateContextAttribsARB: Use NIO for attributesSven Gothel2011-08-311-22/+27
| | | | Was intended to fix bug 515, which it doesn't. However, NIO usage is fine in this case.
* NEWT/X11 Display: CloseDisplay in same order as creation (ATI); Adding ↵Sven Gothel2011-08-312-26/+55
| | | | | | | | | | | | | | DisplayRelease0; Using 'EDT' suffix for display arguments CloseDisplay in same order as creation (ATI) - This enhanced the erroneous bug 515 (b54497155815852744adb657816cb4057948dae2) situation with closing the display connections. However, some SIGSEGV still slipped through. Adding DisplayRelease0 - Intended for cleaning up resources. Currently a NOP. Using 'EDT' suffix for display arguments - To mark the semantics of the display connection, which may be for window or EDT now.
* Workaround for X11/ATI fglrx bug 515 - Multiple Display ConnectionsSven Gothel2011-08-312-1/+31
| | | | https://jogamp.org/bugzilla/show_bug.cgi?id=515
* DynamicLibraryBundle*: Use generics for better spec - following gluegen ↵Sven Gothel2011-08-319-109/+108
| | | | commit cfb9e118e020707842e6b5136b07f5ab149540c1
* Unit Tests: Remove redundant GLProfile.initSingleton(boolean) callsSven Gothel2011-08-313-13/+0
|