Michael Pfaff
325db15a1d
More progress, nearly fixed native header generation
...
BufferUtils.c and CallbackUtil.c have been modified to not include the
generated header file. This is because `javac` is choosing to ignore
those files for generation of headers for unknown reasons.
2022-08-10 11:43:59 -04: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
12b92fb46d
Fixed Pbuffer init when Display has not been created.
2011-08-24 23:18:56 +00:00
Ioannis Tsakpinis
40cbf3e45f
Added support for OpenGL ES.
2011-05-17 16:53:57 +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
Brian Matzon
bb16ec7492
updated and added license where needed
2008-04-07 18:36:09 +00:00
Elias Naur
d6207572c6
Added a Pbuffer constructor that omits the RenderTexture parameter, and added a note that FBOs should be used instead, if available. Render-to-texture pbuffers can only be available on Windows platforms and is thus not portable.
2007-02-24 18:41:41 +00:00
Brian Matzon
8a3bee6b1c
applied patch to move ID tag
2006-03-23 19:32:21 +00:00
Elias Naur
6ea1739399
Make Display, Pbuffer and AWTGLCanvas fail on null PixelFormats
2005-12-29 22:30:14 +00:00
Brian Matzon
fe3b071f0f
fix for matrox parhelia, they wont accept NULL buffer, despite the specs saying it's legit. Bugfinding: Javazoid
2005-07-20 07:30:26 +00:00
Caspian Rychlik-Prince
200ed3792a
Cleanup of unused imports
2005-05-04 20:59:44 +00:00
Brian Matzon
ad8d7676c2
moved Sys.log to LWJGLUtils and renamed property to org.lwjgl.util.Debug
2005-03-29 18:09:33 +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
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
f5106d92ed
Fixing Mac problems.
2005-01-22 00:34:50 +00:00
Elias Naur
a7fa07c2cc
Moved pbuffer supported check into native code to fix the case of no current context when creating the pbuffer
2005-01-19 13:05:07 +00:00
Elias Naur
fbcd19698b
Moved Mouse.getNativeCursorCaps() to Cursor.getCapabilities()
...
Renamed Pbuffer.getPbufferCaps() to Pbuffer.getCapabilities()
2005-01-18 12:34:36 +00:00
Elias Naur
9d770148ca
Added supported check to Pbuffer constructor
2005-01-18 11:58:33 +00:00
Elias Naur
925139bc7d
Added a Pbuffer argument to the Pbuffer constructor to enable sharing between pbuffers when the display is not created. Moved Pbuffer native methods into DisplayImplementation.
2005-01-11 13:53:12 +00:00
Elias Naur
9ec94cb364
Move getPbufferCaps to DisplayImplementation. Mac OS X pbuffer support
2004-11-18 12:10:28 +00:00
Ioannis Tsakpinis
a46706b752
New extensions
2004-11-09 21:29:17 +00:00
Elias Naur
6fb9a62cab
Removed ability to share Display context in Pbuffer - it was too much trouble for little gain
2004-08-02 14:32:51 +00:00
Elias Naur
8040e723c6
Removed all instances of synchronized, as we're not really multithread safe anyway. It is up to the user of LWJGL to synchronize access to LWJGL
2004-07-29 15:45:45 +00:00
Elias Naur
0d1e84752a
Win32 part of single-buffered Pbuffers
2004-07-26 14:27:34 +00:00
Elias Naur
665f971aec
Make Pbuffers that share the display context be single-buffered (linux part)
2004-07-26 13:36:04 +00:00
Elias Naur
bdf5a43d5e
Converted Cursor and Pbuffer handles to ByteBuffers
2004-07-25 14:28:50 +00:00
Elias Naur
efb28a1a85
Make Pbuffer.createPbufferUsingDisplayContext take a RenderTexture parameter
2004-07-25 07:00:55 +00:00
Elias Naur
afe90249cf
Fixed typo
2004-07-24 20:05:51 +00:00
Elias Naur
e9a9ba7c67
Added Pbuffer.isUsingDisplayContext()
2004-07-24 19:50:50 +00:00
Elias Naur
2c28c39fce
Implemented new type of Pbuffer that use the Display context, which is faster than a separate context (Linux)
2004-07-24 19:44:41 +00:00
Elias Naur
20537ab57e
Use WeakHashMap in the static mapping from contexts to vbo trackers in VBOTracker.java.
2004-07-24 16:29:15 +00:00
Elias Naur
39c06a14ab
LINUX: Made pbuffer creation independent of the Display context
2004-07-05 14:57:02 +00:00
Elias Naur
15934fd6e7
Move native stub initialization from extgl into GLContext.java. Makes it much easier to
...
exlude extensions classes. Furthermore, GLContext.useContext(null) can now be used to
reset the native stubs when no context is current.
2004-07-03 21:12:33 +00:00
Elias Naur
e59ed5d906
Win32 part of Display/Window merge
2004-07-03 10:16:28 +00:00
Elias Naur
84110e9c13
Linux part:
...
Merged Window and Display into org.lwjgl.Display
Added support for persistent context. This will enable LWJGL games
to avoid recreating the context resources like textures and display
lists when switching between windowed and fullscreen and/or context
dimensions.
Added PixelFormat class instead of individual parameters to Display.create
and Pbuffer constructor.
2004-07-02 19:02:00 +00:00
Brian Matzon
4cea3e191b
header unification
2004-06-12 20:28:34 +00:00
Elias Naur
9d55bbb302
Renamed LWJGLErrorException to LWJGLException
2004-03-27 15:05:24 +00:00
Elias Naur
63b33930b1
Added LWJGLErrorException to replace the too general Exception
2004-03-27 14:42:47 +00:00
Elias Naur
b98677fb47
All classes use Sys.initialize now
2004-03-27 13:48:58 +00:00
Elias Naur
497b9735f5
Removed GL_CHECK_ERROR
2004-03-07 16:01:45 +00:00
Ioannis Tsakpinis
d49ce2bfc0
render-to-texture support
2004-03-02 01:59:32 +00:00
Caspian Rychlik-Prince
5a8267a1e2
temporary work - don't use this yet
2004-02-23 16:30:48 +00:00
Caspian Rychlik-Prince
5356e13feb
New Context stuff
2004-02-18 17:48:26 +00:00
Ioannis Tsakpinis
4658cc1c77
Syntax corrections
2004-02-15 21:46:58 +00:00
Elias Naur
5c3e17c8a3
Added GLX_ARB_multisample support to Pbuffers
2004-02-15 15:46:10 +00:00
Caspian Rychlik-Prince
11b2fc05e3
The BIG LWJGL REFACTORING
2004-02-08 20:41:00 +00:00
Caspian Rychlik-Prince
1e69c2ec92
Whooooops!
2003-08-17 16:38:57 +00:00
Caspian Rychlik-Prince
57d975a24a
*** empty log message ***
2003-08-17 16:18:40 +00:00
Elias Naur
35a1538f82
Implemented safe VBO indices (phew)
2003-08-04 23:00:49 +00:00
Brian Matzon
4cdf7f855d
fix: removed superfluous import statement
2003-06-01 11:02:35 +00:00
Elias Naur
9bcaa18c3d
Implemented Pbuffers on win32 and linux (render to texture will be done later)
...
Implemented native cursor caps (one bit transparancy, alpha translucency and animations)
2003-05-20 12:20:13 +00:00