APIdia Launch Partner
Top Constructors Methods
com.sun.prism.null3d

pack-priv Class DummyGraphics

extends BaseShaderGraphics
Class Inheritance
Imports
com.sun.prism.Graphics, .RenderTarget, com.sun.prism.impl.ps.BaseShaderGraphics, com.sun.prism.paint.Color

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.

public void
clearQuad(float x1, float y1, float x2, float y2)

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

Implements com.sun.prism.Graphics.clearQuad.

Clears the region represented by the given quad with transparent pixels.

pack-priv static Graphics
public boolean
public void
public void
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:
blitcanReadBackdrawEllipsedrawLinedrawMappedTextureRaw2drawMultiTexturedrawPixelsMaskeddrawRectdrawRoundRectdrawStringdrawTexturedrawTexture3SliceHdrawTexture3SliceVdrawTexture9SlicedrawTextureRaw2fillEllipsefillQuadfillRectfillRoundRectgetExternalShadergetLightsgetPaintShaderTransformmaskInterpolatePixelsreadBackreleaseReadBackBufferrenderShapesetExternalShadersetLightssetNodeBoundssetPaint

Constructor Detail

DummyGraphicsback to summary
private DummyGraphics(DummyContext 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
clearQuadback to summary
public void clearQuad(float x1, float y1, float x2, float y2)

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

Implements com.sun.prism.Graphics.clearQuad.

Doc from com.sun.prism.Graphics.clearQuad.

Clears the region represented by the given quad with transparent pixels. Note that this operation is affected by the current clip rectangle, if set, as well as the current transform (the quad is specified in user space). Also note that unlike the clear() methods, this method does not attempt to clear the depth buffer.

Annotations
@Override
createback to summary
pack-priv static Graphics create(RenderTarget target, DummyContext ctx)
isState3Dback to summary
public boolean isState3D()

Overrides com.sun.prism.impl.BaseGraphics.isState3D.

Implements com.sun.prism.Graphics.isState3D.

Annotations
@Override
setState3Dback to summary
public void setState3D(boolean flag)

Overrides com.sun.prism.impl.BaseGraphics.setState3D.

Implements com.sun.prism.Graphics.setState3D.

Annotations
@Override
setup3DRenderingback to summary
public void setup3DRendering()

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

Implements com.sun.prism.Graphics.setup3DRendering.

Annotations
@Override
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