Commit Graph

43 Commits

Author SHA1 Message Date
Michael Pfaff 134263f5cd
More progress, Windows build is definitely broken for now 2022-08-09 21:59:46 -04:00
Ioannis Tsakpinis d924981170 Added missing DrawableLWJGL method. 2011-09-03 19:08:27 +00:00
Ioannis Tsakpinis 41af142324 Added support for OpenGL 3.2 on MacOS X 10.7+. 2011-09-03 18:52:45 +00:00
Ioannis Tsakpinis 40cbf3e45f Added support for OpenGL ES. 2011-05-17 16:53:57 +00:00
Ioannis Tsakpinis a8bcb7fd25 Ported codebase to Java 1.5.
Misc OpenCL fixes and API improvements.
Changed fractal demo to use events/sync objects instead of cl/glFinish for synchronization. (untested)
2010-09-28 21:11:35 +00:00
Ioannis Tsakpinis 1aa9ab5104 Added support for OpenCL & CL/GL interop + minor improvements. [WIP] 2010-09-26 23:43:24 +00:00
Ioannis Tsakpinis 47c9991b41 Fixed ByteOrder of @Return ByteBuffers.
Cleaned up Drawable interface and introduced a reusable base implementation.
Added support for disabling runtime function checks, buffer checks and state tracking. Activated with -Dorg.lwjgl.util.NoChecks=true
2010-04-22 23:21:48 +00:00
Ioannis Tsakpinis e650319d5b Added support for a new Drawable type (SharedDrawable) that shares its context with another Drawable.
Added new methods to the Drawable interface (makeCurrent, releaseContext, destroy).
Added a background thread texture loading test (using either Pbuffer or SharedDrawable).
2010-04-20 18:21:05 +00:00
Ioannis Tsakpinis d7ee23f9b2 Added support for OpenGL 3.0 functionality
Added support for OpenGL 3.0 context creation (MAJOR/MINOR versions, DEBUG mode, FORWARD_COMBATIBLE mode)
Added support for OpenGL 3.0 context sharing
Added support for OpenGL 3.0 extension detection
Improved support for floating point PixelFormats (ARB_color_buffer_float)
Added support for packed floating point PixelFormats (EXT_packed_float)
Added support for sRGB PixelFormats (ARB_framebuffer_sRGB)
Added support for pseudo-FORWARD_COMBATIBLE mode (deprecated functions not loaded)
Added support for EXT_direct_state_access
2008-08-19 16:46:03 +00:00
Elias Naur e50dc04191 Removed AWTInputAdapter, since Display.setParent() works much betterdiff 2008-04-10 20:25:54 +00:00
Brian Matzon bb16ec7492 updated and added license where needed 2008-04-07 18:36:09 +00:00
Elias Naur 350c3c2661 Let otherwise generic AWT utilities classes take a Component instead of the more specific AWTGLCanvas 2008-04-06 14:39:32 +00:00
Elias Naur a877b0c1f1 javadoc fixes 2008-01-21 22:20:25 +00:00
Elias Naur 083137884b Remove the rest of the implementation reflection 2007-01-17 12:58:38 +00:00
Elias Naur 1bc9ac0aad AWTGLCanvas: Release the lock before calling exceptionOccurred 2007-01-03 09:16:13 +00:00
Elias Naur 1005813acc AWTGLCanvas: Added exceptionOccurred to allow users to be notified of unhandled LWJGLExceptions in paint() 2007-01-03 09:13:38 +00:00
Elias Naur 216044ffa4 AWTGLCanvas: Make sure we don't paint while destroying the canvas 2006-11-10 11:44:00 +00:00
Elias Naur c0248a7ee4 AWTGLCanvas: Ignore failure to lock drawing surface, since that can happen when the component is being destroyed 2006-11-10 10:20:44 +00:00
Elias Naur 9f3de4fd81 AWTGLCanvas: Synchronize paintGL() to avoid destroyContext while painting 2006-11-07 15:14:31 +00:00
Elias Naur 3674d843c2 Added org.lwjgl.opengl.AWTInputAdapter which enabled use of Mouse and
Keyboard with AWTGLCanvases. Programs can now avoid implementing AWT input processing and access the mouse grabbing features from both Display and AWTGLCanvas. See org.lwjgl.test.opengl.awt.AWTInputAdapterTest for an example.

