summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/native/macosx/NativeWindowProtocols.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix CALayer pos/size and animation.b01Sven Gothel2013-02-221-0/+34
- Fix CALayer animation: - All CALayer animations are set to nil via overriding 'actionForKey' - Fix CALayer pos/size bug: - Fix root and sub CALayer position to 0/0 and size on the main-thread w/o blocking. - If the sub CALayer implements the Objective-C NativeWindow protocol NWDedicatedSize (e.g. JOGL's MyNSOpenGLLayer), the dedicated size is passed to the layer, which propagates it appropriately. - On OSX/Java7 our root CALayer's frame position and size gets corrupted by its NSView, hence we have created the NWDedicatedSize protocol.