Commit graph

1479 commits

Author SHA1 Message Date
Brian Matzon
fa242848af JNI_VERSION restructure 2006-11-18 22:03:02 +00:00
Brian Matzon
1e806b9188 JNI_VERSION restructure 2006-11-18 21:56:31 +00:00
Brian Matzon
88d377ca74 using __APPLE__ && __MACH__ instead of _MACOSX 2006-11-18 21:28:17 +00:00
Brian Matzon
ede7b63e46 fixed relative path issues when dlopen is being called 2006-11-18 18:39:26 +00:00
Ioannis Tsakpinis
1bb95e94f4 Removed duplicate functions (based on NVIDIA's glext.h) 2006-11-15 18:46:22 +00:00
Ioannis Tsakpinis
9d0d20f7ac Added 21 new extensions:
EXT_bindable_uniform
    EXT_draw_buffers2
    EXT_draw_instanced
    EXT_framebuffer_sRGB
    EXT_geometry_shader4
    EXT_gpu_shader4
    EXT_packed_float
    EXT_texture_array
    EXT_texture_buffer_object
    EXT_texture_compression_latc
    EXT_texture_compression_rgtc
    EXT_texture_integer
    EXT_texture_shared_exponent
    NV_depth_buffer_float
    NV_fragment_program4
    NV_framebuffer_multisample_coverage
    NV_geometry_program4
    NV_gpu_program4
    NV_parameter_buffer_object
    NV_transform_feeback
    NV_vertex_program4
2006-11-09 22:34:30 +00:00
Elias Naur
b80ba7f262 Windows: Fix compiler warning 2006-10-30 15:49:02 +00:00
Elias Naur
b2e21da777 Windows: Implemented AWTInputAdapter. 2006-10-30 15:46:42 +00:00
Elias Naur
a47e419168 Mac OS X: Moved mouse handling from MacOSXDisplay to MacOSXMouseEventQueue 2006-10-26 20:49:07 +00:00
Elias Naur
3674d843c2 Added org.lwjgl.opengl.AWTInputAdapter which enabled use of Mouse and
Keyboard with AWTGLCanvases. Programs can now avoid implementing AWT input processing and access the mouse grabbing features from both Display and AWTGLCanvas. See org.lwjgl.test.opengl.awt.AWTInputAdapterTest for an example.

Note: This commit is the linux and generic AWT imlementation and can still
change a lot while implementing windows and mac os x.
2006-10-26 20:19:40 +00:00
Elias Naur
541ac859b1 Linux: Made cursor handles longs instead of ByteBuffers 2006-10-26 12:14:37 +00:00
Elias Naur
e23825c3e5 Linux: Moved more event handling logic to java 2006-10-24 09:52:12 +00:00
Elias Naur
cb6a6ff2a2 Linux: Removed redundant include statements 2006-10-24 08:33:09 +00:00
Elias Naur
1f5f8687bb Linux: Moved current_win to java 2006-10-23 20:40:48 +00:00
Elias Naur
61e7c9e081 Linux: Moved screen from native to java 2006-10-23 20:14:45 +00:00
Elias Naur
8296ae06cb Linux: Moved the pointer warp X11 atom from native to java 2006-10-23 19:51:22 +00:00
Elias Naur
5dba786574 Linux: Moved another Display instance to java 2006-10-23 14:22:27 +00:00
Elias Naur
1a83741b89 Linux: Moved another Display instance to java 2006-10-23 14:16:40 +00:00
Elias Naur
dd76a4b0d8 Linux: Moved Display pointer from native to java 2006-10-23 13:58:33 +00:00
Elias Naur
8698cf68f3 Linux: Don't use the SUN specific getScreenFromDevice in LinuxAWTCanvasPeerInfo. This avoids garbage creation per frame and avoids one bit of SUN JRE dependency. 2006-10-20 11:51:34 +00:00
Elias Naur
9f7da6d483 Windows: Restore the old ToAscii code used on win9x platforms in an attempt to fix broken keyboard input on win98se machines. 2006-10-11 20:26:35 +00:00
Elias Naur
dedfaea500 Windows: Don't use a dummy window (HDC) when finding a pixel format but use the actual window directly. This will avoid cases where the pixel format index for the dummy window's HDC wasn't valid for the actual window's HDC. It also avoid unnecessary complexity.
Fix FullScreenWindowedTest to use the Display's current BPP to avoid 24/16 bpp weirdness
2006-10-11 13:48:48 +00:00
Ioannis Tsakpinis
1b1b9c5416 Added missing CURRENT_RASTER_SECONDARY_COLOR enum value (GL 2.1)
Added EXT_gpu_program_parameters extension
2006-10-11 11:21:40 +00:00
Elias Naur
55f67e68cb Linux: Fix crash when LinuxCanvasImplementation.getScreenFromDevice fails 2006-09-28 21:53:18 +00:00
Elias Naur
c91f78e1f6 Windows: Don't ignore errors from CoInitialize 2006-09-21 13:49:49 +00:00
Elias Naur
87523ce63a Windows: Got rid of dummy window in WindowsDisplayPeerInfo 2006-09-19 14:17:13 +00:00
Elias Naur
26f2014516 Windows: Don't discard messages from other windows in the message handler 2006-09-19 11:06:02 +00:00
Brian Matzon
93aa253732 fixed params (int -> float) 2006-08-31 16:40:53 +00:00
Ioannis Tsakpinis
84fdaeaff3 Added EXT_blend_color & EXT_blend_minmax extensions. 2006-08-16 10:42:43 +00:00
Elias Naur
dde118016c Update to beta3 2006-08-10 08:45:10 +00:00
Ioannis Tsakpinis
02e0c84e0e 2006-08-03 09:51:45 +00:00
Ioannis Tsakpinis
84600dffdb Added SGIS_generate_mipmap & SGIS_texture_lod extensions 2006-07-25 15:31:16 +00:00
Elias Naur
375a4490cf Windows: Fix warning 2006-07-15 21:37:50 +00:00
Elias Naur
bd474ceaa9 Windows: Replace _WIN32 macro with _MSC_VER since the conditionals are really for the MSVC compiler, not for the windows platform in general. Code cleanup. 2006-07-15 21:01:11 +00:00
Elias Naur
050638760e Windows: Don't use a non-portable anonymous struct in contex.h 2006-07-15 20:25:56 +00:00
Elias Naur
5e012ce2e1 Windows: Cleanup 2006-07-15 19:55:42 +00:00
Elias Naur
d9afe6b784 Windows: Moved NativeSysImplementation.java to WindowsSysImplementation.java and moved some native code to java. 2006-07-15 19:45:36 +00:00
Elias Naur
008c59a301 Windows: Move more of Display.getVersion to java 2006-07-15 19:25:13 +00:00
Elias Naur
01f382fa3b Windows: Added NULL check to malloc in display.c 2006-07-15 18:45:20 +00:00
Elias Naur
6b68892cc1 Windows: Forgot display.c in last commit 2006-07-15 18:43:04 +00:00
Elias Naur
52396b5a5c Windows: Don't release clipboard data before use 2006-07-15 18:31:09 +00:00
Elias Naur
0c2f7092e2 Windows: Removed unused variable from display.c 2006-07-15 17:44:53 +00:00
Elias Naur
3b03560ee7 Split the external LWJGL version from the internal version of the native JNI library. The internal JNI version is now an integer. This has multiple advantages over the old way:
1. The JNI_VERSION field is now included automatically in the generated JNI headers, relieving us of the burden of updating the version number in both java and native code.
2. We can update the JNI version with every non-compatible change of the JNI library API, not just once per release, giving us extra safety when users download and build LWJGL from SVN.
3. We can now avoid rebuilding natives if a particular release only
contains java changes. Currently, This is mostly a problem when Brian bumps the
external version prior a release and I forget to re-build the natives ;)
2006-07-14 16:14:52 +00:00
Elias Naur
f15c904fce Windows: Fixed setCursorPosition. 2006-07-14 10:38:31 +00:00
Elias Naur
bb8dcf3996 Windows: Rename Win32* files to Windows* 2006-07-12 18:32:58 +00:00
Elias Naur
7815607e09 Windows: move natives from src/native/win32 to src/native/windows because the source really is bitness neutral, not 32 bit specific. 2006-07-12 18:09:11 +00:00
Elias Naur
624f93ba34 Windows: Use the standard _WIN32 macro instead of the LWJGL defined WIN32. 2006-07-12 16:55:05 +00:00
Elias Naur
c5b91e0f40 Windows: Pass correct class reference to CallStaticVoidMethod JNI 2006-07-10 15:46:21 +00:00
Elias Naur
3aa23f0c28 Windows: Fixed fetches of a boolean field with GetIntField JNI 2006-07-10 15:32:14 +00:00
Elias Naur
6be8bc806e Linux: Fixed fetch of a boolean field with GetIntField JNI 2006-07-10 15:29:29 +00:00