APIdia Launch Partner
Top Fields Constructors Methods
com.sun.prism.d3d

pack-priv Class D3DGraphics

extends BaseShaderGraphics
implements D3DContextSource
Class Inheritance
All Implemented Interfaces
com.sun.prism.d3d.D3DContextSource
Imports
com.sun.javafx.geom.transform.Affine3D, com.sun.prism.Graphics, .RenderTarget, com.sun.prism.impl.PrismSettings, com.sun.prism.impl.ps.BaseShaderGraphics, com.sun.prism.paint.Color

Field Summary

Modifier and TypeField and Description
private final D3DContext

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
clear(Color color)

Implements com.sun.prism.Graphics.clear.

Clears the current RenderTarget with the given Color.

pack-priv static Graphics
create(RenderTarget target, D3DContext context)

public D3DContext
public void
private static native int
nClear(long pContext, int colorArgbPre, boolean clearDepth, boolean ignoreScissor)

public void
sync()

Implements com.sun.prism.Graphics.sync.

Synchronize, or flush, any outstanding rendering operations to the destination in preparation for some caller potentially reusing or disposing a resource that has been used as the source of a recently invoked rendering operation.

Inherited from com.sun.prism.impl.ps.BaseShaderGraphics:
blitcanReadBackclearQuaddrawEllipsedrawLinedrawMappedTextureRaw2drawMultiTexturedrawPixelsMaskeddrawRectdrawRoundRectdrawStringdrawTexturedrawTexture3SliceHdrawTexture3SliceVdrawTexture9SlicedrawTextureRaw2fillEllipsefillQuadfillRectfillRoundRectgetExternalShadergetLightsmaskInterpolatePixelsreadBackreleaseReadBackBufferrenderShapesetExternalShadersetLightssetNodeBoundssetPaintsetup3DRendering

Field Detail

contextback to summary
private final D3DContext context

Hides com.sun.prism.impl.ps.BaseShaderGraphics.context.

Constructor Detail

D3DGraphicsback to summary
private D3DGraphics(D3DContext context, RenderTarget target)

Method Detail

clearback to summary
public void clear(Color color)

Implements com.sun.prism.Graphics.clear.

Doc from com.sun.prism.Graphics.clear.

Clears the current RenderTarget with the given Color. Note that this operation is affected by the current clip rectangle, if set. To clear the entire surface, call setClipRect(null) prior to calling clear().

Annotations
@Override
createback to summary
pack-priv static Graphics create(RenderTarget target, D3DContext context)
getContextback to summary
public D3DContext getContext()

Hides com.sun.prism.impl.ps.BaseShaderGraphics.getContext.

Implements com.sun.prism.d3d.D3DContextSource.getContext.

Annotations
@Override
getPaintShaderTransformback to summary
public void getPaintShaderTransform(Affine3D ret)

Overrides com.sun.prism.impl.ps.BaseShaderGraphics.getPaintShaderTransform.

Implements com.sun.prism.ps.ShaderGraphics.getPaintShaderTransform.

Annotations
@Override
nClearback to summary
private static native int nClear(long pContext, int colorArgbPre, boolean clearDepth, boolean ignoreScissor)
syncback to summary
public void sync()

Implements com.sun.prism.Graphics.sync.

Doc from com.sun.prism.Graphics.sync.

Synchronize, or flush, any outstanding rendering operations to the destination in preparation for some caller potentially reusing or disposing a resource that has been used as the source of a recently invoked rendering operation. This method does not (yet?) guarantee that the actual pixels in the destination will be updated - it simply guarantees that no currently buffered rendering will depend on any texture data included by reference. The typical usage is before a Texture disposal or "return to texture cache pool" operation.

Annotations
@Override