| sun.java2d.windows.Win32OffScreenSurfaceData sun.java2d.d3d.D3DSurfaceData
All known Subclasses: sun.java2d.d3d.D3DBackBufferSurfaceData,
Method Summary | |
public static D3DSurfaceData | createData(int width, int height, int d3dSurfaceType, ColorModel cm, GraphicsConfiguration gc, Image image) | public void | disableD3D() Disables D3D acceleration on the surface manager of this surfaceData
object. | D3DContext | getContext() | int | getPixelFormat() | static SurfaceType | getSurfaceType(GraphicsConfiguration gc, ColorModel cm, int d3dSurfaceType) | protected int | initSurface(int width, int height, int screen, Win32SurfaceData parentData) | public SurfaceDataProxy | makeProxyFor(SurfaceData srcData) | public boolean | surfacePunted() | public void | validatePipe(SunGraphics2D sg2d) |
D3DSurface | final public static SurfaceType D3DSurface(Code) | | |
D3DTexture | final public static SurfaceType D3DTexture(Code) | | |
D3D_ATTACHED_SURFACE | final public static int D3D_ATTACHED_SURFACE(Code) | | This property is used for a back-buffer surface
|
D3D_BACKBUFFER_SURFACE | final public static int D3D_BACKBUFFER_SURFACE(Code) | | Direct3D Backbuffer surface - an attached surface. Used for
multibuffered BufferStrategies.
|
D3D_INVALID_SURFACE | final public static int D3D_INVALID_SURFACE(Code) | | |
D3D_PLAIN_SURFACE | final public static int D3D_PLAIN_SURFACE(Code) | | Surface is a Direct3D plain surface (not a texture).
Plain surface can be used as render target.
VolatileImages typically use plain surfaces as their hardware
accelerated surfaces.
|
D3D_RENDER_TARGET | final public static int D3D_RENDER_TARGET(Code) | | A surface with this property can be used as a Direct3D rendering
destination.
|
D3D_RTT_SURFACE | final public static int D3D_RTT_SURFACE(Code) | | Render-to-texture. A texture which can also be a render target.
Combines the benefits of textures (fast copies-from) and
backbuffers or plain surfaces (hw-accelerated rendering to the surface)
|
D3D_TEXTURE_SURFACE | final public static int D3D_TEXTURE_SURFACE(Code) | | Direct3D texture. Mostly used for cached accelerated surfaces.
Surfaces of this type can be copied from using hardware acceleration
by using texture mapping.
|
DESC_DEST_D3D | final public static String DESC_DEST_D3D(Code) | | Surface type for texture destination. We cannot render textures to
the screen because Direct3D is not clipped by the window's clip list,
so we only enable the texture blit loops for copies to offscreen
accelerated surfaces.
|
DESC_INT_ARGB_D3D | final public static String DESC_INT_ARGB_D3D(Code) | | |
DESC_USHORT_4444_ARGB_D3D | final public static String DESC_USHORT_4444_ARGB_D3D(Code) | | |
IntArgbD3D | final public static SurfaceType IntArgbD3D(Code) | | |
IntArgbD3D_RTT | final public static SurfaceType IntArgbD3D_RTT(Code) | | |
IntRgbD3D | final public static SurfaceType IntRgbD3D(Code) | | D3D destination surface types (derive from offscreen dd surfaces).
Note that all of these surfaces have the same surface description;
we do not care about the depth of the surface since texture ops
support multiple depths.
|
IntRgbD3D_RTT | final public static SurfaceType IntRgbD3D_RTT(Code) | | |
IntRgbxD3D | final public static SurfaceType IntRgbxD3D(Code) | | |
IntRgbxD3D_RTT | final public static SurfaceType IntRgbxD3D_RTT(Code) | | |
PF_INT_ARGB | final public static int PF_INT_ARGB(Code) | | |
PF_INT_ARGB_PRE | final public static int PF_INT_ARGB_PRE(Code) | | |
PF_INT_BGR | final public static int PF_INT_BGR(Code) | | |
PF_INT_RGB | final public static int PF_INT_RGB(Code) | | |
PF_INT_RGBX | final public static int PF_INT_RGBX(Code) | | |
PF_INVALID | final public static int PF_INVALID(Code) | | |
PF_USHORT_4444_ARGB | final public static int PF_USHORT_4444_ARGB(Code) | | |
PF_USHORT_555_RGB | final public static int PF_USHORT_555_RGB(Code) | | |
PF_USHORT_555_RGBX | final public static int PF_USHORT_555_RGBX(Code) | | |
PF_USHORT_565_RGB | final public static int PF_USHORT_565_RGB(Code) | | |
ThreeByteBgrD3D | final public static SurfaceType ThreeByteBgrD3D(Code) | | |
ThreeByteBgrD3D_RTT | final public static SurfaceType ThreeByteBgrD3D_RTT(Code) | | |
Ushort4444ArgbD3D | final public static SurfaceType Ushort4444ArgbD3D(Code) | | |
Ushort4444ArgbD3D_RTT | final public static SurfaceType Ushort4444ArgbD3D_RTT(Code) | | |
Ushort555RgbD3D | final public static SurfaceType Ushort555RgbD3D(Code) | | |
Ushort555RgbD3D_RTT | final public static SurfaceType Ushort555RgbD3D_RTT(Code) | | |
Ushort555RgbxD3D | final public static SurfaceType Ushort555RgbxD3D(Code) | | |
Ushort555RgbxD3D_RTT | final public static SurfaceType Ushort555RgbxD3D_RTT(Code) | | |
Ushort565RgbD3D | final public static SurfaceType Ushort565RgbD3D(Code) | | |
Ushort565RgbD3D_RTT | final public static SurfaceType Ushort565RgbD3D_RTT(Code) | | |
d3dTxPipe | protected static PixelToShapeConverter d3dTxPipe(Code) | | |
pixelFormat | protected int pixelFormat(Code) | | |
D3DSurfaceData | protected D3DSurfaceData(int width, int height, int d3dSurfaceType, SurfaceType sType, ColorModel cm, GraphicsConfiguration gc, Image image, int transparency)(Code) | | Non-public constructor. Use createData() to create an object.
This constructor is used to house the common construction
code shared between the creation of D3DSurfaceData objects
and subclasses of D3DSurfaceData (such as D3DBackBufferSD).
It calls the common constructor in the parent, and then
initializes other shared D3D data.
|
disableD3D | public void disableD3D()(Code) | | Disables D3D acceleration on the surface manager of this surfaceData
object. This can happen when we encounter a hard error in rendering a D3D
primitive (for example, if we were unable to set a surface as D3D target
surface).
Upon next validation the SurfaceManager will create a non-D3D surface.
|
getPixelFormat | int getPixelFormat()(Code) | | |
makeProxyFor | public SurfaceDataProxy makeProxyFor(SurfaceData srcData)(Code) | | |
surfacePunted | public boolean surfacePunted()(Code) | | |
validatePipe | public void validatePipe(SunGraphics2D sg2d)(Code) | | |
Methods inherited from sun.java2d.windows.Win32OffScreenSurfaceData | public boolean copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy)(Code)(Java Doc) public static Win32OffScreenSurfaceData createData(int width, int height, ColorModel cm, Win32GraphicsConfig gc, Image image, int transparency)(Code)(Java Doc) protected void disableDD()(Code)(Java Doc) native public void flush()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Object getDestination()(Code)(Java Doc) public GraphicsConfiguration getDeviceConfiguration()(Code)(Java Doc) public synchronized Raster getRaster(int x, int y, int w, int h)(Code)(Java Doc) public RenderLoops getRenderLoops(SunGraphics2D sg2d)(Code)(Java Doc) public SurfaceData getReplacement()(Code)(Java Doc) public static SurfaceType getSurfaceType(ColorModel cm, int transparency)(Code)(Java Doc) public int getTransparency()(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public static boolean isDDScaleEnabled()(Code)(Java Doc) public SurfaceDataProxy makeProxyFor(SurfaceData srcData)(Code)(Java Doc) protected void markSurfaceLost()(Code)(Java Doc) native protected void nativeInvalidate()(Code)(Java Doc) native public void restoreSurface()(Code)(Java Doc) native public void setTransparentPixel(int pixel)(Code)(Java Doc) public boolean surfacePunted()(Code)(Java Doc) public void validatePipe(SunGraphics2D sg2d)(Code)(Java Doc)
|
|
|