Commit Graph

491 Commits

Author SHA1 Message Date
Elias Naur 021e03eea5 Implemented version check to check for incompatible native libraries 2004-03-27 14:09:55 +00:00
Elias Naur 0a576f8e33 Save unread buffered input events between read()s 2004-03-26 21:11:20 +00:00
Caspian Rychlik-Prince fca57cefd5 Simplification work 2004-03-26 11:09:39 +00:00
Brian Matzon bb51e3dc23 Cursor animation support regardless of platform features 2004-03-21 21:54:57 +00:00
Elias Naur 536bab5a52 org.lwjgl.opengl.Window.allowSoftwareOpenGL flag support for linux 2004-03-12 07:12:34 +00:00
Elias Naur 9da5a48fa9 Split GLX from extgl into separate platform specific extgl_glx 2004-03-11 12:38:13 +00:00
Elias Naur f5bf5b590b Removed duplicate exception 2004-03-09 12:20:21 +00:00
Elias Naur 39140f1072 Replaced CHECK_EXISTS with one time check at symbol load time 2004-03-07 15:18:47 +00:00
Ioannis Tsakpinis d49ce2bfc0 render-to-texture support 2004-03-02 01:59:32 +00:00
Elias Naur 912ffcfaea alert->nAlert in linux 2004-02-27 09:54:37 +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 5356e13feb New Context stuff 2004-02-18 17:48:26 +00:00
Elias Naur 5c3e17c8a3 Added GLX_ARB_multisample support to Pbuffers 2004-02-15 15:46:10 +00:00
Elias Naur e3a4f5f7f7 Added GLX_ARB_multisample support 2004-02-15 15:27:02 +00:00
Elias Naur ceca66cd6d Added null check in linux setDisplayMode 2004-02-11 11:25:19 +00:00
Elias Naur b5194bbb04 Implemented linux swap control through GLX_SGI_swap_control 2004-01-03 08:09:17 +00:00
Elias Naur 790b01a01b Reduced Sys.debug from bool -> int 2003-12-20 22:03:25 +00:00
Elias Naur fb8fd0a2d7 Implemented proper debug levels 2003-12-20 14:01:31 +00:00
Elias Naur 472b5337d4 Replaced debug libraries with runtime debug condition 2003-12-15 11:49:17 +00:00
Elias Naur a4b1a7fd5a Newline fix 2003-11-22 19:20:05 +00:00
Elias Naur f4c5e78bfa Removed a XSetInputFocus call from linux Window.cpp 2003-11-02 14:41:20 +00:00
Caspian Rychlik-Prince a4facc93f0 *** empty log message *** 2003-10-28 19:26:51 +00:00
Caspian Rychlik-Prince 754f917730 New Sys.openURL command added 2003-10-28 16:23:17 +00:00
Elias Naur 7d5992c02e *** empty log message *** 2003-10-24 05:51:50 +00:00
Elias Naur b00c24ef76 Fixed ARBFragmentProgram and ARB_vbo 2003-10-23 07:18:07 +00:00
Elias Naur 8cabcd523f *** empty log message *** 2003-10-22 18:34:42 +00:00
Elias Naur 0f1d70a6ec *** empty log message *** 2003-10-22 11:45:51 +00:00
Caspian Rychlik-Prince 2714842095 New vsync code 2003-10-20 14:17:47 +00:00
Elias Naur b6390ef976 Fixed linux mouse creation 2003-10-20 12:49:50 +00:00
Elias Naur b6a13f736b Fixed mouse creation 2003-10-20 12:40:51 +00:00
Elias Naur a6c56bd791 *** empty log message *** 2003-10-14 14:29:23 +00:00
Elias Naur 963605989f Implemented mouse button buffering 2003-10-11 16:29:40 +00:00
Elias Naur 2f0089b961 *** empty log message *** 2003-10-11 13:23:55 +00:00
Elias Naur 0fa67c9680 Fixed mouse hot spot coordinate 2003-10-11 12:56:26 +00:00
Elias Naur 43b2d67a71 Moved native cursor origin to middle of the window 2003-10-11 11:03:06 +00:00
Elias Naur fc925baab4 *** empty log message *** 2003-10-08 07:49:43 +00:00
Elias Naur aa9e183c7f *** empty log message *** 2003-10-07 13:10:17 +00:00
Elias Naur 0e799f0972 *** empty log message *** 2003-10-07 10:04:38 +00:00
Elias Naur 09cdf84141 *** empty log message *** 2003-10-06 08:13:18 +00:00
Elias Naur 6d8991f7dd *** empty log message *** 2003-09-30 11:14:06 +00:00
Elias Naur 9d52aaba56 Dummy getAdapter()/getVersion() for linux 2003-09-28 07:02:23 +00:00
Elias Naur 42ad1026af Don't ignore lying drivers 2003-09-26 13:59:50 +00:00
Elias Naur a8cd48965f *** empty log message *** 2003-09-08 14:51:01 +00:00
Elias Naur 8b947a575f *** empty log message *** 2003-09-07 16:11:15 +00:00
Elias Naur 2787a66207 *** empty log message *** 2003-09-03 15:42:37 +00:00
Elias Naur 8e7572192d *** empty log message *** 2003-09-02 14:06:34 +00:00
Elias Naur ba3acc79b9 Committed spelling fixes 2003-08-29 08:00:44 +00:00
Elias Naur 7d35ee2744 *** empty log message *** 2003-08-23 09:47:58 +00:00
Elias Naur da4eb5d83e *** empty log message *** 2003-08-17 18:40:58 +00:00
Elias Naur a8826b4b12 update->updateState 2003-08-17 18:17:20 +00:00
Brian Matzon 4f39c59b45 renamed updateStatus to update 2003-08-17 14:10:53 +00:00
Brian Matzon 7e283db15c mod: tick is now called updateState - bitch all you will :p 2003-08-17 09:27:32 +00:00
Elias Naur f625bea9f0 *** empty log message *** 2003-08-11 17:33:41 +00:00
Elias Naur 177595e4ca *** empty log message *** 2003-08-11 16:53:16 +00:00
Elias Naur c8f38ac9b7 Flipped cursor coordinates to match OpenGL 2003-08-11 16:35:45 +00:00
Elias Naur 683991fe79 Added buffer positions to Cursor 2003-08-05 20:07:32 +00:00
Elias Naur a62ebc2c3b Fixed a negative focus feedback loop 2003-08-05 14:21:59 +00:00
Elias Naur 35a1538f82 Implemented safe VBO indices (phew) 2003-08-04 23:00:49 +00:00
Elias Naur e6cca3fda8 *** empty log message *** 2003-08-04 10:11:53 +00:00
Elias Naur d359a6b7e1 *** empty log message *** 2003-08-04 10:09:40 +00:00
Elias Naur f7ce5c39ed Improved createIndexBuffer 2003-08-03 16:19:09 +00:00
Elias Naur 3f18bd15c4 Removed Sys.NULL 2003-08-03 11:02:57 +00:00
Elias Naur 907d5f083d Converted various GL sizes to buffer.remaining() 2003-08-02 15:21:55 +00:00
Elias Naur ee08be5b75 Converted GL native 2003-08-02 12:53:25 +00:00
Elias Naur baa39830c0 Renamed Sys.createARBVBOBuffer to Sys.createIndexBuffer 2003-07-29 11:09:44 +00:00
Elias Naur 8b9931560f Moved GL capabilities to GLCaps 2003-07-28 10:09:58 +00:00
Elias Naur 579dc64f4f Fixed WGL extension bug 2003-07-26 09:39:48 +00:00
Elias Naur e4aaf66d8c Fixed some int address->Buffer bugs 2003-07-20 19:27:36 +00:00
Elias Naur d8f64cbb15 Separated BaseGL from CoreGL and GL and renamed to GLWindow 2003-07-18 19:02:49 +00:00
Elias Naur 794c802253 Added createARBVBOBuffer to enable VBO indexing with Buffers 2003-07-17 09:16:51 +00:00
Elias Naur 1526ad3a2a Added linux focus support 2003-07-16 21:10:28 +00:00
Elias Naur 63e3ef67fd Small error message fix 2003-07-15 14:02:39 +00:00
Elias Naur 315375dee5 Ported OpenGL to Buffers 2003-06-24 12:24:55 +00:00
Elias Naur 2e30eff2a5 Try to return a better minimum cursor size 2003-06-08 14:32:30 +00:00
Elias Naur 34aeff1757 Try to return a better minimum cursor size 2003-06-08 14:30:53 +00:00
Elias Naur 71f46bfce9 Fixed win9x keyboard translation 2003-06-07 13:56:06 +00:00
Elias Naur c267f6d5da Linux fixes 2003-06-01 17:20:03 +00:00
Elias Naur 18685ab806 Added USEGLX13 to BaseGL.cpp 2003-05-30 16:29:17 +00:00
Elias Naur e66f5dee8a More Display checks 2003-05-30 14:44:45 +00:00
Elias Naur 66a2676652 Extra checks in window creation 2003-05-30 06:10:33 +00:00
Elias Naur 16e1d44cdb Implemented gamma, brightness and contrast controls on win32 and linux
using a simplified gamma ramp API
2003-05-27 14:12:10 +00:00
Elias Naur 5411e23b7a Native cursor fixes 2003-05-20 14:28:30 +00:00
Elias Naur ccc115fe9d Native cursor fixes 2003-05-20 13:59:30 +00:00
Elias Naur 4c53756e7b Cursor fixes 2003-05-20 12:33:51 +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
Elias Naur a1649bab3f Min cursor size 1, not 0 2003-05-17 08:06:39 +00:00
Elias Naur e886d95122 Native cursors implemented 2003-05-16 18:39:46 +00:00
Elias Naur 038a1c540c *** empty log message *** 2003-05-02 20:58:53 +00:00
Elias Naur 86798e426f Fixed some linux input focus issues 2003-05-02 13:41:40 +00:00
Elias Naur b705ea51d0 Removed makeContexCurrent and releaseContext 2003-04-26 06:54:32 +00:00
Elias Naur c82ecd306d Fixed missing header include 2003-04-07 17:49:13 +00:00
Elias Naur 1222c594d0 *** empty log message *** 2003-04-07 17:30:41 +00:00
Elias Naur f0c94451e9 Added dummy gamma controls to linux 2003-04-07 17:04:24 +00:00
Elias Naur 3018edde4c Added Sys.NULL constant 2003-04-03 20:20:29 +00:00
Elias Naur 267b868db7 Minor linux fix 2003-03-31 10:56:41 +00:00
Elias Naur d58c8b767b I like those makeContextCurrent/releaseContext... 2003-03-30 19:40:35 +00:00
Elias Naur bc33d3ff2b Linux/win32 changes for 0.6 2003-03-30 19:26:39 +00:00
Elias Naur bb2d3d472d Various linux fixes(alot) 2003-03-27 18:28:05 +00:00
Elias Naur 8343bfa44c Various linux fixes(alot) 2003-03-27 18:27:36 +00:00
Elias Naur 0955acdec1 Linux various (5) 2003-03-27 17:22:26 +00:00
Elias Naur 8b4a868ddd Various linux fixes(4) 2003-03-27 15:42:25 +00:00
Elias Naur 52445cf214 Various linux fixes(3) 2003-03-27 15:38:47 +00:00
Elias Naur d9828de0c4 Various linux fixes 2003-03-27 15:16:35 +00:00
Elias Naur acfd9e4cea Updated linux Mouse 2003-03-24 18:10:04 +00:00
Elias Naur a7ec7cda5b Various linux fixes 2003-03-21 23:28:00 +00:00
Elias Naur bba7bf9462 Added getPlatform() to linux 2003-03-21 17:37:58 +00:00
Elias Naur 0d620e9125 Reverted display mode selection 2003-03-19 12:41:28 +00:00
Elias Naur 2077bbb1db Moved disabling of repeat rate to Display 2003-03-08 22:14:17 +00:00
Elias Naur 374334e7d3 Disable linux key repeat while Keyboard is created - match win32 behavior 2003-03-08 18:47:34 +00:00
Brian Matzon 12b7c4dd85 fix: now enumerates multiple displaydevices, if available 2003-03-03 21:49:46 +00:00
Elias Naur 451f237085 Linux mouse buttons now match those on win32 (again) 2003-02-26 18:11:32 +00:00
Elias Naur 4d67446487 Linux mouse buttons now match those on win32 2003-02-26 17:49:09 +00:00
Elias Naur 470ea4a7dc linux scroller now match win32 behaviour more precisely - scrolling reversed and scaled 120 2003-02-24 19:46:52 +00:00
Elias Naur 6196e6845b Fixed bug when a X display connection cannot be established (again) 2003-02-20 13:27:20 +00:00
Elias Naur 6113da5083 Fixed bug when a X display connection cannot be established 2003-02-20 13:20:54 +00:00
Elias Naur 55ac8dd74c Don't fail create if grab doesn't succeed on the first try 2003-02-14 11:23:01 +00:00
Elias Naur e3eeff94b0 Added preliminary alt-tab support on linux 2003-02-12 17:12:01 +00:00
Elias Naur c022100cab Added closeRequested support to linux 2003-02-09 17:01:01 +00:00
Elias Naur 36d8f34e86 linux windows can't be resized now 2003-02-09 11:06:51 +00:00
Elias Naur 15b6e08872 Updated linux files to recent mouse and display changes 2003-02-08 20:36:31 +00:00
Elias Naur f2f829483b Added isMinimized to linux 2003-02-08 19:55:07 +00:00
Elias Naur 30e1e4459d Added window title bars to linux 2003-02-06 20:40:41 +00:00
Elias Naur 1f1d932687 Added missing linux keyboard mapping 2003-02-02 22:49:16 +00:00
Elias Naur 86c4ce70dc Bug fix 2003-01-12 11:42:27 +00:00
Elias Naur a6bd8e7fa4 Fixed linux compile 2003-01-11 21:03:22 +00:00
Elias Naur e0ff212e5e Fixed embarrassing Display.destroy() bug 2002-12-28 10:41:17 +00:00
Elias Naur 04909d4f55 Added more intelligent pixel format chooser in linux 2002-12-23 11:31:32 +00:00
Elias Naur 31f8dfd08a Updated linux to new display mode behavior 2002-12-22 20:58:25 +00:00
Elias Naur 18e8950eb3 Added Sys.alert to linux 2002-12-22 20:19:50 +00:00
Elias Naur 1f3f00aed1 Moved BaseGL constructor parameters to Display 2002-12-19 16:35:35 +00:00
Elias Naur 7184576886 Fixed a mouse button state array bug 2002-12-12 19:51:20 +00:00
Elias Naur 98398e4a7a Minor fix to Display.cpp 2002-12-11 07:26:49 +00:00
Elias Naur 8202b0e14c Switched to dynamic loading of gl functions and libs 2002-12-11 07:16:31 +00:00
Elias Naur 24e25533ab Fixed a GL context creation bug 2002-12-04 15:17:49 +00:00
Elias Naur 08faa001ba Removed Makefile.elias_naur 2002-11-30 21:43:06 +00:00
Elias Naur 4641d82e43 Added the XWarpointer call again - this time centering the pointer 2002-11-30 21:25:00 +00:00
Elias Naur 9055e992e9 Reverted Luke's XWarpPointer change 2002-11-29 11:51:10 +00:00
Luke Holden 0aa1f0d701 BaseWindow: We are now grabbing the mouse. Doing this because on linux,
you need to grab and move the pointer or else you can scroll away from
your full screen program.

