Commit Graph

1554 Commits

Author SHA1 Message Date
Elias Naur b88624e608 Add a public DisplayMode constructor 2004-08-09 11:55:48 +00:00
Elias Naur 0baf3a81f2 Removed the NVidia dependent Grass.java test (as it didn't even work on nvidia because of resource loading problems, and because the org.lwjgl.test.opengl.shaders examples are superior anyway) 2004-08-05 20:29:04 +00:00
Elias Naur 250bbea979 Removed shared context ability from Pbuffer (win32) 2004-08-02 14:47:52 +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 adb35c3a2e Made all AL classes final 2004-08-01 21:26:25 +00:00
Elias Naur 5966d7b6b6 Added private constructors to OpenAL and OpenGL static classes 2004-07-31 09:34:09 +00:00
Elias Naur 0e9931e2a2 Removed commented out releaseContext() from linux Display.cpp 2004-07-30 13:58:08 +00:00
Elias Naur 2e8999c342 Added more missing decDisplay() 2004-07-30 13:30:15 +00:00
Elias Naur b50b5ca09b Added decDisplay to Pbuffer.cpp in linux to fix a potential X connection leak 2004-07-30 13:26:11 +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 72afa14aa3 Converted *.allocateDirect to BufferUtils 2004-07-29 11:41:11 +00:00
Elias Naur 42cd6ddb20 Added buffer checks to AL 2004-07-29 11:30:13 +00:00
Elias Naur ad1ff19437 Split general buffer checks into org.lwjgl.BufferChecks and the gl specific buffer checks into org.lwjgl.opengl.GLBufferChecks 2004-07-29 11:20:43 +00:00
Elias Naur 89a482e9ce Typo 2004-07-28 22:26:29 +00:00
Elias Naur e994515f7c Removed redundant vbo_tracker from Display.java 2004-07-28 22:17:56 +00:00
Elias Naur 466faf572f Add missing initialized check to Mouse.java 2004-07-27 17:08:48 +00:00
Ioannis Tsakpinis b19f257041 Fixed rtt 2004-07-26 22:25:02 +00:00
Elias Naur 12cfc58472 Fixed a neverending loop in findPixelFormatARBFromBPP 2004-07-26 19:37:43 +00:00
Ioannis Tsakpinis d2ecdf2b6e pbuffer tests 2004-07-26 19:14:20 +00:00
Elias Naur a04133fe8a Revert the Pbuffer "find singe buffered pixel format" behaviour in the Display context shared path. 2004-07-26 19:13:02 +00:00
Elias Naur 7c949a1325 Fix comment in Mouse.cpp 2004-07-26 18:59:40 +00:00
Elias Naur 0aea2bccd0 Simplify cursor position in Mouse even more - get rid of hairy window rect code 2004-07-26 18:57:18 +00:00
Elias Naur f89c212848 Simplify Mouse cursor positions and replace display_hwnd global variable with getCurrentHWND() (Win32) 2004-07-26 17:01:56 +00:00
Elias Naur 90187ad798 GLContext now only loads native stubs of they're not already loaded 2004-07-26 14:50:33 +00:00
Elias Naur 98eef52c41 Linux part of letting Pbuffer fallback to double buffered formats 2004-07-26 14:42:13 +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 1aee4598a9 Win32 part of ByteBuffer handles for Pbuffer and Cursor 2004-07-25 14:51:28 +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 401a3a859f Make setting keyboard rate use own X connection 2004-07-24 22:17:03 +00:00
Elias Naur c17a6fe481 Avoid ARB_pixel_format in Display whereever possible. Must try the path once though, to increase the chance of getting a pbuffer compatible context. If it fails, the normal path context is kept, in hope that it will support pbuffers. If not, only unique context pbuffers will be available. 2004-07-24 22:06:43 +00:00
Elias Naur 79813c8f5a Win32 part of fast Pbuffer 2004-07-24 21:19:08 +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 6330f8e001 Make sure VBOTracker reset the current tracker when GLContext.useContext(null) is called 2004-07-24 16:34:07 +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 1187d0e3e8 null currentContext when GLContext.useContext(null) is called 2004-07-23 18:10:51 +00:00
Elias Naur ab5fd2b3df Corrected minor documentation error in GLContext 2004-07-23 18:01:55 +00:00
Elias Naur e8f47b066d Added a comment that a context must be current before calling GLContext.useContext() 2004-07-22 15:59:38 +00:00
Brian Matzon a9398f77dd nuked, content replicated in example 2004-07-22 15:35:37 +00:00
Brian Matzon 2245698f26 render a square 2004-07-22 15:34:04 +00:00
Brian Matzon 94ea591017 minor updates 2004-07-22 15:10:55 +00:00
Brian Matzon 4bcfaa5123 output mouse position 2004-07-22 15:00:36 +00:00
Brian Matzon bb7bc889a4 minor updates 2004-07-22 14:56:40 +00:00
Brian Matzon 760bb65d5a minor updates 2004-07-22 14:27:07 +00:00
Elias Naur 30d3ea27fe Rethrow exception in GLContext.useContext() 2004-07-22 13:04:34 +00:00
Elias Naur a1642b0dcf Linux: Fix context NULL'ed before free'ing 2004-07-22 08:52:25 +00:00
Elias Naur 19f32b3d63 Fix indentation 2004-07-22 07:56:36 +00:00
Elias Naur a2680adb77 Fix DisplayMode.equals 2004-07-22 07:38:56 +00:00
Elias Naur 3fb960ead8 Fix display mode switching and use separate X connection for display mode switching on linux 2004-07-21 21:51:37 +00:00
Elias Naur 84bd38f42f Make reset() revert the display mode field 2004-07-21 16:06:30 +00:00
Brian Matzon 62ed747bce 0.91 release 2004-07-21 15:00:24 +00:00
Brian Matzon b720082dad simple WIP streamtest 2004-07-21 14:49:57 +00:00
Brian Matzon aa07f67b68 implemented more fmod methods 2004-07-21 14:48:15 +00:00
Elias Naur 19fbff094b Linux: Fixed repeat issue 2004-07-21 14:39:22 +00:00
Elias Naur ad32e919e0 Linux: Reverted the build script changes (removed .so) because even with automake 1.8.3, the build system still doesn't produce a liblwjgl.so.0.0.0, only a liblwjgl.0.0.0 2004-07-21 09:25:53 +00:00
Elias Naur 4d8c6ea421 Added calls to nUpdate() before querying window state 2004-07-19 07:32:13 +00:00
Elias Naur 456a948195 Linux: Set dirty flag on UnMapNotify 2004-07-19 07:24:41 +00:00
Brian Matzon aaf1cf73bd implemented GetDriverCaps 2004-07-17 23:34:22 +00:00
Brian Matzon 60c7ddb7fe forgot fmod->fmod3 exception! 2004-07-17 23:31:25 +00:00
Brian Matzon c4a3500cf5 removed javadoc referenced to read 2004-07-17 09:38:20 +00:00
Elias Naur 314a19098e Mario: Fixed build scripts 2004-07-16 10:03:16 +00:00
Elias Naur d1e887d793 *** empty log message *** 2004-07-16 08:23:49 +00:00
Elias Naur 2951ef02cc Win32: Mouse native cursor fixes 2004-07-15 16:07:13 +00:00
Elias Naur b121cd0fc7 Don't actually center cursor on setGrabbed(true) 2004-07-15 15:53:16 +00:00
Brian Matzon c7ad40a9cd cleaned imports 2004-07-11 08:12:04 +00:00
Brian Matzon f618023b3f expose suspendContext 2004-07-11 08:09:34 +00:00
Brian Matzon e0a93cdd14 fixed examples to new architexture 2004-07-11 08:06:12 +00:00
Caspian Rychlik-Prince deb08476ef Added experimental sync2() method to Display. We'll see which one works best and remove the worst one. 2004-07-09 11:20:14 +00:00
Caspian Rychlik-Prince 60352fe5e0 Now copes with processors that adjust their clockspeed 2004-07-07 22:24:33 +00:00
Elias Naur abf0de6233 Fixed linux native cursor hotspot 2004-07-07 10:31:26 +00:00
Elias Naur eed273405e Win32: Disable ARB pixel format path unless needed (samples > 0) 2004-07-07 09:40:48 +00:00
Elias Naur 133a9ae778 Added pixel format warnings to PixelFormat.java 2004-07-07 09:38:19 +00:00
Elias Naur 8632dce58c Win32 fix 2004-07-07 08:06:57 +00:00
Caspian Rychlik-Prince 377c24eb42 Removed debugging 2004-07-06 17:55:13 +00:00
Caspian Rychlik-Prince 02f125af93 Removed debugging 2004-07-06 17:22:22 +00:00
Caspian Rychlik-Prince 08f33be35b Fixed a few special cases with extension names mapping 2004-07-06 16:57:37 +00:00
Caspian Rychlik-Prince dddf3daedd Fixed null title bug 2004-07-06 16:30:28 +00:00
Caspian Rychlik-Prince 4c00419d73 Organised imports 2004-07-06 16:08:17 +00:00
Caspian Rychlik-Prince 2276bf0c2d *** empty log message *** 2004-07-06 16:06:59 +00:00
Elias Naur d9ea16fbf7 Win32: Mouse native cursor fixes 2004-07-06 09:13:35 +00:00
Elias Naur f661aaa22b Undo GLContext.cpp split 2004-07-06 08:06:16 +00:00
Elias Naur 19b7f16291 Win32: Make pbuffer creation independent of display context 2004-07-06 07:50:33 +00:00
Elias Naur 39c06a14ab LINUX: Made pbuffer creation independent of the Display context 2004-07-05 14:57:02 +00:00
Elias Naur 1827f0efd4 Implemented reference counted loading of gl library in java 2004-07-05 14:34:47 +00:00
Elias Naur b07143f400 Made the mouse grab and native cursor properties persistent over destroy()/create() 2004-07-05 14:06:40 +00:00
Elias Naur 38ac5781ae Mouse reset coordinate fix 2004-07-05 13:47:18 +00:00
Elias Naur 4241dfde37 Removed extra System.out 2004-07-05 11:19:09 +00:00
Elias Naur 69d44be069 take out check on alcMakeContext again, the result type is differs on different platforms 2004-07-04 14:08:53 +00:00
Elias Naur 0ae705b7b0 Added more error checking in OpenAL. Unload native stubs on AL destroy. 2004-07-04 13:58:11 +00:00
Elias Naur 53bd9b660d all initNativeStub() methods throws LWJGLException 2004-07-04 13:14:06 +00:00
Elias Naur b7e4214a1a Moved openal native stub loading to java 2004-07-04 09:13:19 +00:00
Elias Naur 8585d8b2a5 Make sure the GL11 native stubs are unloaded too.
Throw exception when wglMakeCurrent fails
2004-07-04 08:39:09 +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 2cc7e0d02f *** empty log message *** 2004-07-03 17:45:26 +00:00
Elias Naur 4a13ffa90f *** empty log message *** 2004-07-03 17:39:25 +00:00
Elias Naur ba01e888fb *** empty log message *** 2004-07-03 17:06:56 +00:00
Caspian Rychlik-Prince 645cbe5ba4 *** empty log message *** 2004-07-03 16:41:38 +00:00
Elias Naur 1fd7d36188 *** empty log message *** 2004-07-03 16:38:02 +00:00
Elias Naur 0b07bb7afb *** empty log message *** 2004-07-03 16:07:52 +00:00
Elias Naur d4aa34e4f5 *** empty log message *** 2004-07-03 16:07:00 +00:00
Elias Naur 1c5f7aad3e Removed obsolete LWJGL_SANITY_CHECK and extgl_error 2004-07-03 14:59:15 +00:00
Elias Naur 05afc24027 *** empty log message *** 2004-07-03 14:53:25 +00:00
Elias Naur 2d5ff5d23d *** empty log message *** 2004-07-03 14:41:06 +00:00
Elias Naur 48f01cf614 Split WGL out to extgl_wgl.cpp/h 2004-07-03 14:39:29 +00:00
Caspian Rychlik-Prince 23520687ea Small fix 2004-07-03 14:04:03 +00:00
Elias Naur a57a736de5 *** empty log message *** 2004-07-03 13:55:25 +00:00
Elias Naur afec62989a Updated tests 2004-07-03 13:48:52 +00:00
Caspian Rychlik-Prince 6b7695e0f9 *** empty log message *** 2004-07-03 13:13:54 +00:00
Elias Naur 2601d57e47 Fixed utils 2004-07-03 13:07:02 +00:00
Elias Naur d0fce51ebb Check for null mode 2004-07-03 13:02:45 +00:00
Elias Naur 33611232f3 Linux fix fallback 2004-07-03 12:06:25 +00:00
Elias Naur fa45b4dc78 Win32 part of Display/Window merge 2004-07-03 11:29:44 +00:00
Elias Naur 86ddd2a579 *** empty log message *** 2004-07-03 11:16:59 +00:00
Elias Naur 0ea7ab410f Win32 part of Display/Window merge 2004-07-03 10:42:29 +00:00
Elias Naur 475d22e73b WIN32: Pbuffer pixel format must be single buffered 2004-07-03 10:36:26 +00:00
Elias Naur fbd4720236 Make linux Display.create fall back to 16 color bpp 2004-07-03 10:32:12 +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
Elias Naur d03916ebec Added InitWGL after creating Anti Aliased context 2004-07-02 12:34:33 +00:00
Elias Naur 8618fbc3f0 Removed reference to isVSyncEnabled() 2004-07-02 09:04:37 +00:00
Ioannis Tsakpinis 20302a4716 GLSL update 2004-06-27 12:43:55 +00:00
Caspian Rychlik-Prince e98787903a *** empty log message *** 2004-06-17 21:44:20 +00:00
Caspian Rychlik-Prince eb03eedb62 New quaternion class courtesy of fbi 2004-06-17 21:42:45 +00:00
Caspian Rychlik-Prince 370831cada *** empty log message *** 2004-06-14 19:03:33 +00:00
Caspian Rychlik-Prince 43139c9ea9 New stuff for sensitivity adjustment, scrolling, and adjustable dimensions 2004-06-14 19:00:33 +00:00
Brian Matzon 6ea25050e0 vsync enabled
using util method for displaymode stuff
tell user how to enter fullscreen mode
2004-06-12 21:52:37 +00:00
Brian Matzon 4cea3e191b header unification 2004-06-12 20:28:34 +00:00
Brian Matzon 5aedbe9c7f space invaders example 2004-06-12 19:59:20 +00:00
Brian Matzon 841df6cbf5 simple test to show all fields of a controller 2004-06-09 19:55:40 +00:00
Brian Matzon 0bcb13ceac fmod -> fmod3 2004-06-09 19:53:45 +00:00
Brian Matzon 3a7df43117 removed obsolete getPlatform 2004-06-09 19:45:15 +00:00
Brian Matzon 0afefea6ba updated to 3.73 2004-06-02 21:40:47 +00:00
Brian Matzon 5803d98ddc FMusic done, including callbacks!
Added synctest to fmod, showing how to use FMusic
2004-05-31 12:42:09 +00:00
Brian Matzon 9c8ac5d794 expose VM 2004-05-31 12:39:03 +00:00
Caspian Rychlik-Prince f75bb436c9 Tiny javadoc adjustment 2004-05-26 22:53:40 +00:00
Caspian Rychlik-Prince 7593877a42 No longer uses ARB pixel formats when samples == 0 2004-05-26 14:41:12 +00:00
Caspian Rychlik-Prince d137610528 *** empty log message *** 2004-05-25 15:19:16 +00:00
Elias Naur 4791b60784 Renamed fmod to fmod_instance 2004-05-23 19:45:00 +00:00
Elias Naur 9cf079d054 Fixed bug in Window.cpp 2004-05-23 19:08:16 +00:00
Elias Naur 093cd19d82 Improved stability of ext_ResetClass and ext_InitializeClass 2004-05-23 18:57:04 +00:00
Brian Matzon bafbb8899b miscellaneous javadoc fixes 2004-05-23 17:14:44 +00:00
Elias Naur a2e5e1a946 Added a tool to simplify creating dynamically loaded native stubs 2004-05-23 15:35:09 +00:00
Elias Naur cb2f3f7448 Updated headers and fmod for linux 2004-05-23 14:46:07 +00:00
Brian Matzon d26445afa6 nuke autogenerated headers 2004-05-23 14:04:57 +00:00
Brian Matzon f4a2c8354f fmod support 2004-05-23 14:03:07 +00:00
Brian Matzon 9ed3aa45e2 only get driver once 2004-05-23 13:54:55 +00:00
Brian Matzon 9369626d38 fmod support 2004-05-23 13:50:08 +00:00
Ioannis Tsakpinis e97002fa39 Cleanup 2004-05-19 16:46:59 +00:00
Ioannis Tsakpinis ed903530f1 Added some new extensions 2004-05-18 21:02:55 +00:00
Brian Matzon 3e4eac8e66 javadoc fixes 2004-05-14 17:20:17 +00:00
Elias Naur 0786d857f8 Potential fix for the titlebar issue on win2k 2004-05-14 12:52:39 +00:00
Elias Naur e709d0167a Linux: Implemented proper X async error handling 2004-05-11 20:34:47 +00:00
Elias Naur dd8c6e8a42 *** empty log message *** 2004-05-10 21:50:54 +00:00
Elias Naur 60c4e0a778 Linux: Don't free colormap before the window is destroyed 2004-05-10 21:48:06 +00:00
Elias Naur 25c8f8c313 Removed C++ exception handlers 2004-05-10 08:55:09 +00:00
Elias Naur 192b0da29e Fixed linux building 2004-05-05 14:41:04 +00:00
Caspian Rychlik-Prince 46bb78530f *** empty log message *** 2004-05-05 14:35:05 +00:00
Caspian Rychlik-Prince 88ff0562a8 duh 2004-05-05 14:34:26 +00:00
Caspian Rychlik-Prince 2c39ddfd0b *** empty log message *** 2004-05-05 14:33:03 +00:00
Caspian Rychlik-Prince b697fb3ecf Removed Sys.setTime(), Sys.getPlatform()
Changed Sys.getTime()
Added Display.sync()
2004-05-05 14:28:40 +00:00
Caspian Rychlik-Prince 3bb53392f6 Added some win32 timing tweaks 2004-05-05 13:26:21 +00:00
Elias Naur e1656b862b Win32: Added missing throwException in Controller.cpp 2004-05-05 11:30:51 +00:00
Elias Naur 7bd59ed27d Split global DirectInput interface into 3 interfaces in Mouse, Keyboard and Controller 2004-05-05 09:53:53 +00:00
Elias Naur 8099826ab7 Throw exception when win32 can't create DirectInput for some reason 2004-05-04 18:58:09 +00:00
Elias Naur 054e1f9f29 Attempt fix for out of focus mouse bug in win32 2004-05-04 18:47:47 +00:00
Brian Matzon cf1f74660c fixed glBitmap, as reported by christophe choquet 2004-05-03 15:06:51 +00:00
Erik Duijs d3f675581f Fixed up- scaling (thanks to Tom Robert Bryntesen) 2004-05-03 09:55:45 +00:00
Elias Naur 08fc228d2c Fixed null pointer exception on ALC.alcOpenDevice failure 2004-05-02 15:46:55 +00:00
Caspian Rychlik-Prince f277e5607d *** empty log message *** 2004-04-30 08:17:25 +00:00
Brian Matzon 54e06e4026 support for n buttons 2004-04-29 16:21:37 +00:00
Caspian Rychlik-Prince fc7c0fa846 Added conversions to and from HSB 2004-04-26 10:15:56 +00:00
Caspian Rychlik-Prince 00f82d6353 Added wrapper tags 2004-04-22 13:57:48 +00:00
Caspian Rychlik-Prince e123997fc2 Rendery stuff 2004-04-21 20:47:08 +00:00
Caspian Rychlik-Prince e871fefb02 more utils 2004-04-21 19:46:04 +00:00
Caspian Rychlik-Prince c08c972bce Tons more utils! 2004-04-21 18:11:00 +00:00
Caspian Rychlik-Prince bb4000ba87 *** empty log message *** 2004-04-20 21:02:40 +00:00
Caspian Rychlik-Prince 684904b915 Now does meshed models as well as boned ones 2004-04-20 20:39:52 +00:00
Caspian Rychlik-Prince ca0a661a62 XML Loader's done 2004-04-20 19:40:54 +00:00
Caspian Rychlik-Prince 0fb0abe573 New Object Oriented Wank! 2004-04-19 23:01:33 +00:00
Caspian Rychlik-Prince 40dce31cd0 Now with all the ARB and EXT methods! 2004-04-19 22:24:30 +00:00
Caspian Rychlik-Prince c41ac67aae Tweaks to the Vector package, and finalized the Model structure. So I hope. 2004-04-19 21:54:58 +00:00
Caspian Rychlik-Prince f33a019675 *** empty log message *** 2004-04-18 20:01:28 +00:00
Caspian Rychlik-Prince f62ab7b620 Models! Models! Models! 2004-04-18 19:30:32 +00:00
Caspian Rychlik-Prince 4d64783d83 A utility Model class 2004-04-18 18:59:49 +00:00
Caspian Rychlik-Prince 4d4ee0b7e5 The new utils package! 2004-04-18 16:24:58 +00:00
Brian Matzon 863e4e1fee missing function found by llewmason 2004-04-18 03:20:04 +00:00
Caspian Rychlik-Prince 5b0894e44b First example code checked in! 2004-04-16 10:46:30 +00:00
Elias Naur 0011e75a6e LINUX: Improved input handling 2004-04-13 12:13:32 +00:00
Brian Matzon a9506354ee fixed mouse issues, setGrabbed & native cursor now works (afaik ;)) 2004-04-12 14:46:18 +00:00
Brian Matzon b21e4a7f93 removed resetAnimation 2004-04-12 14:37:20 +00:00
Elias Naur 1907fb3ff6 LINUX: Turn off keyboard repeat rate at Window.create too 2004-04-12 14:29:55 +00:00
Elias Naur b641b66e12 LINUX: Fixed warp ignores 2004-04-12 12:20:59 +00:00
Brian Matzon 84eae4c6f6 removed restriction about native cursors, and fixed mouse not showing on setNativeCursor(null); 2004-04-12 10:37:50 +00:00
Elias Naur e034c76f19 LINUX:Improved warp event ignore 2004-04-12 10:33:39 +00:00
Elias Naur 0085c8862c LINUX: Implemented setGrabbed 2004-04-12 10:05:13 +00:00
Elias Naur e7eb679f24 Cursor.java:Fixed case where delays == null 2004-04-12 07:20:01 +00:00
Elias Naur 6f1f14facb Reverted the relative coordinate 'bug' - that's the required behaviour when Window.update is calling Mouse.poll. Consider the case where we call Window.update twice before checking getD*: with the old behaviour, only the deltas between the updates are reported, not those before the first update 2004-04-12 07:13:36 +00:00
Brian Matzon 86eb042b81 reworked animated native cursors, to use X animation when required
added initial setGrabbed(boolean) feature - Work in progress
both needs verification on linux
2004-04-12 00:33:01 +00:00
Brian Matzon 438e790987 fixed relative coordinate bug 2004-04-11 16:03:40 +00:00
Elias Naur 368207e9e2 Various fixes 2004-04-09 21:52:42 +00:00
Elias Naur 4f6eaa7280 Fix rest of the openal examples 2004-04-09 21:38:31 +00:00
Elias Naur ebff02b15a *** empty log message *** 2004-04-09 19:26:53 +00:00
Elias Naur 942dfb758d removed size argument from alBufferData and added additional buffer types 2004-04-09 15:22:20 +00:00
Elias Naur 4974a66398 Folded read into poll to simplify interface 2004-04-07 07:55:42 +00:00
Elias Naur 8065870592 Removed Keyboard.initIDs 2004-04-07 07:48:37 +00:00
Elias Naur cc367fa4b5 LINUX: Implemented reference counted display connection to let Cursors be created and destroyed without a window or a mouse 2004-04-07 07:46:03 +00:00
Elias Naur 4779a2e29f Updated Mouse.h 2004-04-06 14:46:40 +00:00
Elias Naur b3b2c4a145 win32 fixup 2004-04-06 14:40:36 +00:00
Elias Naur bf8cce9b59 Make poll deltas accumulative, and only reset on getD* 2004-04-06 14:23:19 +00:00
Elias Naur 65c16c3741 *** empty log message *** 2004-04-05 14:19:25 +00:00
Elias Naur 949977b485 Updated docs to reflect the dirty flag change 2004-04-04 14:10:19 +00:00
Elias Naur 40373ec422 Reverted the dirty flag change, because it might be used as a flag to check if the back buffer is corrupted when creating textures from the it. You can't just swap the back buffer in to clear the flag in that case. So we need the flag to be cleared also when isDirty is called 2004-04-04 14:09:12 +00:00
Caspian Rychlik-Prince 6f4a3afd26 Tweaking 2004-04-04 13:43:43 +00:00
Caspian Rychlik-Prince 0e733a1fb7 Tweaking 2004-04-04 13:39:10 +00:00
Caspian Rychlik-Prince bd0091b8d9 *** empty log message *** 2004-04-04 13:38:18 +00:00
Elias Naur ffc4758d6d Pulled global isUndecorated into function 2004-04-04 13:24:34 +00:00
Caspian Rychlik-Prince 7c9f237563 *** empty log message *** 2004-04-04 13:19:54 +00:00
Elias Naur ee05436c65 Fixed a small glitch in the test conversion 2004-04-04 13:18:16 +00:00
Caspian Rychlik-Prince ddabfaa81a Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. 2004-04-04 13:01:53 +00:00
Caspian Rychlik-Prince 85130ebd90 Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. 2004-04-04 12:53:45 +00:00
Elias Naur a538d84eb1 Implemented the undecorated flag and reshape on linux 2004-04-04 09:34:11 +00:00
Elias Naur 8e6568d3d6 Fixed compile problems 2004-04-04 08:36:55 +00:00
Elias Naur 42741ea819 Fixed typo 2004-04-04 08:10:48 +00:00
Elias Naur b0a9be7721 Fixed a possible buffer overflow bug in Mouse 2004-04-04 07:37:22 +00:00
Caspian Rychlik-Prince 9fd5799a55 Added clamping to window bounds 2004-04-03 23:14:19 +00:00
Caspian Rychlik-Prince 37262e6727 New window sizing & undecorated code 2004-04-03 23:01:39 +00:00
Caspian Rychlik-Prince 4a513f9329 Superfluous import 2004-04-03 21:08:23 +00:00
Caspian Rychlik-Prince 7c4412fcf3 Added four boolean properties to alter default behaviour in non-standard apps 2004-04-03 21:05:57 +00:00
Brian Matzon 70e36d8058 center mouse as cursor is 2004-04-03 18:18:25 +00:00
Ioannis Tsakpinis 7427ba13f6 Bugs fixed 2004-03-31 21:03:20 +00:00
Ioannis Tsakpinis efd6d8bda6 Fixed bugs 2004-03-31 17:43:46 +00:00
Ioannis Tsakpinis 79e83e4533 Added shader tests 2004-03-30 23:25:17 +00:00
Ioannis Tsakpinis 8fe46e0223 Restored hierarchies and completed EXT_pixel_buffer_object 2004-03-30 17:13:35 +00:00
Elias Naur 3382ee14f6 Add error message to the buffer overflow exception 2004-03-29 19:09:10 +00:00
Ioannis Tsakpinis 0e70f051bd New extensions and static import modifications 2004-03-29 16:55:27 +00:00
Elias Naur 17cef91b6a The client attrib stack tracked by VBOTracter is now at least 1 2004-03-29 11:28:36 +00:00
Elias Naur e5e492a285 added missing software flag checks in linux 2004-03-29 11:26:26 +00:00
Elias Naur 27633adfcb Fixed newlines 2004-03-29 07:53:36 +00:00
Elias Naur 351b8165ef Fixed naming 2004-03-29 07:32:37 +00:00
Ioannis Tsakpinis 5fb7f5e0e2 Fixed vsync bug 2004-03-28 20:29:52 +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 021e03eea5 Implemented version check to check for incompatible native libraries 2004-03-27 14:09:55 +00:00
Elias Naur b98677fb47 All classes use Sys.initialize now 2004-03-27 13:48:58 +00:00
Elias Naur c093f3ace1 Replaced asserts with proper runtime exceptions 2004-03-27 11:55:07 +00:00
Brian Matzon afb8491cfa fixed tests according to new way
cleaned up imports
2004-03-26 21:57:57 +00:00
Elias Naur 8a2d246060 Saved input events for win32 2004-03-26 21:49:10 +00:00
Elias Naur 0a576f8e33 Save unread buffered input events between read()s 2004-03-26 21:11:20 +00:00
Elias Naur f996e36d6c set native cursor to null at Mouse.destroy() 2004-03-26 16:18:27 +00:00
Brian Matzon 44cbb3ca02 removed Window.paint() references 2004-03-26 15:03:07 +00:00
Caspian Rychlik-Prince 3df3d2d401 Simplification work 2004-03-26 11:26:04 +00:00
Caspian Rychlik-Prince fca57cefd5 Simplification work 2004-03-26 11:09:39 +00:00
Caspian Rychlik-Prince 1c98b2e5f6 *** empty log message *** 2004-03-26 11:01:34 +00:00
Brian Matzon 2d16504529 cleaned up 2004-03-25 22:44:31 +00:00
Brian Matzon 177a0bfe84 fixed minimized || !focus bug 2004-03-25 22:38:04 +00:00
Brian Matzon 31dd0f8b57 added nMakeCurrent 2004-03-23 21:23:58 +00:00
Elias Naur b930b9d166 Fixed warning in vc++ 6 2004-03-23 10:19:20 +00:00
Elias Naur af6c61c241 Use the actual buffer size in nPoll 2004-03-23 07:47:39 +00:00
Elias Naur 25a663b691 Fixed glu project bug 2004-03-22 10:02:50 +00:00
Brian Matzon ca9160e381 Arise phoenix! 2004-03-22 06:30:39 +00:00
Elias Naur 5672a9f553 Removed unneeded oal headers again 2004-03-22 06:04:03 +00:00
Brian Matzon bb51e3dc23 Cursor animation support regardless of platform features 2004-03-21 21:54:57 +00:00
Brian Matzon c219f3f7a2 missing oal headers 2004-03-21 21:53:03 +00:00
Erik Duijs 9941e8f8bf replaced buffers with arrays 2004-03-21 15:51:06 +00:00
Elias Naur e352ef0e84 Folded GLUConstants into GLU 2004-03-21 08:52:46 +00:00
Elias Naur 09e51d6bed Added gluErrorString 2004-03-21 08:13:07 +00:00
Ioannis Tsakpinis eeb01b8da5 Fixed missing/erroneous extension queries. 2004-03-18 22:00:09 +00:00
Ioannis Tsakpinis a31362a30a Fixed typo 2004-03-15 20:07:14 +00:00
Ioannis Tsakpinis 1a66a0c515 no message 2004-03-15 16:31:09 +00:00
Elias Naur 536bab5a52 org.lwjgl.opengl.Window.allowSoftwareOpenGL flag support for linux 2004-03-12 07:12:34 +00:00
Brian Matzon 3b875b1781 support for 'org.lwjgl.opengl.Window.allowSoftwareOpenGL'
added utility getBooleanProperty method
2004-03-11 21:30:48 +00:00
Elias Naur 22ef574871 *** empty log message *** 2004-03-11 19:50:42 +00:00
Elias Naur 9da5a48fa9 Split GLX from extgl into separate platform specific extgl_glx 2004-03-11 12:38:13 +00:00
Brian Matzon dbb0ac6e98 removed not needed NPE check 2004-03-10 20:54:37 +00:00
Brian Matzon 015ce9e37d don't forget 98+! 2004-03-10 16:52:31 +00:00
Brian Matzon 4746f40991 optimized mode detection 2004-03-10 16:47:04 +00:00
Elias Naur 062057d3d9 Fixed win32 building 2004-03-10 08:42:40 +00:00
Elias Naur f5bf5b590b Removed duplicate exception 2004-03-09 12:20:21 +00:00
Elias Naur 9f996c858e Cleaned up extgl.cpp and extgl.h 2004-03-09 11:09:23 +00:00
Elias Naur 21cdb1f469 Converted openal to dynamic java native methods 2004-03-09 11:03:10 +00:00
Elias Naur 7141b99fe4 Don't let the build script do a make distclean 2004-03-09 09:36:53 +00:00
Elias Naur df3689651f Generalized function pointer initialization 2004-03-09 09:25:10 +00:00
Elias Naur 78e579f6be use vorbis libs from local directory in linux 2004-03-08 15:21:10 +00:00
Elias Naur 497b9735f5 Removed GL_CHECK_ERROR 2004-03-07 16:01:45 +00:00
Elias Naur 5dc7761920 Fixed win32 compile 2004-03-07 15:49:00 +00:00
Elias Naur ec1e7e5077 Fixed win32 compile 2004-03-07 15:41:10 +00:00
Brian Matzon 27f67d1ffa PLATFORM now specifiable from properties
AWTAdapter renamed to SwingAdapter
Adapter renamed to PlatformAdapter
2004-03-07 15:20:28 +00:00
Elias Naur 39140f1072 Replaced CHECK_EXISTS with one time check at symbol load time 2004-03-07 15:18:47 +00:00
Elias Naur de2edcf84f Fixed up macosx 2004-03-05 22:57:51 +00:00
Brian Matzon 4d5f244f23 osx fixes - needs verification 2004-03-05 22:20:10 +00:00
Brian Matzon 55544a36f3 doh, clamping to width instead of height 2004-03-05 06:23:54 +00:00
Ioannis Tsakpinis 10b03d418f optimizations 2004-03-04 00:36:39 +00:00
Caspian Rychlik-Prince 7da8d7d01d Fixed compilation error (untested) 2004-03-03 10:06:18 +00:00
Ioannis Tsakpinis d49ce2bfc0 render-to-texture support 2004-03-02 01:59:32 +00:00
Caspian Rychlik-Prince efc2ce40f0 Fixed comments 2004-03-01 13:07:00 +00:00
Caspian Rychlik-Prince c29d074927 New buffer utils 2004-03-01 13:06:13 +00:00
Ioannis Tsakpinis e136ebe9ed no message 2004-03-01 00:58:53 +00:00
Ioannis Tsakpinis 6c21913ef8 Added ARB_fragment_program_shadow 2004-03-01 00:53:58 +00:00
Ioannis Tsakpinis 7dc7337396 Made gluProject to use one result FloatBuffer, javadoc corrections 2004-02-29 23:42:51 +00:00
Ioannis Tsakpinis e1e6ea2093 Removed VertexWeight 2004-02-29 23:27:13 +00:00
Ioannis Tsakpinis 2d586a490b Removed VertexWeight 2004-02-29 23:19:55 +00:00
Elias Naur 4faac55de3 Moved init of glXGetProcAddress to extgl_Open 2004-02-29 08:24:56 +00:00
Caspian Rychlik-Prince 02d8edf1e2 Fixed JOGL context handling problem 2004-02-28 16:59:30 +00:00
Elias Naur 912ffcfaea alert->nAlert in linux 2004-02-27 09:54:37 +00:00
Elias Naur 1f7e1553fc Tried to fix g++ compiler errors in ARB_shader_objects.cpp 2004-02-27 08:29:42 +00:00
Brian Matzon 158f55b921 fresh headers 2004-02-26 21:54:05 +00:00
Brian Matzon 3fe2d6cb69 OpenAL / EAX Refactor 2004-02-26 21:51:58 +00:00
Brian Matzon 2e7df4d4ce fixed import 2004-02-26 21:47:58 +00:00
Brian Matzon e05e891e99 *puff* 2004-02-26 21:39:27 +00:00
Elias Naur 0cc4f710a8 Fixed up linux for JOGL integration work 2004-02-25 18:09:10 +00:00
Elias Naur 52a709efd6 Small linux fix 2004-02-25 16:44:45 +00:00
Caspian Rychlik-Prince 9592f68c8e New context stuff - complete for win32, incomplete for linux / mac 2004-02-24 14:31:39 +00:00
Caspian Rychlik-Prince c50ded0d22 New context management code (incomplete) 2004-02-23 23:51:55 +00:00
Caspian Rychlik-Prince 6a58bc26e6 New context management code (incomplete) 2004-02-23 23:42:58 +00:00
Caspian Rychlik-Prince 5a8267a1e2 temporary work - don't use this yet 2004-02-23 16:30:48 +00:00
Ioannis Tsakpinis f49def260e EXT_texture_rectangle support 2004-02-19 18:23:21 +00:00
Caspian Rychlik-Prince 4b1f4cc7d9 Made all classes final 2004-02-18 23:54:46 +00:00
Caspian Rychlik-Prince e2f13953d2 Buffer checking code 2004-02-18 22:31:00 +00:00
Elias Naur ecc62164e8 *** empty log message *** 2004-02-18 19:02:49 +00:00
Caspian Rychlik-Prince 5356e13feb New Context stuff 2004-02-18 17:48:26 +00:00
Elias Naur b32e2a17f2 Split ARB_imaging into separate extension 2004-02-17 22:05:36 +00:00
Elias Naur 98a76ce181 Split ARB_imaging into separate extension 2004-02-17 22:03:18 +00:00
Elias Naur 136168f917 Added missing GL14 functions 2004-02-17 21:36:17 +00:00
Brian Matzon 9b929c0cf3 make isFocused & isMinimized work as expected
cleaned up field usage
2004-02-17 16:57:23 +00:00
Elias Naur 547e50ed2d Fixed VBO checks and disabled BufferChecks (for now) 2004-02-16 03:35:45 +00:00
Ioannis Tsakpinis 4658cc1c77 Syntax corrections 2004-02-15 21:46:58 +00:00
Ioannis Tsakpinis 28ef4886ce OpenGL15 support 2004-02-15 21:45:35 +00:00
Ioannis Tsakpinis 4c16b9a653 Fixed javadoc error 2004-02-15 21:45:03 +00:00
Caspian Rychlik-Prince 061e1a76d1 Buffer checking code 2004-02-15 19:41:51 +00:00
Elias Naur fd56dd232a Added WGL_ARB_multisample support 2004-02-15 19:24:03 +00:00
Elias Naur 5c3e17c8a3 Added GLX_ARB_multisample support to Pbuffers 2004-02-15 15:46:10 +00:00
Elias Naur 3122d0b1ba Fixed tests 2004-02-15 15:34:57 +00:00
Elias Naur e3a4f5f7f7 Added GLX_ARB_multisample support 2004-02-15 15:27:02 +00:00
Ioannis Tsakpinis f3e853d70b OpenGL1.5 support 2004-02-15 15:21:24 +00:00
Brian Matzon a2aedd996b updated javadoc 2004-02-12 07:10:06 +00:00
Brian Matzon bbf0f46226 updated javadoc 2004-02-12 07:00:16 +00:00
Elias Naur ceca66cd6d Added null check in linux setDisplayMode 2004-02-11 11:25:19 +00:00
Elias Naur 883149878b Added aldacron's ghost window fix, a ShowWindow(hwnd, SW_HIDE) before destroying the window 2004-02-10 08:31:38 +00:00
Caspian Rychlik-Prince 6917a1e1de The BIG LWJGL REFACTORING 2004-02-09 23:37:28 +00:00
Elias Naur 84cc336d9d Makefile.am compile fix 2004-02-08 22:21:51 +00:00
Caspian Rychlik-Prince 11b2fc05e3 The BIG LWJGL REFACTORING 2004-02-08 20:41:00 +00:00
Elias Naur a694e80b40 Fixed GLU javadoc 2004-02-07 11:43:17 +00:00
Elias Naur 7288aa58ff Removed native GLU 2004-02-05 17:14:51 +00:00
Elias Naur c16c219a48 Fix some inconsistencies in GLU 2004-02-05 16:53:30 +00:00
Elias Naur 00ef847c88 Don't throw exception on unknown enum before they are all added 2004-02-05 16:38:29 +00:00
Brian Matzon 3cdd9516f3 assertion on Window.isCreated 2004-02-05 16:33:31 +00:00
Elias Naur 2124b34f59 Don't set create before the window is really created in case an exception is thrown 2004-02-05 16:27:22 +00:00
Brian Matzon 9adc719a08 getCharacter -> getEventCharacter 2004-02-05 16:23:04 +00:00
Brian Matzon fe6db13931 formatting issues 2004-02-04 22:14:39 +00:00
Brian Matzon f8cf4b6cb1 license 2004-02-04 22:06:18 +00:00
Brian Matzon 1458d51dcd bugger off warnings 2004-02-04 22:04:27 +00:00
Brian Matzon c3b04c1f20 removed usage of native glu
using getters
2004-02-04 21:56:58 +00:00
Brian Matzon 245ef8ab03 tell user that how to exit :) 2004-02-04 21:52:50 +00:00
Brian Matzon 9670eda6d9 cleaned up 2004-02-04 21:50:00 +00:00
Brian Matzon b3e651c093 removed usage of native glu
using getters
2004-02-04 21:46:13 +00:00
Brian Matzon 924398d3c6 new test, based on MouseTest 2004-02-04 21:44:13 +00:00
Brian Matzon 9125d03f62 isDirty support 2004-02-04 21:43:24 +00:00
Brian Matzon 75572ebcf6 absolute mouse 2004-02-04 21:06:38 +00:00
Brian Matzon 029bc6117e using getters
new test
2004-02-04 20:44:58 +00:00
Brian Matzon a3d1eaf94f using getters 2004-02-04 20:44:07 +00:00
Brian Matzon fc22c03972 be gone ye old tests 2004-02-04 20:42:04 +00:00
Caspian Rychlik-Prince 2cd4fd576c New buffer bounds checking code. Incomplete. 2004-02-04 00:42:29 +00:00
Caspian Rychlik-Prince 10dd32bb95 New buffer bounds checking code. Incomplete. 2004-02-04 00:17:13 +00:00
Elias Naur 6839a17408 Added missing Window.update in Grass demo 2004-01-31 20:40:24 +00:00
Elias Naur ea80c5b67d Fixed ARBOcclusionQuery 2004-01-31 15:48:58 +00:00
Elias Naur 9830d907d2 Fixed compile errors in NVFragmentProgram 2004-01-31 15:29:57 +00:00
Ioannis Tsakpinis d600150bba Fixed LocalParameter functions 2004-01-30 23:33:41 +00:00
Elias Naur d5053e134e Fixed building of new extensions 2004-01-30 22:13:56 +00:00
Elias Naur 68c1c23049 Fixed ARBOcclusionuery and added NVFragmentProgram 2004-01-30 22:04:30 +00:00
Ioannis Tsakpinis 8419f4a8c1 Extensions split out into separate classes 2004-01-30 20:39:36 +00:00
Ioannis Tsakpinis 8c4940b0d3 Added the new extensions 2004-01-30 20:34:09 +00:00
Ioannis Tsakpinis 2b30f02fa8 Extensions split out into separate classes 2004-01-30 20:30:19 +00:00
Elias Naur 4510847487 Split extgl functions into separate cpp files. Added some extensions 2004-01-29 22:08:59 +00:00
Brian Matzon f874cd8fc3 missing include 2004-01-29 20:53:00 +00:00
Brian Matzon fa756c1619 more tests 2004-01-29 19:57:47 +00:00
Elias Naur 1dd06d2e3e Added ARB_shading_language_100 and NV_vertex_program2 2004-01-29 07:37:31 +00:00
Elias Naur 39ce15a71d Removed files that were removed before sf cvs crash 2004-01-29 07:27:14 +00:00
Brian Matzon ac9fd4f7dd using proper static access 2004-01-28 19:44:26 +00:00
Brian Matzon 470eb88ecd removed not needed import 2004-01-28 19:43:51 +00:00
Brian Matzon 7d8c095e3a no longer needed files; cleanup after SF fuckup 2004-01-28 19:42:53 +00:00
Brian Matzon 958a517011 no longer needed files; cleanup after SF fuckup 2004-01-28 19:37:06 +00:00
Elias Naur d756657a48 Changed GetDeviceCaps(dc, COLORRES) to use BITSPIXEL instead 2004-01-26 19:57:18 +00:00
Elias Naur 3c709fa130 Added missing build files for extensions 2004-01-26 17:14:10 +00:00
Elias Naur b21a84ff7c Added glTexParameter[f|i]v to GL11.java 2004-01-26 17:12:22 +00:00
Erik Duijs ea2f9a3910 Added gluProject & gluUnproject (not tested) 2004-01-21 22:43:54 +00:00
Erik Duijs 4732089913 Now it's at least implemented (but not tested). 2004-01-21 17:27:49 +00:00
Erik Duijs fce7fea613 Not a subclass of Util anymore. 2004-01-21 16:17:15 +00:00
Elias Naur 6886a154d0 Removed Display.getHandle() and fixed GLU to use new GL naming 2004-01-21 10:06:47 +00:00
Erik Duijs e85643047b Initial check in 2004-01-20 14:24:36 +00:00
Elias Naur 6deb142378 Renamed CoreGL* to GL* and merged CoreGL*Constants 2004-01-20 11:19:13 +00:00
Elias Naur 038108fb76 *** empty log message *** 2004-01-20 10:11:02 +00:00
Elias Naur cc98822c4c Fix missing glVertexStream1dvATI 2004-01-20 09:06:00 +00:00
Elias Naur 583254e4db Extensions split out into separate classes 2004-01-20 08:37:17 +00:00
Brian Matzon 8bcedbffe0 removed \n 2004-01-12 17:24:47 +00:00
Brian Matzon 6f44f03381 make controller work again! 2004-01-12 17:21:56 +00:00
Brian Matzon ea4fed18c4 assert that Window has been created 2004-01-12 17:15:41 +00:00
Brian Matzon 9dd52c6559 assert that Direct Input has been created 2004-01-12 16:28:51 +00:00