equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
64 @synthesize _dropTarget; |
64 @synthesize _dropTarget; |
65 @synthesize _dragSource; |
65 @synthesize _dragSource; |
66 @synthesize cglLayer; |
66 @synthesize cglLayer; |
67 @synthesize mouseIsOver; |
67 @synthesize mouseIsOver; |
68 |
68 |
|
69 /* |
|
70 * TODO : Eventhough the name of variable is cgllayer, |
|
71 * we are setting common CALayer properties, so we might not |
|
72 * to add one more variable for CAMetalLayer. Also have |
|
73 * to verify REMOTE_LAYER use case, if it is need then we |
|
74 * need to add CAMetalLayer specific logic. |
|
75 */ |
69 // Note: Must be called on main (AppKit) thread only |
76 // Note: Must be called on main (AppKit) thread only |
70 - (id) initWithRect: (NSRect) rect |
77 - (id) initWithRect: (NSRect) rect |
71 platformView: (jobject) cPlatformView |
78 platformView: (jobject) cPlatformView |
72 windowLayer: (CALayer*) windowLayer |
79 windowLayer: (CALayer*) windowLayer |
73 { |
80 { |