equal
deleted
inserted
replaced
26 package sun.java2d.pipe.hw; |
26 package sun.java2d.pipe.hw; |
27 |
27 |
28 import java.awt.Rectangle; |
28 import java.awt.Rectangle; |
29 import sun.java2d.Surface; |
29 import sun.java2d.Surface; |
30 |
30 |
|
31 import javax.tools.annotation.GenerateNativeHeader; |
|
32 |
31 /** |
33 /** |
32 * Abstraction for a hardware accelerated surface. |
34 * Abstraction for a hardware accelerated surface. |
33 */ |
35 */ |
|
36 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
37 @GenerateNativeHeader |
34 public interface AccelSurface extends BufferedContextProvider, Surface { |
38 public interface AccelSurface extends BufferedContextProvider, Surface { |
35 /** |
39 /** |
36 * Undefined |
40 * Undefined |
37 */ |
41 */ |
38 public static final int UNDEFINED = 0; |
42 public static final int UNDEFINED = 0; |