Commit Graph

39 Commits

Author SHA1 Message Date
b23prodtm 211b14c8d5 Fixed Mac OS Canvas / CALayer.
http://hg.openjdk.java.net/jdk8/awt/jdk/rev/65d874d16d59
JAWT native CALayer not positioned over Canvas
(Reviewed-by: art, anthony)
Initialy, the layer bounds have the Y coord originating not as
expected. java7 only seems to provoke that issue. so cpeer would update
bounds as necessary now.
by broumbroum
2014-02-01 21:20:27 +01:00
kappaOne 675838f692 Don't autoresize CALayer's when using the Java 7 workaround 2013-11-03 22:47:32 +00:00
kappaOne adf780c63d Further fixes for Display.setParent() canvas position & size bugs on OS
X
2013-10-22 22:34:03 +01:00
kappaOne 8deac76a5b Update author information 2013-04-21 15:37:02 +01:00
kappaOne f528f38c60 Fix OS X CALayer positioning and workaround Java 7 bug
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7172187
2013-04-20 23:21:01 +01:00
kappaOne 5628e751bf Revert "Fix OS X CALayer positioning and workaround Java 7 bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7172187"
This reverts commit 1cceacb3cd.
2013-04-19 21:34:57 +01:00
kappaOne 1cceacb3cd Fix OS X CALayer positioning and workaround Java 7 bug
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7172187
2013-04-19 21:32:31 +01:00
kappaOne 0c07657edf Fix a resizing issue with AWTGLCanvas on OS X 2013-04-14 14:54:11 +01:00
kappaOne a7c704ae2f Workaround Nvidia driver bug which crashed the OS when releasing a
shared context by not releasing shared contexts.
2013-04-14 14:14:36 +01:00
kappaOne 529acd40ff Clean up used resources when destroying an OS X / CALayer 2013-04-14 13:19:57 +01:00
kappaOne 2bbd7ebe5b Fix a crash with CALayers/OSX when running on Java 7 2013-04-13 18:14:32 -07:00
kappaOne f45f1e79d9 Fix OSX/CALayer issue where it is not initially visible when running on
Java 7
2013-04-05 01:36:07 +01:00
kappaOne d8297e7583 set correct size on glViewport when using CALayer 2013-03-14 02:58:14 +00:00
kappaOne d462208c4c Implement AWTGLCanvas, fix initial glViewport size when using
Display.setParent
2013-03-13 00:51:32 +00:00
kappaOne af1ae935d8 fix CALayer/Display.setParent driver crash on resize 2013-02-17 15:09:31 +00:00
kappaOne b27754089a Fix Display.setParent() on Java 7 by forcing CALayer usage as
classic NSView method is no long available.
2013-01-31 23:01:19 +00:00
kappaOne b8ba6ee6e5 Fix a small memory leak when using CALayer mode 2013-01-16 18:39:19 +00:00
kappaOne 02c0e80fb6 fix crash when switching to/from fullscreen when using CALayer mode. 2013-01-15 22:34:50 +00:00
kappaOne fe2f06f36e Implement Keyboard and Mouse input when using CALayer mode 2013-01-14 23:35:46 +00:00
kappaOne f2ad9f470d Tweak CALayer resizing behavior 2013-01-13 18:37:20 +00:00
kappaOne 03b669fb4d Fix garbage being displayed when resizing in CALayer mode 2013-01-13 16:13:13 +00:00
kappaOne 0dda33cd2d Implement CALayer rendering, no input yet 2013-01-13 15:34:24 +00:00
kappaOne 790f895220 Set CALayer OpenGL Context to be shared with the current LWJGL context.
Make code OS X 10.5 compatible (change from NSOpenGLLayer to
CAOpenGLLayer)
2013-01-04 00:11:12 +00:00
kappaOne f13f35d250 Add further work to the CALayer to prepare it for allowing an FBO to be
blit to its internal FBO
2012-12-28 01:11:12 +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
kappa1 0c4008c885 Remove unused dependency on JavaNativeFoundation 2012-11-04 20:04:30 +00:00
Brian Matzon c09f5698b4 Comitting EmuMogs 28008537/src.zip drop to branch 2012-11-01 20:54:17 +00:00
kappa1 e40d8d1232 OS X slight tweak to MacOSXCanvasPeerInfo in prep to make it compatible for 10.5 again 2012-01-13 00:40:43 +00:00
kappa1 d58bcf2ee0 MacOS: remove the use of 'Blocks' in the Cocoa native code by switching to 'Selectors', should allow natives to be binary compatible with OS X 10.5 now. 2011-11-12 19:01:28 +00:00
kappa1 fb6326fec9 Fix crash on Mac OS X when using Display.setParent() and switching from fullscreen to windowed mode. 2011-10-21 22:50:54 +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
kappa1 c9cac6406b Remove the use of Properties from Objective C code to allow binary compatibility on OS X < 10.5 2011-10-11 21:51:45 +00:00
kappa1 b49eb9db3f update credits 2011-09-03 14:47:11 +00:00
kappa1 63603ca090 mac, attempt a quickfix in order to temporarily bypass nightly server restrictions so that mac natives can build. 2011-08-31 21:06:46 +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
Brian Matzon 175642d593 updated and added license where needed 2008-04-07 18:42:36 +00:00
Elias Naur 55a889d053 Use jawt_md.h instead of jawt.h since that is apparently the official way of using JAWT (from the example in jawt.h) and is required for lwjgl to compile with the ibm 1.5 jdk 2007-03-13 08:18:00 +00:00
Elias Naur 3085702a38 Mac OS X port of the refactoring. Linux and Win32 fixes. 2005-02-23 11:11:08 +00:00