APIdia Launch Partner
Top Fields Constructors Methods
com.sun.scenario.effect.impl.prism.sw

public Class PSWDrawable

extends PrDrawable
implements HeapImage
Class Inheritance
All Implemented Interfaces
com.sun.scenario.effect.impl.HeapImage, com.sun.scenario.effect.Filterable, com.sun.scenario.effect.LockableResource
Imports
java.nio.IntBuffer, java.util.Arrays, com.sun.glass.ui.Screen, com.sun.prism.Graphics, .GraphicsPipeline, .Image, .RTTexture, .ResourceFactory, .Texture, .Texture.Usage, .Texture.WrapMode, com.sun.scenario.effect.impl.HeapImage, com.sun.scenario.effect.impl.prism.PrDrawable

Field Summary

Modifier and TypeField and Description
private boolean
private Image
private RTTexture
private boolean

Constructor Summary

AccessConstructor and Description
private
PSWDrawable(RTTexture rtt, boolean isDirty)

Method Summary

Modifier and TypeMethod and Description
public void
public static PSWDrawable
pack-priv static PSWDrawable
create(Screen screen, int width, int height)

public Graphics
public void
pack-priv static int
getCompatibleHeight(Screen screen, int h)

pack-priv static int
getCompatibleWidth(Screen screen, int w)

public int
public int
public Object
public int
public int
public int
public int
public int[]
public int
public RTTexture
public boolean
public void
public void
Inherited from com.sun.scenario.effect.impl.prism.PrDrawable:
creategetImagePoolgetPixelScalesetImagePool

Field Detail

heapDirtyback to summary
private boolean heapDirty
imageback to summary
private Image image
rttback to summary
private RTTexture rtt
vramDirtyback to summary
private boolean vramDirty

Constructor Detail

PSWDrawableback to summary
private PSWDrawable(RTTexture rtt, boolean isDirty)

Method Detail

clearback to summary
public void clear()

Overrides com.sun.scenario.effect.impl.prism.PrDrawable.clear.

Annotations
@Override
createback to summary
public static PSWDrawable create(RTTexture rtt)
createback to summary
pack-priv static PSWDrawable create(Screen screen, int width, int height)
createGraphicsback to summary
public Graphics createGraphics()

Implements abstract com.sun.scenario.effect.impl.prism.PrDrawable.createGraphics.

Annotations
@Override
flushback to summary
public void flush()

Implements com.sun.scenario.effect.Filterable.flush.

Annotations
@Override
getCompatibleHeightback to summary
pack-priv static int getCompatibleHeight(Screen screen, int h)
getCompatibleWidthback to summary
pack-priv static int getCompatibleWidth(Screen screen, int w)
getContentHeightback to summary
public int getContentHeight()

Implements com.sun.scenario.effect.Filterable.getContentHeight.

Annotations
@Override
getContentWidthback to summary
public int getContentWidth()

Implements com.sun.scenario.effect.Filterable.getContentWidth.

Annotations
@Override
getDataback to summary
public Object getData()

Implements com.sun.scenario.effect.Filterable.getData.

Annotations
@Override
getMaxContentHeightback to summary
public int getMaxContentHeight()

Overrides com.sun.scenario.effect.impl.prism.PrDrawable.getMaxContentHeight.

Implements com.sun.scenario.effect.Filterable.getMaxContentHeight.

Annotations
@Override
getMaxContentWidthback to summary
public int getMaxContentWidth()

Overrides com.sun.scenario.effect.impl.prism.PrDrawable.getMaxContentWidth.

Implements com.sun.scenario.effect.Filterable.getMaxContentWidth.

Annotations
@Override
getPhysicalHeightback to summary
public int getPhysicalHeight()

Implements com.sun.scenario.effect.Filterable.getPhysicalHeight.

Annotations
@Override
getPhysicalWidthback to summary
public int getPhysicalWidth()

Implements com.sun.scenario.effect.Filterable.getPhysicalWidth.

Annotations
@Override
getPixelArrayback to summary
public int[] getPixelArray()

Implements com.sun.scenario.effect.impl.HeapImage.getPixelArray.

Annotations
@Override
getScanlineStrideback to summary
public int getScanlineStride()

Implements com.sun.scenario.effect.impl.HeapImage.getScanlineStride.

Annotations
@Override
getTextureObjectback to summary
public RTTexture getTextureObject()

Overrides com.sun.scenario.effect.impl.prism.PrTexture.getTextureObject.

Annotations
@Override
isLostback to summary
public boolean isLost()

Overrides com.sun.scenario.effect.impl.prism.PrTexture.isLost.

Implements com.sun.scenario.effect.LockableResource.isLost.

Annotations
@Override
setContentHeightback to summary
public void setContentHeight(int contentH)

Overrides com.sun.scenario.effect.impl.prism.PrDrawable.setContentHeight.

Implements com.sun.scenario.effect.Filterable.setContentHeight.

Annotations
@Override
setContentWidthback to summary
public void setContentWidth(int contentW)

Overrides com.sun.scenario.effect.impl.prism.PrDrawable.setContentWidth.

Implements com.sun.scenario.effect.Filterable.setContentWidth.

Annotations
@Override