org_lwjgl_input_Mouse.cpp: When in full screen, the pointer should warp
to the corner of the display. This fixes a few issues.

Also added a stub for nEnableBuffer, with a fixme message. This function
does not seem to be implemented in either the linux or win32 source...
but exists in the java Mouse class. The stub keeps programs from crashing.

ltmain.sh: Fixed a bug in libtool, where it uses gcc vs c++ for linking
librarys built in c++. This fixes a missing symbol issue.

configure.in: Made a few small changes.
2002-11-29 08:29:53 +00:00
Luke Holden ebfdcb7ef9 initial autoconf/automake support =) 2002-11-28 22:40:06 +00:00
Luke Holden a98cfffb0d Renamed... prepping for autoconf =) 2002-11-28 22:35:29 +00:00
Elias Naur 77e86f580c Added pointer warping to keep pointer in center of the display 2002-11-28 21:49:11 +00:00
Elias Naur 383ceb7c25 Mouse.cpp fix 2002-11-28 09:29:40 +00:00
Elias Naur 341f75dae4 Increased poll buffer size 2002-11-26 20:07:49 +00:00
Elias Naur be5dcc1768 Added poll() logic so behavior looks like DX 2002-11-26 20:07:06 +00:00
Elias Naur 7c031a8486 Reverted the Keyboard.poll() change 2002-11-26 08:15:17 +00:00
Luke Holden c0c4e60d29 Removed the native time readout from queryTime().
I think elias_naur was trying to annoy me to death with time updates
every 0.001 seconds =)
2002-11-26 04:58:29 +00:00
Luke Holden f02005efd9 Added a fix for when GLX_ALPHA_SIZE cant be set (I think this happens
when display depth is below 24.)

