APIdia Launch Partner
Top Fields Constructors Methods
com.sun.javafx.webkit.prism

pack-priv final Class RTImage

extends PrismImage
implements ResourceFactoryListener
Class Inheritance
All Implemented Interfaces
com.sun.prism.ResourceFactoryListener
Imports
com.sun.javafx.logging.PlatformLogger, com.sun.prism.CompositeMode, .Graphics, .GraphicsPipeline, .Image, .PixelFormat, .PrinterGraphics, .RTTexture, .ResourceFactory, .ResourceFactoryListener, .Texture, com.sun.prism.paint.Color, .Paint, java.lang.ref.WeakReference, java.nio.ByteBuffer, .ByteOrder, .IntBuffer

Author
Alexey.Ushakov

Field Summary

Modifier and TypeField and Description
private final int
private static final PlatformLogger
private ByteBuffer
private float
private WeakReference<ResourceFactory>
private RTTexture
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
RTImage(int w, int h, float pixelScale)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
draw(Graphics g, int dstx1, int dsty1, int dstx2, int dsty2, int srcx1, int srcy1, int srcx2, int srcy2)

Implements abstract com.sun.javafx.webkit.prism.PrismImage.draw.

protected void
public void
factoryReleased()

Implements com.sun.prism.ResourceFactoryListener.factoryReleased.

Called when the factory is released.

public void
factoryReset()

Implements com.sun.prism.ResourceFactoryListener.factoryReset.

Called when the factory is lost and about to be reset.

pack-priv Graphics
public int
pack-priv Image
public ByteBuffer
public float
private RTTexture
public int
Inherited from com.sun.javafx.webkit.prism.PrismImage:
derefgetPlatformImagetoBufferedImagetoDatatoDataURL

Field Detail

heightback to summary
private final int height
logback to summary
private static final PlatformLogger log
pixelBufferback to summary
private ByteBuffer pixelBuffer
pixelScaleback to summary
private float pixelScale
registeredWithFactoryback to summary
private WeakReference<ResourceFactory> registeredWithFactory
txtback to summary
private RTTexture txt
widthback to summary
private final int width

Constructor Detail

RTImageback to summary
pack-priv RTImage(int w, int h, float pixelScale)

Method Detail

disposeback to summary
pack-priv void dispose()

Implements abstract com.sun.javafx.webkit.prism.PrismImage.dispose.

Annotations
@Override
drawback to summary
pack-priv void draw(Graphics g, int dstx1, int dsty1, int dstx2, int dsty2, int srcx1, int srcy1, int srcx2, int srcy2)

Implements abstract com.sun.javafx.webkit.prism.PrismImage.draw.

Annotations
@Override
drawPixelBufferback to summary
protected void drawPixelBuffer()

Overrides com.sun.webkit.graphics.WCImage.drawPixelBuffer.

Annotations
@Override
factoryReleasedback to summary
public void factoryReleased()

Implements com.sun.prism.ResourceFactoryListener.factoryReleased.

Doc from com.sun.prism.ResourceFactoryListener.factoryReleased.

Called when the factory is released. This may result in all resources becoming invalid. The listeners should let go of all resources created from this factory.

Annotations
@Override
factoryResetback to summary
public void factoryReset()

Implements com.sun.prism.ResourceFactoryListener.factoryReset.

Doc from com.sun.prism.ResourceFactoryListener.factoryReset.

Called when the factory is lost and about to be reset. This may result in some of the vram based resources becoming invalid. The listeners can chose which resources to let go of depending on whether they're based in vram.

Annotations
@Override
getGraphicsback to summary
pack-priv Graphics getGraphics()

Implements abstract com.sun.javafx.webkit.prism.PrismImage.getGraphics.

Annotations
@Override
getHeightback to summary
public int getHeight()

Implements abstract com.sun.webkit.graphics.WCImage.getHeight.

Annotations
@Override
getImageback to summary
pack-priv Image getImage()

Implements abstract com.sun.javafx.webkit.prism.PrismImage.getImage.

Annotations
@Override
getPixelBufferback to summary
public ByteBuffer getPixelBuffer()

Overrides com.sun.webkit.graphics.WCImage.getPixelBuffer.

Annotations
@Override
getPixelScaleback to summary
public float getPixelScale()

Implements abstract com.sun.webkit.graphics.WCImage.getPixelScale.

Annotations
@Override
getTextureback to summary
private RTTexture getTexture()
getWidthback to summary
public int getWidth()

Implements abstract com.sun.webkit.graphics.WCImage.getWidth.

Annotations
@Override