APIdia Launch Partner
Top Inners Fields Constructors Methods
com.sun.prism.sw

pack-priv final Class SWContext

extends Object
Class Inheritance
Imports
com.sun.javafx.geom.Path2D, .Rectangle, .Shape, com.sun.javafx.geom.transform.BaseTransform, com.sun.marlin.ArrayCacheIntClean, .DMarlinRenderingEngine, .RendererContext, .MarlinAlphaConsumer, .MarlinConst, .MarlinRenderer, com.sun.pisces.PiscesRenderer, com.sun.prism.BasicStroke, .PixelFormat, .ResourceFactory, .Texture, com.sun.prism.impl.PrismSettings, com.sun.prism.impl.shape.DMarlinPrismUtils, java.lang.ref.SoftReference

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class
pack-priv static interface

Field Summary

Modifier and TypeField and Description
private final ResourceFactory
private SoftReference<SWArgbPreTexture>
private SoftReference<SWRTTexture>
private final SWContext.ShapeRenderer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
private void
private void
private SWArgbPreTexture
initImagePaintTexture(int width, int height)

private SWRTTexture
initRBBuffer(int width, int height)

pack-priv void
renderShape(PiscesRenderer pr, Shape shape, BasicStroke stroke, BaseTransform tr, Rectangle clip, boolean antialiasedShape)

pack-priv SWArgbPreTexture
validateImagePaintTexture(int width, int height)

pack-priv SWRTTexture
validateRBBuffer(int width, int height)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

factoryback to summary
private final ResourceFactory factory
imagePaintTextureRefback to summary
private SoftReference<SWArgbPreTexture> imagePaintTextureRef
readBackBufferRefback to summary
private SoftReference<SWRTTexture> readBackBufferRef
shapeRendererback to summary
private final SWContext.ShapeRenderer shapeRenderer

Constructor Detail

SWContextback to summary
pack-priv SWContext(ResourceFactory factory)

Method Detail

disposeback to summary
pack-priv void dispose()
disposeImagePaintTextureback to summary
private void disposeImagePaintTexture()
disposeRBBufferback to summary
private void disposeRBBuffer()
initImagePaintTextureback to summary
private SWArgbPreTexture initImagePaintTexture(int width, int height)
initRBBufferback to summary
private SWRTTexture initRBBuffer(int width, int height)
renderShapeback to summary
pack-priv void renderShape(PiscesRenderer pr, Shape shape, BasicStroke stroke, BaseTransform tr, Rectangle clip, boolean antialiasedShape)
validateImagePaintTextureback to summary
pack-priv SWArgbPreTexture validateImagePaintTexture(int width, int height)
validateRBBufferback to summary
pack-priv SWRTTexture validateRBBuffer(int width, int height)
com.sun.prism.sw back to summary

pack-priv final Class SWContext.DirectRTMarlinAlphaConsumer

extends Object
implements MarlinAlphaConsumer
Class Inheritance
All Implemented Interfaces
com.sun.marlin.MarlinAlphaConsumer, com.sun.openpisces.AlphaConsumer

Field Summary

Modifier and TypeField and Description
private byte[]
private int
h

private PiscesRenderer
private int
private int
w

private int
x

private int
y

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public int
public int
public int
public int
public void
initConsumer(int x, int y, int w, int h, PiscesRenderer pr)

public void
setAndClearRelativeAlphas(final int[] alphaDeltas, final int pix_y, final int pix_from, final int pix_to)

Implements com.sun.openpisces.AlphaConsumer.setAndClearRelativeAlphas.

public void
setAndClearRelativeAlphas(final int[] blkFlags, final int[] alphaDeltas, final int pix_y, final int pix_from, final int pix_to)

Implements com.sun.marlin.MarlinAlphaConsumer.setAndClearRelativeAlphas.

public void
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

alpha_mapback to summary
private byte[] alpha_map
hback to summary
private int h
prback to summary
private PiscesRenderer pr
rowNumback to summary
private int rowNum
wback to summary
private int w
xback to summary
private int x
yback to summary
private int y

Constructor Detail

DirectRTMarlinAlphaConsumerback to summary
pack-priv DirectRTMarlinAlphaConsumer()

Method Detail

clearAlphasback to summary
public void clearAlphas(final int pix_y)

Implements com.sun.marlin.MarlinAlphaConsumer.clearAlphas.

Annotations
@Override
getHeightback to summary
public int getHeight()

Implements com.sun.openpisces.AlphaConsumer.getHeight.

Annotations
@Override
getOriginXback to summary
public int getOriginX()

Implements com.sun.openpisces.AlphaConsumer.getOriginX.

Annotations
@Override
getOriginYback to summary
public int getOriginY()

Implements com.sun.openpisces.AlphaConsumer.getOriginY.

Annotations
@Override
getWidthback to summary
public int getWidth()

Implements com.sun.openpisces.AlphaConsumer.getWidth.

Annotations
@Override
initConsumerback to summary
public void initConsumer(int x, int y, int w, int h, PiscesRenderer pr)
setAndClearRelativeAlphasback to summary
public void setAndClearRelativeAlphas(final int[] alphaDeltas, final int pix_y, final int pix_from, final int pix_to)

Implements com.sun.openpisces.AlphaConsumer.setAndClearRelativeAlphas.

Annotations
@Override
setAndClearRelativeAlphasback to summary
public void setAndClearRelativeAlphas(final int[] blkFlags, final int[] alphaDeltas, final int pix_y, final int pix_from, final int pix_to)

Implements com.sun.marlin.MarlinAlphaConsumer.setAndClearRelativeAlphas.

Annotations
@Override
setMaxAlphaback to summary
public void setMaxAlpha(int maxalpha)

Implements com.sun.openpisces.AlphaConsumer.setMaxAlpha.

Annotations
@Override
supportBlockFlagsback to summary
public boolean supportBlockFlags()

Implements com.sun.marlin.MarlinAlphaConsumer.supportBlockFlags.

Annotations
@Override
com.sun.prism.sw back to summary

pack-priv final Class SWContext.DMarlinShapeRenderer

extends Object
implements ShapeRenderer
Class Inheritance
All Implemented Interfaces
com.sun.prism.sw.SWContext.ShapeRenderer

Field Summary

Modifier and TypeField and Description
private final SWContext.DirectRTMarlinAlphaConsumer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

alphaConsumerback to summary
private final SWContext.DirectRTMarlinAlphaConsumer alphaConsumer

Constructor Detail

DMarlinShapeRendererback to summary
pack-priv DMarlinShapeRenderer()

Method Detail

disposeback to summary
public void dispose()

Implements com.sun.prism.sw.SWContext.ShapeRenderer.dispose.

Annotations
@Override
renderShapeback to summary
public void renderShape(PiscesRenderer pr, Shape shape, BasicStroke stroke, BaseTransform tr, Rectangle clip, boolean antialiasedShape)

Implements com.sun.prism.sw.SWContext.ShapeRenderer.renderShape.

Annotations
@Override
com.sun.prism.sw back to summary

pack-priv Interface SWContext.ShapeRenderer

Known Direct Implementers
com.sun.prism.sw.SWContext.DMarlinShapeRenderer

Method Summary

Modifier and TypeMethod and Description
public void
public void
renderShape(PiscesRenderer pr, Shape shape, BasicStroke stroke, BaseTransform tr, Rectangle clip, boolean antialiasedShape)

Method Detail

disposeback to summary
public void dispose()
renderShapeback to summary
public void renderShape(PiscesRenderer pr, Shape shape, BasicStroke stroke, BaseTransform tr, Rectangle clip, boolean antialiasedShape)