Ioannis Tsakpinis
62b8d36002
Changed Get(Async)KeyState return type to short.
2013-01-25 15:28:17 +02:00
kappaOne
486ff0edea
Added initial work towards getting native cursors working, not
...
implemented yet
2013-01-25 00:28:26 +00:00
kappaOne
fbb490bb3a
Reenable the AWT Robot for CALayer mode
2013-01-16 19:02:09 +00:00
kappaOne
fc9e4f4bda
Tweak CALayer mode to active correctly
2013-01-15 23:09:03 +00:00
Ioannis Tsakpinis
d721194cf3
Corrected JavaDoc param order.
2013-01-15 22:59:46 +02:00
Ioannis Tsakpinis
074f6f2d63
Fixed typos.
2013-01-15 17:51:19 +02:00
kappaOne
fe2f06f36e
Implement Keyboard and Mouse input when using CALayer mode
2013-01-14 23:35:46 +00:00
kappaOne
0dda33cd2d
Implement CALayer rendering, no input yet
2013-01-13 15:34:24 +00:00
kappaOne
d0759e9c12
remove unneeded code in MacOSXDisplay.getPbufferCapabilities()
2012-12-25 14:14:05 +00:00
kappaOne
0d6eac80f7
Implement initial work for enabling CALayer rendering
2012-12-23 22:09:57 +00:00
kappaOne
284f6135f3
Refactoring to prepare for implementing OS X CALayer based
...
Display.setParent, temporarily breaks Display.setParent on Java 7 and
Java 6 Applets.
2012-12-22 20:20:48 +00:00
kappaOne
f7c64c89dc
Don't use Display.setParent when fullscreen set, some refactoring
2012-12-18 22:10:44 +00:00
kappaOne
70842b92aa
Implement Display.getX() and Display.getY() for OS X
2012-12-16 16:02:40 +00:00
kappaOne
a576c3fb0f
fix mouse scroll wheel direction
2012-12-11 21:30:04 +00:00
kappaOne
ccf738dfaf
Implement OS X Mouse.setCursorPosition() when in fullscreen mode
2012-12-09 22:12:02 +00:00
kappaOne
07499c30dd
fix default viewport size when switching to fullscreen mode
2012-12-09 16:27:19 +00:00
kappaOne
c2081c5c1a
Remove old/redundant code for OS X 10.4 or lower.
2012-12-05 23:08:53 +00:00
kappaOne
804f09da47
Fixed resizing when using Display.setParent
2012-12-03 23:04:30 +00:00
Erik Broes
129d0711c5
Modifiers now report the correct side they are pressed. Added 'fn'-key as modifier.
2012-11-29 18:27:08 +01:00
Erik Broes
9d4f22034c
Allow the use of F16-F19, SECTION, INSERT, HOME, END, DELETE, NUMPADENTER, CLEAR, LMETA keys.
2012-11-27 19:29:26 +01:00
kappaOne
b5a87d818e
Implement ScrollWheel functionality again
2012-11-25 20:14:48 +00:00
kappaOne
c2159989f5
remove unused code for hiding OS menubar and dock as its no longer
...
needed.
2012-11-25 17:12:42 +00:00
kappaOne
7f46fb2fbd
Reimplement fullscreen support, correct resizing behaviour on window
...
creation and to work reliably during runtime.
2012-11-25 15:07:20 +00:00
kappaOne
9931e5dbfc
Fix native crash when closing the OS X Display window using the
...
close button
2012-11-22 22:43:43 +00:00
kappaOne
5f37b11857
just a test commit to see if git is working, will undo in next patch
2012-11-20 23:18:11 +00:00
Ioannis Tsakpinis
f57c236373
Fixed GetAsyncKeyState usage. We read the MSB, not the LSB.
2012-11-19 18:49:34 +02:00
kappa1
4f4cb832af
Cleaned up code by removing unneeded java classes MacOSXFrame and MacOSXMouseEventQueue and native code by removing mouse.c
2012-11-13 21:13:11 +00:00
kappa1
7bbfcadcef
fix resizing when using Display.setParent()
2012-11-11 19:03:50 +00:00
kappa1
a749ad5c10
implement missing functionality for Display.getWidth() and Display.getHeight() not updating correctly on resize
2012-11-11 18:43:14 +00:00
Brian Matzon
c09f5698b4
Comitting EmuMogs 28008537/src.zip drop to branch
2012-11-01 20:54:17 +00:00
kappa1
efbdd35845
Set a name for LWJGL's Sync class timer accuracy thread ("LWJGL Timer") for debugging purposes. RFE by NateS.
2012-09-12 21:00:48 +00:00
Ioannis Tsakpinis
b824d786c4
Made GLContext.getCapabilities throw a RuntimeException instead of returning null when there's no GL context current in the current thread.
2012-09-06 07:11:54 +00:00
Ioannis Tsakpinis
092c224534
Translate extended keys before the state check.
2012-08-28 09:06:36 +00:00
Ioannis Tsakpinis
455b429984
Let repeat events pass the same-state filter.
2012-08-23 14:20:58 +00:00
Ioannis Tsakpinis
9ffdd18a3f
Filter TAB key up event when we alt-tab focus the Display.
2012-08-23 12:38:45 +00:00
Ioannis Tsakpinis
814f9a141e
Attempt to fix lost key up events when Display is out of focus. (Windows)
2012-08-23 10:36:12 +00:00
Ioannis Tsakpinis
e7edecf2ae
Fixes related to the new alternate signatures.
2012-08-18 14:00:45 +00:00
Ioannis Tsakpinis
929817a4eb
Added support for OpenGL 4.3 and OpenGL ES 3.0.
...
Modified the generator process to use relative paths. We were hitting the command line length limit on Windows.
Some extension improvements, fixes and spec updates.
2012-08-07 15:14:03 +00:00
Brian Matzon
b4cc6176e7
fixed issue with win32 get x/y returning client-area coords
2012-07-14 23:29:21 +00:00
kappa1
6c0e3d0484
Minor tweak to remove unused code
2012-05-13 18:03:05 +00:00
kappa1
f74af79c19
Display.wasResized() should now work correctly when using Display.setParent()
2012-05-13 18:01:12 +00:00
kappa1
6f40eeb58a
Fix Display.getWidth() and Display.getHeight() to return the correct values on OS X when the window has been resized.
2012-04-14 18:55:40 +00:00
kappa1
75c1886d5e
remove non-existing import.
2012-03-24 00:39:05 +00:00
kappa1
ffdcf4db13
fix minor javadoc typo's
2012-03-24 00:20:02 +00:00
kappa1
92ba9d8ccb
Replace Display.sync(int fps) with an even better implementation, special thanks to Riven.
2012-03-24 00:04:52 +00:00
kappa1
35e075e979
Display.sync() fix excessive CPU using on windows
2012-03-21 19:34:51 +00:00
Brian Matzon
9ed2bd06aa
applying white border fix from dr_evil
2012-03-19 22:12:38 +00:00
kappa1
e0c6b24536
Fix the new accurate Display.sync() method to use less CPU on Mac.
2012-03-18 16:25:23 +00:00
kappa1
093bfe9698
Refactor so that the peer_info variable in ContextGL does not need to be static
2012-03-04 13:41:49 +00:00
kappa1
8f756955b7
Implement GLX_EXT_swap_control for Linux
2012-03-04 03:40:32 +00:00
kappa1
d099a86e50
Tweak Display.sync() method a little to reduce the Thread.yield() time even further, now with a minimum of 0 yield time.
2012-03-01 22:34:34 +00:00
kappa1
4293976506
Implement a much more accurate Display.sync() method that auto adapts to the systems timer resolution and load.
2012-02-29 23:18:35 +00:00
Brian Matzon
65fddce290
added win32 display get x/y
2012-02-18 18:38:57 +00:00
kappa1
e5ebf82c81
Added the new public API's Display.getX() and Display.getY(). Currently implemented for Linux and Mac. Windows implementation pending.
2012-02-18 16:30:38 +00:00
kappa1
839db549a9
Implement the ability for the native Display window on Linux to get its x and y position. In preparation for adding the new Display.getX() & getY() API's.
2012-02-18 01:49:46 +00:00
Brian Matzon
d813fcfaa8
applied dr_evil's maximized patch
2012-02-06 20:35:25 +00:00
Brian Matzon
c32fe94990
updated fix for resizable
2012-02-01 22:50:59 +00:00
Brian Matzon
00446046f0
applying suggested fix for resize issue
2012-02-01 21:33:45 +00:00
kappa1
05d12649c8
removed a tiny bit of dead debug code
2012-01-31 23:25:44 +00:00
kappa1
57ff8c2e2b
Linux Mouse: added support for using more than 3 buttons on a mouse, supports mice with upto 256 buttons.
2012-01-31 23:24:28 +00:00
Brian Matzon
97c6cb1daf
limit mouse buttons to 5, since we can't read more at this time
2012-01-29 20:35:22 +00:00
Brian Matzon
639d1d1457
support for 5 buttons on windows
2012-01-29 20:26:13 +00:00
kappa1
0830a9674d
Small tweak to the Linux Display.isActive() fix.
2012-01-22 20:16:41 +00:00
kappa1
6e76e2c06a
fix for Display.isActive() so that it works as it should on Linux when using Display.setParent()
2012-01-22 18:02:34 +00:00
kappa1
0e6d20e1e4
Add extra checks so CALayer's only run on OS X 10.6+, Bump OS X native version
2012-01-16 22:18:31 +00:00
Brian Matzon
367b5fb176
adding WS_MAXIMIZEBOX patch for windows and bumping native version
2012-01-11 20:46:57 +00:00
Brian Matzon
23adaeba93
Applying WM_SETCURSOR patch to fix issue with cursor
2012-01-02 22:06:12 +00:00
Brian Matzon
b0dafc2a25
undoing commit of r3717
2012-01-02 22:03:53 +00:00
Brian Matzon
dc8aabb8a6
Applied WM_SETCURSOR to fix issue with cursor
2012-01-02 21:59:20 +00:00
kappa1
e500d8e500
MacOS: further limit CALayer to only be used when running as an Applet
2011-11-12 20:45:35 +00:00
Ioannis Tsakpinis
f15696d84a
Changed CallbackUtil to use ContextCapabilities instead of ContextGL.
2011-11-10 18:46:43 +00:00
kappa1
568e99a5f9
Fix keyboard handling when running Display.setParent() as an application on Linux. Thus allowing WM and system hot-keys to function again when the LWJGL app has focus.
2011-10-30 14:44:52 +00:00
Brian Matzon
4a1755ef5a
make Display.destroy a NOP if it hasn't been created yet
2011-10-18 17:23:39 +00:00
Ioannis Tsakpinis
4edf23428d
Updated GLES FullScreenWindowedTest to destroy/create Display on mode change.
2011-10-14 10:43:45 +00:00
Ioannis Tsakpinis
d52a8bce90
Removed org.lwjgl.opengles.PixelFormat dependency from Display.
2011-10-12 18:54:40 +00:00
kappa1
b09c6cf335
minor tweak to the order in which CALayer support is detected.
2011-10-11 22:39:32 +00:00
kappa1
c5eadd89a0
Limit the use to CALayer only to when using Display.setParent(), an AWTGLCanvas in non fullscreen mode.
2011-10-11 22:30:55 +00:00
Brian Matzon
cfe74c2013
undoing r3539 to fix issue with fullscreen
2011-10-11 19:24:55 +00:00
kappa1
a6fafde5e3
apply CL/GL interop patch for mac, thx to jaekwon for patch.
2011-10-06 20:16:37 +00:00
kappa1
b2c1002b84
Implement Resizing API for Linux.
2011-10-02 20:41:33 +00:00
kappa1
0cc0a2bcbf
LinuxDisplay use proper constant name (X_SetInputFocus) for xembedded fix
2011-09-27 22:38:32 +00:00
kappa1
d316d66e1b
limit scope of fix for Display.setParent when running in xembedded mode.
2011-09-26 20:03:59 +00:00
kappa1
83675cffb1
Fix issues with LWJGL Applets when dragging or switching browser tabs
2011-09-25 21:57:49 +00:00
Ioannis Tsakpinis
4acf44bd9a
Added null check on ContextAttribs.
2011-09-05 08:44:48 +00:00
Ioannis Tsakpinis
d924981170
Added missing DrawableLWJGL method.
2011-09-03 19:08:27 +00:00
Ioannis Tsakpinis
41af142324
Added support for OpenGL 3.2 on MacOS X 10.7+.
2011-09-03 18:52:45 +00:00
kappa1
702777d0fb
apply patch to enable applets on OS X using the java plugin2, credits to pjohnson for creating patch.
2011-08-29 13:34:17 +00:00
Ioannis Tsakpinis
12b92fb46d
Fixed Pbuffer init when Display has not been created.
2011-08-24 23:18:56 +00:00
Ioannis Tsakpinis
87c04cc995
Text encoding improvements.
2011-08-20 16:38:45 +00:00
Ioannis Tsakpinis
67945fe317
Added unicode support on Windows.
...
Fixed AL and GLES native stub bindings.
Replaced many GetStringNativeChars usages with a Java implementation.
2011-08-16 22:17:32 +00:00
Ioannis Tsakpinis
1d03746435
Fixed GL42 detection and added an @Optional so that AMD's beta driver works.
2011-08-13 17:20:59 +00:00
Ioannis Tsakpinis
72f4758d5e
Added support for OpenGL 4.2
2011-08-08 10:48:14 +00:00
Ioannis Tsakpinis
83c2208aa0
Added support for NV_path_rendering.
...
Made MappedObjectUnsafe package private.
2011-07-29 11:30:14 +00:00
Brian Matzon
087d0f4ba9
Initial stab at win32 resize api
2011-07-21 22:52:16 +00:00
Ioannis Tsakpinis
8193447a0d
Code cleanup.
2011-07-17 09:37:35 +00:00
Ioannis Tsakpinis
30261d1f82
Removed GLES dependency on GL APIUtil.
2011-07-16 22:40:06 +00:00
Ioannis Tsakpinis
a9a7067461
Converted GL APIUtil to a per ContextCapabilities instance.
2011-07-16 22:26:46 +00:00
Ioannis Tsakpinis
0b0e185f47
Moved all pointer arithmetic to Java code.
2011-07-16 16:05:37 +00:00
kappa1
5949d57bb1
Implement Resizing Display API for OS X
2011-07-13 22:15:35 +00:00
kappa1
f0766fb6c4
Updated JavaDoc for the new resizing api to clarify behaviour when running in fullscreen or with Display.setParent().
2011-07-13 19:29:15 +00:00
kappa1
9aafabd728
Add placeholder methods for initial resizing api for the Display
2011-07-12 22:07:32 +00:00
Ioannis Tsakpinis
4a6717959c
Added GLES classes on which Display depends to the main jar.
2011-07-12 15:36:16 +00:00
Ioannis Tsakpinis
f1fee0624b
Replaced Display.createES() with Display.create(ContextType.GLES).
2011-07-10 17:45:43 +00:00
Ioannis Tsakpinis
6c134c6330
Merged OpenGL ES branch.
2011-07-10 16:58:16 +00:00
kappa1
2cbae6efc8
minor update to comments and add missing JavaDoc
2011-07-10 00:31:16 +00:00
kappa1
e49bfe3c40
LinuxDisplay - fix remaining issues with focus handling when running in xembed mode.
2011-07-02 20:50:27 +00:00
kappa1
7782156962
Fix small race condition in LinuxDisplay when focusing in and out really fast.
2011-06-26 11:50:23 +00:00
kappa1
cc91d81781
Proper fix for Linux focus handling with setParent(Canvas), no more hacks or messing with EDT. Side effect being LWJGL applet focus handling should work perfectly now.
2011-06-26 01:42:34 +00:00
kappa1
4e85079dde
LinuxDisplay: run setFocusable(boolean) on the EDT
2011-06-09 22:27:53 +00:00
Ioannis Tsakpinis
073da79e95
Update current DisplayMode when the Display's parent is resized.
2011-05-31 14:40:47 +00:00
Ioannis Tsakpinis
1dd8817855
Update current DisplayMode when the Display's parent is resized.
2011-05-31 13:32:38 +00:00
Ioannis Tsakpinis
eff8493ef6
Added support for NV_present_video and NV_video_capture.
...
Re-designed WindowsPeerInfo so that we can more easily use WGL extensions in the future.
2011-05-21 10:48:05 +00:00
Ioannis Tsakpinis
9b4b2f6f92
Added Context.
2011-05-17 17:26:33 +00:00
Ioannis Tsakpinis
40cbf3e45f
Added support for OpenGL ES.
2011-05-17 16:53:57 +00:00
Brian Matzon
91c32952b5
fixing icons as per dr_evil [ http://lwjgl.org/forum/index.php/topic,3925.0.html ] [proper]
2011-04-16 21:13:27 +00:00
Brian Matzon
07ffa133ad
fixing icons as per dr_evil [ http://lwjgl.org/forum/index.php/topic,3925.0.html ]
2011-04-16 18:38:48 +00:00
Ioannis Tsakpinis
924f20efd6
Added support for AMD_blend_minmax_factor & NV_texture_multisample.
...
Added sprite rendering samples.
Fixed ContextAttribs version checking for GL41.
2011-04-07 21:36:19 +00:00
Ioannis Tsakpinis
1b6a2e866c
Reverted @CachedReference tracking removal.
2010-11-29 18:25:28 +00:00
Ioannis Tsakpinis
4f332612f4
Fixed ELEMENT_ARRAY_BUFFER_BINDING tracking when VAOs are used.
...
Removed CachedReference tracking, we never check those.
2010-11-29 17:21:05 +00:00
kappa1
c69a165ad1
remove debug code left in WindowsDisplay, thx to MatthiasM.
2010-11-26 20:38:39 +00:00
kappa1
63e79ab5b3
Changed initial alpha value of glClearColor from 1 to 0 which is set when Initialising the Display. This now matches expected OpenGL behaviour. Thanks to Ryanm for spotting this. If you use FBO's make sure your setting glClearColor properly.
2010-11-11 21:25:20 +00:00
kappa1
84f28884c5
Implement preliminary support for Display.isInsideWindow() on linux
2010-10-28 21:39:55 +00:00
kappa1
2838bb9dec
fix null pointer exception when creating Display on linux.
2010-10-13 21:26:25 +00:00
Ioannis Tsakpinis
9405dde18a
Replaced HashMap<Long, T> with FastLongMap in the OpenCL package.
...
Replaced CharsetEncoder with simple ASCII encoding in APIUtil.
Attempt to fix CL native kernels on x64.
2010-10-12 01:35:33 +00:00
kappa1
a0ee569434
fix for focus issues with Display.setParent on linux when using it as a non applet. Thx to MatthiasM for finding this and providing a small test case.
2010-10-08 20:19:44 +00:00
kappa1
e2b1e8dbd8
catch null pointer exception that can be thrown on mac, app shouldn't explode now.
2010-10-07 20:38:50 +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
Ioannis Tsakpinis
1aa9ab5104
Added support for OpenCL & CL/GL interop + minor improvements. [WIP]
2010-09-26 23:43:24 +00:00
kappa1
6e231b50a8
clean unneeded check
2010-07-28 21:12:41 +00:00
kappa1
7a6a74541f
Fix Mac Mouse behaviour where mouse is centred everytime Mouse.setGrabbed(boolean) is called.
2010-07-28 21:07:04 +00:00
Ioannis Tsakpinis
5842103580
Added support for OpenGL 4.1 and new extensions.
2010-07-27 15:33:22 +00:00
kappa1
71b226f979
fix: Keyboard focus handling broken when using Display.setParent() applets on Ubunutu (strangly worked on OpenSuse), hopefully should be fixed now.
2010-07-11 20:25:24 +00:00
Ioannis Tsakpinis
351eca07a4
2010-07-09 21:46:27 +00:00
kappa1
b911005854
Display sync modified to allow it to be interrupted.
...
Thanks to bobjob for this, further thanks to MatthiasM for pointing out that the interrupt should not be swallowed.
2010-07-09 19:37:14 +00:00
Ioannis Tsakpinis
0ddafa3842
Compiz LFS improvements.
2010-07-09 18:44:31 +00:00
Ioannis Tsakpinis
eebd82198c
Added support for Compiz's legacy fullscreen workaround.
2010-07-07 12:37:40 +00:00
Ioannis Tsakpinis
e0bfcca323
Fix for Linux fullscreen mode problem with Compiz ( http://lwjgl.org/forum/index.php/topic,3335.0.html )
2010-07-04 17:14:33 +00:00
Ioannis Tsakpinis
21b3c3d818
Added PixelFormat support for framebuffer CSAA (NV_multisample_coverage, WGL & GLX only).
...
Added support for AMD_name_gen_delete and AMD_debug_output. The AMDDebugOutputCallback class enables query-less message handling.
Added support for extension aliases.
2010-05-27 22:56:29 +00:00
Ioannis Tsakpinis
a31db44724
Updated ContextAttribs to not default to the core profile for 3.2+ versions.
...
Updated VersionTest (version 20 of ARB_create_context).
2010-05-22 16:53:49 +00:00
kappa1
7ed3a9001a
XRandr add missing casts
2010-05-21 22:26:23 +00:00
kappa1
a54c5c40e1
Further XRandR fixes, it now catches throwable in populate(), if there are any problems in parsing the xrandr output we revert to LWJGL's regular behaviour. All output now goes to LWJGLUtil.log() instead of the out.println and err.println. Credit to Ryanm for patch.
2010-05-21 22:12:57 +00:00
kappa1
fc21a7735d
XrandR fix for parsing some screen sizes, credit to MatthiasM for providing patch.
2010-05-20 18:11:47 +00:00
Ioannis Tsakpinis
47c9991b41
Fixed ByteOrder of @Return ByteBuffers.
...
Cleaned up Drawable interface and introduced a reusable base implementation.
Added support for disabling runtime function checks, buffer checks and state tracking. Activated with -Dorg.lwjgl.util.NoChecks=true
2010-04-22 23:21:48 +00:00
kappa1
965e398053
Remove extra permissions from XRandR and just allow minimal permissions needed by the LinuxDisplay.
2010-04-22 18:32:46 +00:00
Ioannis Tsakpinis
e650319d5b
Added support for a new Drawable type (SharedDrawable) that shares its context with another Drawable.
...
Added new methods to the Drawable interface (makeCurrent, releaseContext, destroy).
Added a background thread texture loading test (using either Pbuffer or SharedDrawable).
2010-04-20 18:21:05 +00:00
kappa1
8f784c424c
minor tweak to XRandR class to add AccessControllers to remaining methods that need it.
2010-04-16 19:06:53 +00:00
kappa1
34427b80f7
fix: When using unsigned jars with signed lwjgl jars it fails when creating a Display on linux with an AccessController error. This is due to the new XRandR class missing a AccessController.doPriviledged method when it requires out of sandbox access. (LWJGL Applet Distribution is borken on linux without this fix)
2010-04-14 22:34:43 +00:00
kappa1
7d1a770cff
fix infinite focus loop when using Display.setParent() + JWS + Linux.
2010-04-10 18:07:50 +00:00
Ioannis Tsakpinis
4eb94622ca
Added @NoErrorCheck on vertex data methods.
...
The debug build will now track Begin/End pairs and never call GetError inside them.
2010-04-09 23:57:40 +00:00
Ioannis Tsakpinis
3035e3c95c
Moved processMessages call after swapBuffers in Display.update.
...
Added option to not call processMessages during Display.update.
2010-04-03 19:03:49 +00:00
Ioannis Tsakpinis
b31603f219
Fix for grabbed mouse deltas.
2010-04-01 15:05:32 +00:00
Ioannis Tsakpinis
6998610cce
Fixed mouse grabbing on secondary monitors.
...
Added extra device polling when vsync is enabled, to reduce input lag.
2010-03-31 23:56:24 +00:00
Brian Matzon
7bd6eb6d16
patch as per http://lwjgl.org/forum/index.php/topic,3124.0.html
2010-03-17 18:55:59 +00:00
Ioannis Tsakpinis
94a4c50a83
Added support for single primitive input/output parameters.
2010-03-14 23:24:40 +00:00
Ioannis Tsakpinis
e97e601894
Added Charset encoding to StringUtils
...
Changed shader tests to use the String APIs
Finished ARB_uniform_buffer_object shader test
Fixed native code compiler warnings
Made the generator check file timestamps to avoid unnecessary 3+ min builds
2010-03-14 00:19:48 +00:00
Ioannis Tsakpinis
6ac8e327f2
Added support for Strings! (WIP, needs more testing)
2010-03-12 21:55:13 +00:00
Jeremy Booth
cb925a91e9
Try and find a sensible video driver to report on rather than assuming it's video0.
2010-03-12 20:15:38 +00:00
Ioannis Tsakpinis
c3d6d43d2a
Added support for OpenGL 3.3 and OpenGL 4.0.
2010-03-11 21:06:49 +00:00
Brian Matzon
0eed407ef8
added new XRandR stuff
...
fixed credits doc a bit
2010-03-08 21:29:32 +00:00
kappa1
604e52013a
Complete overhaul of the linux focus system when using Display.setParent(). This should fix the input problems with applets (on linux) due to Display not being able to gain focus.
...
Also now works perfectly in all browsers, previously input focus was not restored to other browser components when requested (like firefox's address bar).
2010-02-14 17:06:15 +00:00
Ioannis Tsakpinis
7ef37e9858
Changed BaseReferences to use GL20.GL_MAX_TEXTURE_IMAGE_UNITS when available (GL13.GL_MAX_TEXTURE_UNITS is deprecated).
...
Catch and log OpenGL errors during context creation, instead of throwing an exception.
2010-02-10 11:22:16 +00:00
Ioannis Tsakpinis
47714e4bea
Catch and ignore INVALID_OPERATION error when retrieving CONTEXT_PROFILE_MASK (workaround for ATI 9.12).
2010-02-09 15:22:58 +00:00
Ioannis Tsakpinis
ede27aaa21
Improved compatibility mode detection
...
Removed support for indirect buffers as arguments to GL functions
Added missing tokens in GL30 & GL32
Added support for AMD_seamless_cubemap_per_texture & AMD_shader_stencil_export
Fixed AMD_vertex_shader_tessellator typo
Added AMD extensions to the build process >.<
2010-01-31 16:40:51 +00:00
Ioannis Tsakpinis
d97fc05a7b
Added support for explicit length arguments in functions that map buffer objects.
...
Simplified CachedResult handling of functions that map buffer object ranges.
Improved documentation of CachedResult functions.
2010-01-04 18:47:49 +00:00
kappa1
2e07a03a4e
added the Display.setInitialBackground(r,g,b) method, this will allow you to select the initial background color of the lwjgl Display window. Useful to create more polished applications and smoother looking applets.
2009-12-01 15:12:52 +00:00
Brian Matzon
663a7cf235
stop updating cursor all the time and only continue animation if mouse is inside window
2009-11-26 22:44:17 +00:00
kappa1
bbe74afddb
Mouse Grab Bug on Linux Fixed when LWJGL is run as an applet.
2009-11-24 20:13:12 +00:00
kappa1
e9e9bf7b91
FIX: Mouse Grab should now work on Windows when using Display.setParent()
2009-11-12 22:12:49 +00:00
Ioannis Tsakpinis
0aa3bf8c17
Fixed TexCoordPointer exception when ARB_multitexture is not available.
2009-09-27 12:05:46 +00:00
Brian Matzon
8bd591fe5e
support for tracking mouse outside window on drag, new api for checking if mouse is inside window
2009-09-12 22:15:21 +00:00
Ioannis Tsakpinis
9a5f795a84
Added support for PIXEL_STORE state tracking.
...
Changed PBO GLChecks to use LWJGL's state tracking instead of using glGetInteger.
2009-09-08 15:07:15 +00:00
Ioannis Tsakpinis
f4eb23f860
Fixed Context init when using the debug library.
...
Removed glGetError call before buffer swapping.
2009-09-08 12:27:59 +00:00
Ioannis Tsakpinis
6befeb63f2
Completed GL32 support.
...
Added Generator support for wrapping GL pointers.
Added support for passing command-line arguments to tests.
Added test for ARB_sync functionality.
Temp fix to NV_shader_buffer_load.
2009-08-12 13:06:11 +00:00
Ioannis Tsakpinis
b130c415f7
Added support for OpenGL 3.2 and the following extensions: AMD_draw_buffers_blend, ARB_depth_clamp, ARB_draw_buffers_blend, ARB_draw_elements_base_vertex, ARB_fragment_coord_conventions, ARB_provoking_vertex, ARB_sample_shading, ARB_seamless_cube_map, ARB_shader_texture_lod, ARB_texture_cube_map_array, ARB_texture_gather, ARB_texture_multisample, ARB_texture_query_lod, ARB_vertex_array_bgra, EXT_separate_shader_objects, EXT_texture_snorm, NV_copy_image, NV_parameter_buffer_object2.
2009-08-04 18:21:41 +00:00
Brian Matzon
c7eabcad3e
fixed windows click/movement detection if drag started inside display
2009-06-03 11:08:58 +00:00
Brian Matzon
a6ae9f33b5
fix windows issue with mouse down true when released outside window
2009-05-26 20:39:23 +00:00
Ioannis Tsakpinis
757f3bbbce
Fixed ContextAttribs version validation.
...
Added OpenGL version test.
2009-04-04 19:19:43 +00:00
Ioannis Tsakpinis
1e4499f527
Force forward compatible mode when we have GL3.1+ but miss ARB_compatibility.
...
Added support for ARB_framebuffer_object.
Added support for GLX_ARB_create_context. (WIP)
Improved postfix stripping in the generator.
2009-03-26 11:08:43 +00:00
Ioannis Tsakpinis
03c799e87f
Added support for OpenGL 3.1
...
Added support for a bunch of new OpenGL extensions.
2009-03-25 17:43:56 +00:00
kappa1
30dfad6c15
Improved focus handling for Display.setParent() on linux. Focus is now released from Display when X fires a focus change event.
2009-03-11 21:05:05 +00:00
kappa1
a33207320d
fixed focus loop when using Display.setParent() on linux, this caused input keys to be missed as the focus shifted from parent to Display and back again.
2009-03-09 21:53:11 +00:00
Elias Naur
2f3fbf28de
Added Display.setDisplayModeAndFullscreen(mode) to switch mode and set fullscreen in one call (idea stolen from MatthiasM). Tweaked FullScreenWindowedTest to use the new method.
2008-12-28 19:30:43 +00:00
Elias Naur
825e724904
Renamed DisplayMode.isFullscreen() to DisplayMode.isFullscreenCapable and made it public
2008-12-28 17:50:08 +00:00
Elias Naur
ed1f8d70f4
Removed redundant fullscreen argument from DisplayImplementation.createWindow
2008-10-28 10:05:37 +00:00
Elias Naur
41c90bc7cc
Windows: Merged native handling of undecorated and fullscreen window property
2008-10-28 09:53:16 +00:00
Elias Naur
d464876fe0
Windows: Only clip mouse to window borders if the lwjgl window is the foreground window
2008-10-27 14:04:12 +00:00
Elias Naur
95a13203a1
Properly handle non-fullscreen DisplayModes
2008-10-02 08:10:47 +00:00
Elias Naur
a7accb99a0
Added Display.getDesktopDisplayMode()
2008-10-02 07:34:22 +00:00
Elias Naur
36d9d31dab
Mac OS X: Be less aggressive when grabbing mouse to allow dragging of lwjgl windows with grabbed mouse
2008-09-11 09:52:23 +00:00
Ioannis Tsakpinis
6ea785334e
ContextAttribs: changed factory to constructor initialization
...
Fixed compatible spelling
Small pbuffer fix
2008-08-19 17:47:24 +00:00
Ioannis Tsakpinis
d7ee23f9b2
Added support for OpenGL 3.0 functionality
...
Added support for OpenGL 3.0 context creation (MAJOR/MINOR versions, DEBUG mode, FORWARD_COMBATIBLE mode)
Added support for OpenGL 3.0 context sharing
Added support for OpenGL 3.0 extension detection
Improved support for floating point PixelFormats (ARB_color_buffer_float)
Added support for packed floating point PixelFormats (EXT_packed_float)
Added support for sRGB PixelFormats (ARB_framebuffer_sRGB)
Added support for pseudo-FORWARD_COMBATIBLE mode (deprecated functions not loaded)
Added support for EXT_direct_state_access
2008-08-19 16:46:03 +00:00
Elias Naur
8896ec3631
Linux: Avoid unneccessary mode switching in LinuxDisplay.resetDisplayMode (patch by buggs)
2008-08-12 17:05:26 +00:00
Elias Naur
65c180fa48
Linux: Added sanity checking to LinuxDisplay.setIcon
2008-06-16 18:31:43 +00:00
Elias Naur
d3b13b23dd
Display.setIcon: Preserve icon buffer positions
2008-06-16 18:29:18 +00:00
Brian Matzon
c6a1088a70
cleanup of imports
2008-06-05 13:36:57 +00:00
Brian Matzon
bac8c09ba2
fixed internal use of deprecated keys
2008-06-05 13:35:32 +00:00
Elias Naur
1071c31bc0
Removed dead code from Display
2008-05-30 07:08:14 +00:00
Elias Naur
f18b5baa09
Removed Display.sync2 and Display.sync3
2008-05-30 06:53:33 +00:00
Elias Naur
be5837c7d0
Mac OS X: Call setFocusTraversalKeysEnabled(false) on LWJGL created MacOSXGLCanvases
2008-05-23 11:03:31 +00:00
Elias Naur
9293ee4073
Windows: Split WindowsDisplay.nDestroyWindow into nReleaseDC and nDestroyWindow
2008-05-05 17:24:42 +00:00