Commit Graph

27 Commits

Author SHA1 Message Date
b23prodtm 7a81bde884 Peer lookup fixed. Canvas as parent is displayed fully covered by the CALayer . Need to check if windowed Display works again. 2014-02-02 20:31:19 +01:00
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 cd666c66cf Fix CALayer/Display.setParent() initial position bug on OS X. 2013-11-03 14:02:22 +00:00
kappaOne dfbb8d3cbc Fix another edge case bug with Display.setParent() on OS X. Thx to
ihkbob for providing test case to reproduce it.
2013-10-26 17:05:44 +01:00
kappaOne 38a3f6696c Fix NPE and position bug with Display.setParent() on OS X 2013-10-26 16:12:18 +01:00
kappaOne adf780c63d Further fixes for Display.setParent() canvas position & size bugs on OS
X
2013-10-22 22:34:03 +01:00
kappaOne ce43cfabd7 Fix Display.setParent() canvas position bug on OS X 2013-10-20 19:25:33 +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 d462208c4c Implement AWTGLCanvas, fix initial glViewport size when using
Display.setParent
2013-03-13 00:51:32 +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 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
Brian Matzon c09f5698b4 Comitting EmuMogs 28008537/src.zip drop to branch 2012-11-01 20:54:17 +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
kappa1 e500d8e500 MacOS: further limit CALayer to only be used when running as an Applet 2011-11-12 20:45:35 +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
Ioannis Tsakpinis 41af142324 Added support for OpenGL 3.2 on MacOS X 10.7+. 2011-09-03 18:52:45 +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
Brian Matzon bb16ec7492 updated and added license where needed 2008-04-07 18:36:09 +00:00
Elias Naur c499f33bcf Added experimental Display.setParent to allow Display to be embedded in an AWT Canvas. Added basic linux implementation and test. 2008-04-06 20:56:52 +00:00
Elias Naur 350c3c2661 Let otherwise generic AWT utilities classes take a Component instead of the more specific AWTGLCanvas 2008-04-06 14:39:32 +00:00
Brian Matzon 8a3bee6b1c applied patch to move ID tag 2006-03-23 19:32:21 +00:00
Elias Naur a9bd41f12e Mac OS X: Fixed an issue where pbuffer contexts could not share with the display context. 2005-11-04 12:38:59 +00:00
Caspian Rychlik-Prince 200ed3792a Cleanup of unused imports 2005-05-04 20:59:44 +00:00
Elias Naur 3085702a38 Mac OS X port of the refactoring. Linux and Win32 fixes. 2005-02-23 11:11:08 +00:00