Note: This commit is the linux and generic AWT imlementation and can still
change a lot while implementing windows and mac os x.
2006-10-26 20:19:40 +00:00
Elias Naur bb8dcf3996 Windows: Rename Win32* files to Windows* 2006-07-12 18:32:58 +00:00
Elias Naur 52ef6c1f64 AWT: Support re-entrant redrawing (by the same AWT thread). This happens when displaying dialog boxes from paintGL() or initGL() 2006-06-07 06:52:53 +00:00
Elias Naur d281f8848c Change AWTGLCanvas paint() to make current and release the context to avoid problems with different AWT event threads calling paint() 2006-05-30 12:41:49 +00:00
Caspian Rychlik-Prince 16524516cd Tidied up unused variables, added serialVersionUIDs as appropriate,
removed a few unnecessary casts and brackets and exceptions.
2006-04-21 11:11:21 +00:00
Elias Naur 821778c655 Made AWTGLCanvas listen to its own component events 2006-04-06 21:00:43 +00:00
Brian Matzon 8a3bee6b1c applied patch to move ID tag 2006-03-23 19:32:21 +00:00
Elias Naur 5faf661f04 Added setSwapInterval to Display and AWTGLCanvas 2006-01-01 19:50:06 +00:00
Elias Naur 6ea1739399 Make Display, Pbuffer and AWTGLCanvas fail on null PixelFormats 2005-12-29 22:30:14 +00:00
Elias Naur a8aabe008e Added initGL to AWTGLCanvas 2005-12-28 22:23:35 +00:00
Brian Matzon 348d9922b4 use internal lock mechanism instead of own instance 2005-05-12 15:45:53 +00:00
Caspian Rychlik-Prince 200ed3792a Cleanup of unused imports 2005-05-04 20:59:44 +00:00
Elias Naur 4d5957a22a Corrected AWTGLCanvas documentation 2005-04-30 15:37:42 +00:00
Elias Naur 0e6c9aa0cd Added LWJGLUtil.getPlatform to encapsulate platform detection. Added FreeBSD as an alias to Linux. 2005-04-09 17:35:37 +00:00
Elias Naur ed325d0c95 Moved Win32 specific code to win32 specific class(!) 2005-03-09 08:37:06 +00:00
Brian Matzon 94cb99de64 fixed loading of awt through use of loadLibrary on windows 2005-03-08 20:44:41 +00:00
Elias Naur 3085702a38 Mac OS X port of the refactoring. Linux and Win32 fixes. 2005-02-23 11:11:08 +00:00
Elias Naur acbbf03fe6 Removed loading of jawt, since it does not exist on mac 2005-02-22 14:10:06 +00:00
Elias Naur 47814d58f4 Fix AWTGLCanvas to create context and make it current in paint(). GL usage can then only happen from an overidden paintGL(). 2005-02-22 13:35:09 +00:00
Elias Naur ca260e3330 *** empty log message *** 2005-02-21 15:58:24 +00:00
Elias Naur 62e561cddf Win32 part of refactor and AWTGLCanvas 2005-02-21 14:46:47 +00:00
Elias Naur fb5d89599b Linux support for AWTGLCanvas. Big refactor of context specific code into Context.java that is now shared between Display, Pbuffer and AWTGLCanvas. (Win32 and Mac OS X is now broken while I implement the same changes on those platforms) 2005-02-20 11:24:22 +00:00
Caspian Rychlik-Prince e3f5cc7691 AWTGLCanvas fix 2005-02-16 13:47:21 +00:00
Caspian Rychlik-Prince 543e0ee5e2 *** empty log message *** 2005-02-16 13:31:47 +00:00