equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2013, 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 |
68 import sun.awt.image.SunVolatileImage; |
68 import sun.awt.image.SunVolatileImage; |
69 import sun.awt.image.ToolkitImage; |
69 import sun.awt.image.ToolkitImage; |
70 import sun.java2d.BackBufferCapsProvider; |
70 import sun.java2d.BackBufferCapsProvider; |
71 import sun.java2d.pipe.Region; |
71 import sun.java2d.pipe.Region; |
72 |
72 |
73 import javax.tools.annotation.GenerateNativeHeader; |
73 |
74 |
|
75 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
76 @GenerateNativeHeader |
|
77 public class XComponentPeer extends XWindow implements ComponentPeer, DropTargetPeer, |
74 public class XComponentPeer extends XWindow implements ComponentPeer, DropTargetPeer, |
78 BackBufferCapsProvider |
75 BackBufferCapsProvider |
79 { |
76 { |
80 private static final PlatformLogger log = PlatformLogger.getLogger("sun.awt.X11.XComponentPeer"); |
77 private static final PlatformLogger log = PlatformLogger.getLogger("sun.awt.X11.XComponentPeer"); |
81 private static final PlatformLogger buffersLog = PlatformLogger.getLogger("sun.awt.X11.XComponentPeer.multibuffer"); |
78 private static final PlatformLogger buffersLog = PlatformLogger.getLogger("sun.awt.X11.XComponentPeer.multibuffer"); |