/** * If acceleration should no longer be used for this surface. This implementation flags to the * manager that it should no longer attempt to re-create a D3DSurface. */ void disableAccelerationForSurface() { if (offscreenImage != null) { SurfaceManager sm = SurfaceManager.getManager(offscreenImage); if (sm instanceof D3DVolatileSurfaceManager) { setSurfaceLost(true); ((D3DVolatileSurfaceManager) sm).setAccelerationEnabled(false); } } }
@Override public void Blit( SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) { // see comment above D3DVolatileSurfaceManager.handleVItoScreenOp(src, dst); }
@Override public void Scale( SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2) { // see comment above D3DVolatileSurfaceManager.handleVItoScreenOp(src, dst); }