jdk/src/windows/classes/sun/java2d/d3d/D3DContext.java
changeset 12813 c10ab96dcf41
parent 5506 202f599c92aa
child 16734 da1901d79073
--- a/jdk/src/windows/classes/sun/java2d/d3d/D3DContext.java	Wed Jul 05 18:09:43 2017 +0200
+++ b/jdk/src/windows/classes/sun/java2d/d3d/D3DContext.java	Thu Jun 07 18:05:09 2012 -0700
@@ -25,6 +25,7 @@
 
 package sun.java2d.d3d;
 
+import javax.tools.annotation.GenerateNativeHeader;
 import sun.java2d.pipe.BufferedContext;
 import sun.java2d.pipe.RenderBuffer;
 import sun.java2d.pipe.RenderQueue;
@@ -37,6 +38,8 @@
  * Note that the RenderQueue lock must be acquired before calling any of
  * the methods in this class.
  */
+/* No native methods here, but the constants are needed in the supporting JNI code */
+@GenerateNativeHeader
 class D3DContext extends BufferedContext {
 
     private final D3DGraphicsDevice device;
@@ -140,6 +143,8 @@
         return device;
     }
 
+    /* No native methods here, but the constants are needed in the supporting JNI code */
+    @GenerateNativeHeader
     static class D3DContextCaps extends ContextCapabilities {
         /**
          * Indicates the presence of pixel shaders (v2.0 or greater).