There might be a better way to handle this... but this lets lwjgl work
for me. =)
2002-11-26 03:30:41 +00:00
Elias Naur 2b814af9f7 Made Keyboard.poll behave like win32 version 2002-11-25 22:10:07 +00:00
Elias Naur c106ae87c1 Dump extension info with debug library 2002-11-25 20:35:01 +00:00
Elias Naur 139e7b4cfb Added releaseContext to BaseGL.java (and native for linux) 2002-11-25 17:04:56 +00:00
Elias Naur f57fc75b7b Remapped some keys 2002-11-25 14:57:13 +00:00
Elias Naur be6e1900b6 Moved OpenAL to common 2002-11-25 13:52:24 +00:00
Elias Naur 2b07698af5 Moved AL utility files to common 2002-11-25 13:39:46 +00:00
Elias Naur 2a0cff36da Moved GLU.cpp to common 2002-11-25 13:36:36 +00:00
Elias Naur badbc634b0 Moved org_lwjgl_opengl_GL.cpp to common 2002-11-25 13:32:17 +00:00
Elias Naur 808217ed84 Moved Math functions to common 2002-11-25 13:18:25 +00:00
Elias Naur c8139a4ea2 Synced math operations with win32 2002-11-25 00:09:47 +00:00
Elias Naur a0925cca05 Added more missing native GL functions 2002-11-24 19:14:36 +00:00
Elias Naur 33fab5d9d2 Added linux support for additional GL functions 2002-11-24 14:27:14 +00:00
Elias Naur 8c446aa6ce Using linux soft realtime priority for Sys.REALTIME_PRIORITY 2002-11-22 11:35:03 +00:00
Elias Naur 5c927942b5 The Makefile now strips the release library to make it smaller 2002-11-22 09:40:18 +00:00
Elias Naur 1019ebb695 make g++ compile with -O3 2002-11-22 09:34:10 +00:00
Elias Naur cac92f22c4 Input fixes 2002-11-21 15:05:51 +00:00
Elias Naur d7e9a66338 Fixed a bug that made extensions unavailable 2002-11-21 11:00:40 +00:00
Elias Naur d77551e685 Null joystick and gamepad files added 2002-11-20 16:11:39 +00:00
Elias Naur ededb55a85 Fixed a viewport placement bug 2002-11-20 13:54:58 +00:00
Elias Naur f188a1400b Improved pointer and keyboard handling under windowed mode 2002-11-20 10:33:37 +00:00
Elias Naur b3d37c9ca2 removed alGetSource3f 2002-11-19 15:48:38 +00:00
Elias Naur fb9126a85f Corrected author tags 2002-11-19 15:22:28 +00:00
Elias Naur 2809cb24e8 linux extal.h 2002-11-19 15:17:45 +00:00
Elias Naur 762df9ca12 Updated linux Makefile 2002-11-19 14:58:34 +00:00
Elias Naur f2b0cf2e6a Added linux specific checkALerror.h 2002-11-19 14:38:00 +00:00
Elias Naur 04dcec3686 Added EAX linux files 2002-11-19 14:33:49 +00:00
Elias Naur ce668ad98b Initial OpenAL linux support 2002-11-19 14:08:21 +00:00
Elias Naur b9458afc52 Ported to C++. ported Math ops 2002-11-19 08:50:57 +00:00
Elias Naur 910f458521 Moved Game.java opengl test to java/org/lwjgl/opengl/test 2002-11-19 07:51:27 +00:00
Elias Naur f45bfa725b Updated extgl.h/c and checkGLerror.h 2002-11-19 07:42:55 +00:00
Elias Naur 8fd64c825b Added small GL extension test to Game.java 2002-11-18 20:29:48 +00:00
Elias Naur d761ef648d GL extensions fixes 2002-11-18 20:22:01 +00:00
Elias Naur c7eb254a5c Cleanup makefile 2002-11-18 20:07:00 +00:00
Elias Naur be1d7bb2a8 Added support for GL extensions 2002-11-18 20:02:17 +00:00
Elias Naur 08e6af2ed0 Added debug support 2002-11-17 17:09:40 +00:00
Elias Naur e78027d295 Cursor z movement added 2002-11-17 16:49:16 +00:00
Elias Naur 1e828e6fc5 Cursor blanking added 2002-11-17 16:14:53 +00:00
Elias Naur 43698ade7c Added Sys setPriority support 2002-11-16 20:10:42 +00:00
Elias Naur 0b4f524ff9 Added Sys timer support 2002-11-16 19:46:18 +00:00
Elias Naur fa979f0f20 Corrected revision and id tags 2002-11-15 11:10:32 +00:00
Elias Naur 833bcb293c corrected id and revisions tags 2002-11-15 11:00:19 +00:00
Elias Naur 0436c62b0a corrected revision and id 2002-11-15 10:58:57 +00:00
Elias Naur a3624b0216 Added linux native src files 2002-11-15 10:40:55 +00:00