Commit Graph

974 Commits

Author SHA1 Message Date
Caspian Rychlik-Prince 2d46f5580a Internal tweaks to allow certain display mode changes 2005-05-04 20:41:24 +00:00
Caspian Rychlik-Prince 4747c4878b Clean state after destroy 2005-05-04 20:38:29 +00:00
Elias Naur 1c49b2f969 Mac OS X: Only use SetSystemUIMode workaround on 10.3 and lower 2005-05-03 09:08:12 +00:00
Elias Naur 4d5957a22a Corrected AWTGLCanvas documentation 2005-04-30 15:37:42 +00:00
Elias Naur 019a1418c6 Mac OS X: Added a workaround for the 'white screen' problem 2005-04-28 12:55:23 +00:00
Elias Naur 2cd1e740ee Removed cached width and height from Mouse 2005-04-28 11:57:38 +00:00
Elias Naur 8ae988494b Remove unused code 2005-04-28 10:52:03 +00:00
Elias Naur a32da7e226 Fon't reset the cursor position in resetMouse() 2005-04-28 10:36:51 +00:00
Elias Naur 038d929180 Allow setCursorPosition when mouse is grabbed 2005-04-28 10:31:32 +00:00
Elias Naur 0b9d221f9c Fix cursor jumping after Mouse.setGrabbed() 2005-04-28 09:57:45 +00:00
Elias Naur c8d5fe296b Moved AWTSurfaceLock retry-loop to java to avoid non-standard sleep functions 2005-04-27 20:30:14 +00:00
Elias Naur e492cd240b Linux: try to work around crash on opengl library unload 2005-04-25 07:47:28 +00:00
Elias Naur a1e593cee0 Linux: Fixed crash 2005-04-25 07:26:07 +00:00
Elias Naur 096fca927d Mac OS X: Fix potential NPE 2005-04-18 06:47:41 +00:00
Elias Naur 5fe3157227 *** empty log message *** 2005-04-12 11:56:59 +00:00
Elias Naur 61ddd625df Added Mouse.setCursorPosition(x, y) 2005-04-12 11:45:06 +00:00
Elias Naur f3d3ce7ce5 Moved ALC error check to java. Fix linux type cast warnings 2005-04-12 10:55:23 +00:00
Elias Naur f5cf0ef2a4 Converted ALC pointers from int to long 2005-04-12 10:30:05 +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
Caspian Rychlik-Prince 24c3017d68 Replaced sync() with a method that works, based on sync2() and Thread.sleep(1) 2005-04-09 16:45:14 +00:00
Elias Naur fecbafc097 Don't emit initNativeStub() when generating context-specific OpenGL java classes 2005-04-04 11:19:18 +00:00
Elias Naur d53a793a27 Linux: Fix crash on exit on NVIDIA 2005-03-31 09:32:04 +00:00
Elias Naur 1619279ed1 Fix linux openal library name 2005-03-30 08:32:15 +00:00
Brian Matzon 198a7f5516 updated text to print proper org.lwjgl.util.Debug 2005-03-29 20:47:25 +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 c9fc024fa4 Linux: Moved display connection reference count to java. Linux: Load OpenGL library before opening display to work around a crash in NVIDIA drivers. 2005-03-29 11:31:22 +00:00
Brian Matzon 3dc9e4e4cf first stab at one-shot devil initialization on mac 2005-03-28 13:08:48 +00:00
Brian Matzon 97f919869e reworked detection of native paths to shared implementation in new class LWJGLUtil 2005-03-28 12:44:33 +00:00
Brian Matzon daa07a6fc0 added missing v methods 2005-03-28 10:07:30 +00:00
Brian Matzon 369f13ab4d minor cleanup 2005-03-27 20:12:47 +00:00
Brian Matzon 2e906f07bf minor cleanup 2005-03-27 19:48:47 +00:00
Brian Matzon c706319f08 minor cleanup 2005-03-27 19:36:09 +00:00
Brian Matzon 38dc39c8dc reworked methods to use buffer position
removed not used code
2005-03-27 19:34:44 +00:00
Brian Matzon ef3c0f81e0 fixed lib names 2005-03-25 13:00:06 +00:00
Brian Matzon ff21520179 added ilutGet<type>v 2005-03-25 01:42:04 +00:00
Brian Matzon 831fd20b18 cleanup 2005-03-25 01:40:42 +00:00
Brian Matzon 822013ef33 small cleanup 2005-03-25 01:15:26 +00:00
Brian Matzon ed3dacf6a3 dynamic loading of devil 2005-03-25 01:08:18 +00:00
Elias Naur c3d6665585 Minor fix(2) 2005-03-23 10:06:17 +00:00
Elias Naur 78c2900cd9 Minor fix 2005-03-23 10:05:05 +00:00
Elias Naur cf978fcf1a Added SHIFT-F in WindowCreationTest to do a complete fullscreen toggle 2005-03-23 09:56:22 +00:00
Brian Matzon ee668cf9de Work In Progress - demobox 2005-03-23 06:44:02 +00:00
Brian Matzon d7c9d3c562 fixed license 2005-03-22 22:02:50 +00:00
Elias Naur a5af4dfeba Added missing file 2005-03-22 12:41:33 +00:00
Brian Matzon c3733213c6 updated WindowCreationTest to allow more dynamic testing 2005-03-21 21:28:16 +00:00
Elias Naur 87bf14c698 Implemented strong references in glVertexPointer and friends 2005-03-21 08:27:45 +00:00
Brian Matzon 665839e202 updated version string to 96 2005-03-16 21:18:41 +00:00
Elias Naur e6f4e08365 Sync generated source files 2005-03-16 11:47:24 +00:00
Mark Bernard f7e73b3ea7 DevIL dynamic lib loading. Added some Mac and Linux code. 2005-03-15 03:53:43 +00:00
Caspian Rychlik-Prince 76cb2ba735 Removed that ugly calibration code! Now using a new kind of hires timer instead. 2005-03-13 20:12:50 +00:00
Ioannis Tsakpinis 2e2396d1f0 Fixed GetShader & GetProgram 2005-03-11 16:19:02 +00:00
Elias Naur 7986b0abef OpenAL: Don't use System.mapLibraryName 2005-03-09 13:28:16 +00:00
Elias Naur 7251a38930 OpenAL: Moved more library loading from native to java 2005-03-09 13:06:17 +00:00
Elias Naur ed325d0c95 Moved Win32 specific code to win32 specific class(!) 2005-03-09 08:37:06 +00:00
Caspian Rychlik-Prince 7d7ec34082 Fixed up bugs and problems in new timer calibration code. 2005-03-08 23:13:50 +00:00
Brian Matzon 94cb99de64 fixed loading of awt through use of loadLibrary on windows 2005-03-08 20:44:41 +00:00
Caspian Rychlik-Prince 43a4117e42 New auto-calibrating system hires timer. 2005-03-08 14:46:46 +00:00
Brian Matzon 4946bf9b60 cleanup 2005-03-07 16:17:25 +00:00
Brian Matzon 20fbdd18be AWT version of gears 2005-03-07 16:15:14 +00:00
Brian Matzon 336f2f6a34 moved WaveData to util 2005-03-01 16:49:52 +00:00
Brian Matzon 8bf163d7a8 moved WaveData to util 2005-02-25 20:24:11 +00:00
Elias Naur a5469e6ff3 Win32: Handle context-dependent wgl extensions 2005-02-24 13:24:08 +00:00
Elias Naur f9400843aa Mac OS X: getPbufferCapabilities no longer requires a current context 2005-02-24 11:09:16 +00:00
Elias Naur bdcb68a582 Linux: Handle different GLX capabilities on different screens 2005-02-24 10:44:34 +00:00
Elias Naur 2e03a6426b Made Context.setVSync static. Added synchronization. 2005-02-23 12:12:47 +00:00
Elias Naur 2586270d03 Removed debug 2005-02-23 11:47:47 +00:00
Elias Naur d28a2ad61c Clean up java code 2005-02-23 11:45:25 +00:00
Elias Naur f84e2ceb26 Linux: Make sure libjawt.so can be loaded 2005-02-23 11:22:14 +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 9a764b3d33 Linux: moved handle allocations to native 2005-02-22 13:59:33 +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 8bb10a1372 Linux: moved Cursor handle allocation to native side 2005-02-21 15:56:53 +00:00
Elias Naur 62e561cddf Win32 part of refactor and AWTGLCanvas 2005-02-21 14:46:47 +00:00
Caspian Rychlik-Prince 39694b9780 Moved generator to util packages 2005-02-20 19:28:34 +00:00
Elias Naur 61949cea24 *** empty log message *** 2005-02-20 12:31:42 +00:00
Elias Naur 451a5b9d92 Fixed reflection method names in LinuxCanvasImplementation.java 2005-02-20 12:24:02 +00:00
Elias Naur 8364443052 Made Linux specific code use reflection to avoid compilation errors on other platforms 2005-02-20 12:05:19 +00:00
Elias Naur 91813bfc09 Added missing file 2005-02-20 11:36:15 +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
Elias Naur 851c4d3129 AL: override default access control in AL.getPathFromClassLoader 2005-02-18 08:17:27 +00:00
Elias Naur 2d4c68d037 *** empty log message *** 2005-02-17 12:48:06 +00:00
Elias Naur 412dfc7462 Moved the current BufferObjectInstance into ContextCapabilities to make it ThreadLocal 2005-02-17 12:23:38 +00:00
Elias Naur e5a0e67f6d Clarified comment. Mac OS X: Added debug output 2005-02-17 11:57:34 +00:00
Elias Naur 31a4d7e3f5 Implemented capability caching in GLContext 2005-02-17 11:09:40 +00:00
Elias Naur 1310678934 Moved loaded_stubs from GLContext to ContextCapabilities 2005-02-17 10:27:13 +00:00
Elias Naur 94a8c16bb9 Fixed NV_vertex_array_range platform specific symbols. Fixed generics warning. 2005-02-17 09:44:06 +00:00
Elias Naur 0f97eef81b Made the generator deterministic by sorting. Should make the CVS commits smaller and make verification of generator changes easier by diff'ing previous and current output. 2005-02-16 21:46:03 +00:00
Elias Naur 19a74460af Don't reset the ThreadLocal variable itself on GLContext.useContext(null) 2005-02-16 21:28:57 +00:00
Elias Naur 5d53187baa Win32: fixed compilation 2005-02-16 20:25:23 +00:00
Elias Naur 34f4e7ae56 Implemented generator support for per-context function pointers. Fixed NV_vertex_array_range 2005-02-16 16:04:29 +00:00
Caspian Rychlik-Prince 348b057db1 Hack removed; use /delayload:jawt.dll for Win32 VC 7 build options 2005-02-16 15:21:51 +00:00
Caspian Rychlik-Prince 662631deb6 Further hackery to correct AWT dependency problem 2005-02-16 14:19:32 +00:00
Caspian Rychlik-Prince 9b52b120ff Temporary hack to load JAWT.dll in Sys class init until AWTGLCanvas is moved out into a separate .dll 2005-02-16 14:17:22 +00:00
Caspian Rychlik-Prince 5e962e54e2 Fixed AWTGLCanvas destroy crash. Fixed nv vertex array range glitch 2005-02-16 14:14:50 +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
Elias Naur fdfa82a061 Made the gl caps flags auto-generated and moved them to GLContext.getCapabilities() 2005-02-16 12:58:40 +00:00
Ioannis Tsakpinis 2ddd363cad Cleanup 2005-02-15 17:13:05 +00:00