Commit Graph

1161 Commits

Author SHA1 Message Date
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