kappaOne
0dda33cd2d
Implement CALayer rendering, no input yet
2013-01-13 15:34:24 +00:00
kappaOne
a4c5be3781
fix OS X Mouse.setCursorPosition to use
...
CGDisplayMoveCursorToPoint instead of CGWarpMouseCursorPosition to allow
working on multiple monitor setups, also obtain correct window screen
instead of screen with keyboard focus
2012-12-25 14:00:09 +00:00
kappaOne
fffa870418
correct behavior on OS X Display.getY() by using the screen the
...
window is on rather than the screen with keyboard focus
2012-12-25 13:51:24 +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
d235ae5bf0
Fix crash on exit when using Display.setParent() on OS X
2012-12-16 17:50:48 +00:00
kappaOne
21f994a039
remove unused code
2012-12-16 16:24:33 +00:00
kappaOne
45992fc378
Implement Display.isActive() on OS X
2012-12-16 16:19:44 +00:00
kappaOne
70842b92aa
Implement Display.getX() and Display.getY() for OS X
2012-12-16 16:02:40 +00:00
kappaOne
93d1d3ea03
fix 'invalid drawable' error message
2012-12-11 21:24:04 +00:00
kappaOne
2cc6affcd1
Use correct back buffer size when creating a new context and going
...
straight into fullscreen
2012-12-09 15:39:26 +00:00
kappaOne
8c4aeef4f4
remove use of depreciated CGTableCount
2012-12-04 22:45:47 +00:00
kappaOne
11d6db5f35
remove use of the now depreciated CGTableCount
2012-12-04 22:28:35 +00:00
kappaOne
83aeba5910
remove use of depreciated CGTableCount
2012-12-04 22:22:42 +00:00
kappaOne
76238f038c
remove unneeded call to release memory on close of window
2012-12-04 22:11:16 +00:00
kappaOne
804f09da47
Fixed resizing when using Display.setParent
2012-12-03 23:04:30 +00:00
kappaOne
415f25bf97
Do Context clean up on proper thread, remove hacks, enable memory
...
clean up on Mac Display.destroy()
2012-12-03 21:39:54 +00:00
kappaOne
b3b5e95bf4
Use a fixed back buffer for proper resolution in fullscreen mode
2012-11-30 23:24:12 +00:00
kappaOne
b72cdb3064
Wait for NSView to be correctly removed before closing window
2012-11-30 01:11:03 +00:00
kappaOne
b6a89d3bd4
Correct Mouse Coordinates in Fullscreen Mode
2012-11-30 01:02:04 +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
kappaOne
ef62a8371b
remove white flash when switch to/from fullscreen
2012-11-25 20:34:45 +00:00
kappaOne
6eccb8b971
clean up debug code printf's
2012-11-25 20:24:51 +00:00
kappaOne
b5a87d818e
Implement ScrollWheel functionality again
2012-11-25 20:14:48 +00:00
kappaOne
9a968e8c41
fix crash on exit by removing NSView before destroying the NSWindow, so
...
that it doesn't draw after being removed
2012-11-25 18:38:46 +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
7b5d596c9b
remove observer as it was causing a crash on exit
2012-11-25 15:33:56 +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
kappa1
141b9c2632
Implement Mouse Dragging when using the Right Mouse Button or the Scroll Wheel Button
2012-11-16 13:36:41 +01: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
kappa1
f7012a3020
Run some Cocoa methods in nCreateWindow on the main thread (Thread-0) instead of the JNI thread.
2012-11-11 15:48:08 +00:00
kappa1
49f92189ec
Switch to using the correct Cocoa method for Display.isCloseRequested()
2012-11-10 00:42:34 +00:00
kappa1
4eaea5850c
Tiny Clean up and remove some more references to JNF
2012-11-04 20:11:03 +00:00
kappa1
94c23298c8
Fix a native crash on startup of some applications
2012-11-03 18:06:08 +00:00
kappa1
460b6f05dd
Fix memory leaks by adding an NSAutoreleasePool when creating a windows and draining it on window destroy
2012-11-01 22:39:22 +00:00
kappa1
2c811ac289
Updated macosx_ant build.xml, removed PPC support, bumped the minimum OS X SDK for 32/64bit native to SDK 10.5. Commented out some code in Display.m that required SDK 10.7+, namely NSApplicationPresentationFullScreen, etc
2012-11-01 22:21:23 +00:00
Brian Matzon
c09f5698b4
Comitting EmuMogs 28008537/src.zip drop to branch
2012-11-01 20:54:17 +00:00
Elias Naur
8b0b1b8b63
Added platform specific getJNIVersion implementations
2008-04-30 14:58:47 +00:00
Brian Matzon
175642d593
updated and added license where needed
2008-04-07 18:42:36 +00:00
Elias Naur
f2b73f57de
Mac OS X: Added missing #import
2008-02-19 14:06:48 +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
c96dc98b63
Clean out commented code
2005-02-23 11:42:04 +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
e446883a7f
Renamed org.lwjgl.opengl.Window.allowSoftwareOpenGL to org.lwjgl.opengl.Display.allowSoftwareOpenGL
2005-01-27 21:26:46 +00:00
Elias Naur
bc6cabc1fd
Support org.lwjgl.opengl.Window.allowSoftwareOpenGL on Mac OS X
2004-12-11 10:47:21 +00:00
Elias Naur
9ec94cb364
Move getPbufferCaps to DisplayImplementation. Mac OS X pbuffer support
2004-11-18 12:10:28 +00:00
Elias Naur
4ce552b44b
Mac OS X: Add error handling to gamma functions
2004-11-16 14:23:28 +00:00
Elias Naur
cea73a6b85
Mac OS X: Implemented gamma
2004-11-16 14:08:31 +00:00
Elias Naur
45607a7c69
Mac OS X: Work around AWT shifting the fullscreen window off the screen
2004-11-16 13:21:46 +00:00
Elias Naur
26ce1fecae
Mac OS X: Add missing file and disable native cursors because of AWT bugs
2004-11-15 14:38:00 +00:00