Michael Pfaff
4f7fee2ed4
Remove a lot of synchronization
2022-08-14 13:21:03 -04:00
Michael Pfaff
325db15a1d
More progress, nearly fixed native header generation
...
BufferUtils.c and CallbackUtil.c have been modified to not include the
generated header file. This is because `javac` is choosing to ignore
those files for generation of headers for unknown reasons.
2022-08-10 11:43:59 -04:00
Ioannis Tsakpinis
f97ac09641
Removed NondirectBufferWrapper. It was only used in the Cursor constructor and in a way that could cause crashes: Passing heap buffers to both the images and delays arguments would result in both sharing the same direct memory.
2013-10-30 17:20:28 +02:00
kappaOne
0d25914029
Fix colors on OS X native cursors
2013-01-31 22:44:43 +00:00
kappaOne
4e023eec16
Implement animated cursor support on OS X
2013-01-29 22:59:40 +00:00
kappaOne
486ff0edea
Added initial work towards getting native cursors working, not
...
implemented yet
2013-01-25 00:28:26 +00:00
Ioannis Tsakpinis
a8bcb7fd25
Ported codebase to Java 1.5.
...
Misc OpenCL fixes and API improvements.
Changed fractal demo to use events/sync objects instead of cl/glFinish for synchronization. (untested)
2010-09-28 21:11:35 +00:00
Brian Matzon
bb16ec7492
updated and added license where needed
2008-04-07 18:36:09 +00:00
Brian Matzon
21b2cc0c21
cleaning imports
2007-10-20 21:31:52 +00:00
Brian Matzon
5a659ac1d9
make sure that any windows cursor image pixel is either 0xffxxxxxx or 0x00000000
2007-10-20 14:48:07 +00:00
Elias Naur
7ee398fe4e
Added support for non-direct buffers to Cursor
2007-04-23 16:47:25 +00:00
Elias Naur
56178d97fd
Make the rest of LWJGL thread safe. No attempt have been done to make the locking minimal. Instead, one global lock is shared by Display, Mouse, Keyboard and Cursor. The lock surrounds all public methods.
2007-02-12 12:18:26 +00:00
Elias Naur
d396992cc5
Fixed potential NPE from Cursor.getCapabilities()
2006-10-27 06:27:58 +00:00
Elias Naur
1616724cb5
Removed redundant import
2006-10-26 12:15:46 +00:00
Elias Naur
1f5f8687bb
Linux: Moved current_win to java
2006-10-23 20:40:48 +00:00
Elias Naur
ec9b449b78
Made Display.getImplementation package private, and made the input.* packages access it through reflection.
2006-10-08 09:05:16 +00:00
Brian Matzon
4869744cf1
changed cursor support exception to lwjglexception
2006-04-30 21:09:16 +00:00
Brian Matzon
8a3bee6b1c
applied patch to move ID tag
2006-03-23 19:32:21 +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
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
fbcd19698b
Moved Mouse.getNativeCursorCaps() to Cursor.getCapabilities()
...
Renamed Pbuffer.getPbufferCaps() to Pbuffer.getCapabilities()
2005-01-18 12:34:36 +00:00
Brian Matzon
6fd2a42ef0
import cleanup
2004-11-20 16:46:44 +00:00
Elias Naur
b5d783f685
*** empty log message ***
2004-11-11 13:54:25 +00:00
Elias Naur
5b1b513aab
Moved native cursors to DisplayImplementation
2004-11-11 13:27:59 +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
bdf5a43d5e
Converted Cursor and Pbuffer handles to ByteBuffers
2004-07-25 14:28:50 +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
Brian Matzon
4cea3e191b
header unification
2004-06-12 20:28:34 +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
Brian Matzon
b21e4a7f93
removed resetAnimation
2004-04-12 14:37:20 +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
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
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
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
bb51e3dc23
Cursor animation support regardless of platform features
2004-03-21 21:54:57 +00:00
Caspian Rychlik-Prince
11b2fc05e3
The BIG LWJGL REFACTORING
2004-02-08 20:41:00 +00:00
Elias Naur
0fa67c9680
Fixed mouse hot spot coordinate
2003-10-11 12:56:26 +00:00
Elias Naur
fc925baab4
*** empty log message ***
2003-10-08 07:49:43 +00:00
Caspian Rychlik-Prince
00616de78b
Lazy library instantiation
2003-09-16 15:39:46 +00:00
Caspian Rychlik-Prince
1e69c2ec92
Whooooops!
2003-08-17 16:38:57 +00:00
Caspian Rychlik-Prince
c94edfb609
*** empty log message ***
2003-08-17 16:31:07 +00:00
Elias Naur
0b55322fc2
Flip cursor images in a copy buffer, not the user buffer
2003-08-10 19:18:02 +00:00
Elias Naur
e352e196bd
Native cursors now have same origin as OpenGL, lower left corner
2003-08-05 20:46:03 +00:00
Elias Naur
683991fe79
Added buffer positions to Cursor
2003-08-05 20:07:32 +00:00
Elias Naur
315375dee5
Ported OpenGL to Buffers
2003-06-24 12:24:55 +00:00
Elias Naur
6e73a7a953
Doc update
2003-06-07 11:53:17 +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
586c0f4647
Fixes
2003-05-19 08:54:46 +00:00
Elias Naur
9d612fc88b
Fixes
2003-05-19 08:53:47 +00:00
Elias Naur
e886d95122
Native cursors implemented
2003-05-16 18:39:46 +00:00