< prev index next >

src/java.desktop/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java

Print this page

        

*** 57,67 **** * Since it is not possible to render directly to the front buffer * with D3D9, we create a swap chain surface (with COPY effect) in place of the * GDIWindowSurfaceData. A background thread handles the swap chain flips. * * There are some restrictions to which windows we would use this for. ! * @see #createScreenSurface() */ public class D3DScreenUpdateManager extends ScreenUpdateManager implements Runnable { /** --- 57,67 ---- * Since it is not possible to render directly to the front buffer * with D3D9, we create a swap chain surface (with COPY effect) in place of the * GDIWindowSurfaceData. A background thread handles the swap chain flips. * * There are some restrictions to which windows we would use this for. ! * @see #createScreenSurface */ public class D3DScreenUpdateManager extends ScreenUpdateManager implements Runnable { /**
*** 288,298 **** } /** * Adds a surface to the list of tracked surfaces. * ! * @param d3dw the surface to be added */ private void trackScreenSurface(SurfaceData sd) { if (!done && sd instanceof D3DWindowSurfaceData) { synchronized (this) { if (d3dwSurfaces == null) { --- 288,298 ---- } /** * Adds a surface to the list of tracked surfaces. * ! * @param sd the surface to be added */ private void trackScreenSurface(SurfaceData sd) { if (!done && sd instanceof D3DWindowSurfaceData) { synchronized (this) { if (d3dwSurfaces == null) {
< prev index next >