| java.lang.Object sun.java2d.d3d.D3DContext
D3DContext | public class D3DContext (Code) | | |
Method Summary | |
static long | getContext(SurfaceData srcData, SurfaceData dstData, Region clip, Composite comp, AffineTransform xform, int pixel, int flags) Fetches the D3DContext associated with the current
thread/GraphicsConfig pair, validates the context using the given
parameters, then returns the handle to the native context object. | public int | getDeviceCaps() | long | getNativeContext() Returns a handle to the native D3DContext structure associated with
this object. | boolean | isRTTSupported() | void | reinitNativeContext() Reinitializes the context by retrieving a pointer to the native
D3DContext object, and resetting the device caps. |
J2D_D3D_BM_TEXTURE_SURFACE_OK | final public static int J2D_D3D_BM_TEXTURE_SURFACE_OK(Code) | | Device supports creation of bitmask textures
|
J2D_D3D_DEPTH_SURFACE_OK | final public static int J2D_D3D_DEPTH_SURFACE_OK(Code) | | Device supports depth buffer for d3d render targets
|
J2D_D3D_DEVICE_OK | final public static int J2D_D3D_DEVICE_OK(Code) | | Device has all hw capabilities the d3d pipeline requires
|
J2D_D3D_ENABLED_OK | final public static int J2D_D3D_ENABLED_OK(Code) | | Direct3D pipeline is enabled on this device
|
J2D_D3D_FAILURE | final public static int J2D_D3D_FAILURE(Code) | | This is a list of capabilities supported by the device this
context is associated with.
See Also: getDeviceCaps |
J2D_D3D_HW_OK | final public static int J2D_D3D_HW_OK(Code) | | The device is not from a list of known bad devices
(see D3DRuntimeTest.cpp)
|
J2D_D3D_LINES_OK | final public static int J2D_D3D_LINES_OK(Code) | | Device can render lines correctly (no pixelization issues)
|
J2D_D3D_LINE_CLIPPING_OK | final public static int J2D_D3D_LINE_CLIPPING_OK(Code) | | Device can render clipped lines correctly.
|
J2D_D3D_OP_RTT_SURFACE_OK | final public static int J2D_D3D_OP_RTT_SURFACE_OK(Code) | | Device supports creation of opaque render-to-textures
|
J2D_D3D_OP_TEXTURE_SURFACE_OK | final public static int J2D_D3D_OP_TEXTURE_SURFACE_OK(Code) | | Device supports creation of opaque textures
|
J2D_D3D_PIXEL_FORMATS_OK | final public static int J2D_D3D_PIXEL_FORMATS_OK(Code) | | Device supports all necessary texture formats required by d3d pipeline
|
J2D_D3D_PLAIN_SURFACE_OK | final public static int J2D_D3D_PLAIN_SURFACE_OK(Code) | | Device supports creation of plain d3d surfaces
|
J2D_D3D_SET_TRANSFORM_OK | final public static int J2D_D3D_SET_TRANSFORM_OK(Code) | | Device supports geometry transformations
|
J2D_D3D_TEXTURE_BLIT_OK | final public static int J2D_D3D_TEXTURE_BLIT_OK(Code) | | Device supports texture mapping (no pixelization issues)
|
J2D_D3D_TEXTURE_TRANSFORM_OK | final public static int J2D_D3D_TEXTURE_TRANSFORM_OK(Code) | | Device supports texture mapping with transforms (no pixelization issues)
|
J2D_D3D_TR_TEXTURE_SURFACE_OK | final public static int J2D_D3D_TR_TEXTURE_SURFACE_OK(Code) | | Device supports creation of translucent textures
|
LOCK | static Object LOCK(Code) | | The lock object used to synchronize access to the native windowing
system layer. Note that rendering methods should always synchronize on
D3DContext.LOCK before calling the D3DContext.getContext() method,
or any other method that invokes native D3d commands.
REMIND: in D3D case we should really be synchronizing on per-device
basis.
|
NO_CONTEXT_FLAGS | final public static int NO_CONTEXT_FLAGS(Code) | | |
SRC_IS_OPAQUE | final public static int SRC_IS_OPAQUE(Code) | | Used in D3DBlitLoops: if the source surface is opaque
alpha blending can be turned off on the native level
(if there's no ea), thus improving performance.
|
nativeContext | protected long nativeContext(Code) | | |
getContext | static long getContext(SurfaceData srcData, SurfaceData dstData, Region clip, Composite comp, AffineTransform xform, int pixel, int flags)(Code) | | Fetches the D3DContext associated with the current
thread/GraphicsConfig pair, validates the context using the given
parameters, then returns the handle to the native context object.
Most rendering operations will call this method first in order to
prepare the native D3d layer before issuing rendering commands.
|
getDeviceCaps | public int getDeviceCaps()(Code) | | |
getNativeContext | long getNativeContext()(Code) | | Returns a handle to the native D3DContext structure associated with
this object.
|
isRTTSupported | boolean isRTTSupported()(Code) | | |
reinitNativeContext | void reinitNativeContext()(Code) | | Reinitializes the context by retrieving a pointer to the native
D3DContext object, and resetting the device caps.
|
|
|