Top Fields Constructors Methods
com.sun.javafx.webkit.prism

pack-priv final Class WCPageBackBufferImpl

extends WCPageBackBuffer
implements ResourceFactoryListener
Class Inheritance
All Implemented Interfaces
com.sun.prism.ResourceFactoryListener
Imports
com.sun.javafx.logging.PlatformLogger, com.sun.prism.Graphics, .GraphicsPipeline, .RTTexture, .ResourceFactory, .ResourceFactoryListener, .Texture, com.sun.webkit.graphics.WCCamera, .WCGraphicsContext, .WCGraphicsManager, .WCPageBackBuffer, java.lang.ref.WeakReference

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
WCPageBackBufferImpl(float pixelScale)

Method Summary

Modifier and TypeMethod and Description
protected void
copyArea(int x, int y, int w, int h, int dx, int dy)

Implements abstract com.sun.webkit.graphics.WCPageBackBuffer.copyArea.

public WCGraphicsContext
private static RTTexture
createTexture(int w, int h)

public 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.

public void
flush(final WCGraphicsContext gc, int x, int y, final int w, final int h)

Implements abstract com.sun.webkit.graphics.WCPageBackBuffer.flush.

public boolean
validate(int width, int height)

Implements abstract com.sun.webkit.graphics.WCPageBackBuffer.validate.

Field Detail

firstValidateback to summary
private boolean firstValidate
logback to summary
private static final PlatformLogger log
pixelScaleback to summary
private float pixelScale
registeredWithFactoryback to summary
private WeakReference<ResourceFactory> registeredWithFactory
textureback to summary
private RTTexture texture

Constructor Detail

WCPageBackBufferImplback to summary
pack-priv WCPageBackBufferImpl(float pixelScale)

Method Detail

copyAreaback to summary
protected void copyArea(int x, int y, int w, int h, int dx, int dy)

Implements abstract com.sun.webkit.graphics.WCPageBackBuffer.copyArea.

Annotations
@Override
createGraphicsback to summary
public WCGraphicsContext createGraphics()

Implements abstract com.sun.webkit.graphics.WCPageBackBuffer.createGraphics.

Annotations
@Override
createTextureback to summary
private static RTTexture createTexture(int w, int h)
disposeGraphicsback to summary
public void disposeGraphics(WCGraphicsContext gc)

Implements abstract com.sun.webkit.graphics.WCPageBackBuffer.disposeGraphics.

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
flushback to summary
public void flush(final WCGraphicsContext gc, int x, int y, final int w, final int h)

Implements abstract com.sun.webkit.graphics.WCPageBackBuffer.flush.

Annotations
@Override
validateback to summary
public boolean validate(int width, int height)

Implements abstract com.sun.webkit.graphics.WCPageBackBuffer.validate.

Annotations
@Override