Lines Matching defs:surface
71 private static void testInvalidType(AccelSurface surface, int type) {
72 long ret = surface.getNativeResource(type);
76 "FAILED: surface.getNativeResource(%d) returned" +
83 private static void testD3DDeviceResourceField(final AccelSurface surface) {
86 if (d3dc.isInstance(surface)) {
93 surface.getNativeResource(d3dDR));
106 final AccelSurface surface = (AccelSurface) s;
108 System.out.println(" type=" + surface.getType());
109 System.out.println(" bounds=" + surface.getBounds());
110 System.out.println(" nativeBounds=" + surface.getNativeBounds());
111 System.out.println(" isSurfaceLost=" + surface.isSurfaceLost());
112 System.out.println(" isValid=" + surface.isValid());
113 RenderQueue rq = surface.getContext().getRenderQueue();
119 surface.getNativeResource(TEXTURE));
121 surface.getNativeResource(RT_TEXTURE));
123 surface.getNativeResource(RT_PLAIN));
126 surface.getNativeResource(FLIP_BACKBUFFER));
128 testD3DDeviceResourceField(surface);
130 testInvalidType(surface, -1);
131 testInvalidType(surface, -150);
132 testInvalidType(surface, 300);
133 testInvalidType(surface, Integer.MAX_VALUE);
134 testInvalidType(surface, Integer.MIN_VALUE);
141 System.out.println("null accelerated surface");
239 "created for cap=%d but accel surface is null\n",