Top Fields Constructors Methods
com.sun.prism.null3d

pack-priv Class DummySwapChain

extends DummyResource
implements Presentable
Class Inheritance
All Implemented Interfaces
com.sun.prism.Presentable, com.sun.prism.RenderTarget, com.sun.prism.Surface
Imports
com.sun.glass.ui.Screen, com.sun.javafx.geom.Rectangle, com.sun.prism.Graphics, .Presentable, .PresentableState

Field Summary

Modifier and TypeField and Description
private int
h

private boolean
private final PresentableState
private final DummyRTTexture
private int
w

Inherited from com.sun.prism.null3d.DummyResource:
context

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Graphics
public void
public Screen
public int
public int
public int
public int
public int
public int
public float
public float
public boolean
public boolean
public boolean
lockResources(PresentableState pState)

Implements com.sun.prism.Presentable.lockResources.

Locks any underlying resources needed for a createGraphics/prepare/present sequence and returns a boolean indicating if the presentable needs to be recreated.

public boolean
prepare(Rectangle clip)

Implements com.sun.prism.Presentable.prepare.

display the indicated region to the user.

public boolean
present()

Implements com.sun.prism.Presentable.present.

present the prepared region to the user.

public void

Field Detail

hback to summary
private int h
opaqueback to summary
private boolean opaque
pStateback to summary
private final PresentableState pState
texBackBufferback to summary
private final DummyRTTexture texBackBuffer
wback to summary
private int w

Constructor Detail

DummySwapChainback to summary
pack-priv DummySwapChain(DummyContext context, PresentableState pState, DummyRTTexture rtt)

Method Detail

createGraphicsback to summary
public Graphics createGraphics()

Implements com.sun.prism.RenderTarget.createGraphics.

Annotations
@Override
disposeback to summary
public void dispose()

Overrides com.sun.prism.null3d.DummyResource.dispose.

Implements com.sun.prism.GraphicsResource.dispose.

Annotations
@Override
getAssociatedScreenback to summary
public Screen getAssociatedScreen()

Implements com.sun.prism.RenderTarget.getAssociatedScreen.

Annotations
@Override
getContentHeightback to summary
public int getContentHeight()

Implements com.sun.prism.Surface.getContentHeight.

Annotations
@Override
getContentWidthback to summary
public int getContentWidth()

Implements com.sun.prism.Surface.getContentWidth.

Annotations
@Override
getContentXback to summary
public int getContentX()

Implements com.sun.prism.Surface.getContentX.

Annotations
@Override
getContentYback to summary
public int getContentY()

Implements com.sun.prism.Surface.getContentY.

Annotations
@Override
getPhysicalHeightback to summary
public int getPhysicalHeight()

Implements com.sun.prism.Surface.getPhysicalHeight.

Annotations
@Override
getPhysicalWidthback to summary
public int getPhysicalWidth()

Implements com.sun.prism.Surface.getPhysicalWidth.

Annotations
@Override
getPixelScaleFactorXback to summary
public float getPixelScaleFactorX()

Implements com.sun.prism.Presentable.getPixelScaleFactorX.

Annotations
@Override
getPixelScaleFactorYback to summary
public float getPixelScaleFactorY()

Implements com.sun.prism.Presentable.getPixelScaleFactorY.

Annotations
@Override
isMSAAback to summary
public boolean isMSAA()

Implements com.sun.prism.RenderTarget.isMSAA.

Annotations
@Override
isOpaqueback to summary
public boolean isOpaque()

Implements com.sun.prism.RenderTarget.isOpaque.

Annotations
@Override
lockResourcesback to summary
public boolean lockResources(PresentableState pState)

Implements com.sun.prism.Presentable.lockResources.

Doc from com.sun.prism.Presentable.lockResources.

Locks any underlying resources needed for a createGraphics/prepare/present sequence and returns a boolean indicating if the presentable needs to be recreated. If the method returns true and the Presentable implements GraphicsResource then its dispose() method will be called prior to recreating a new Presentable object and so no resource should need to be locked in that case. The resources will be unlocked in either prepare() or present().

Annotations
@Override
prepareback to summary
public boolean prepare(Rectangle clip)

Implements com.sun.prism.Presentable.prepare.

Doc from com.sun.prism.Presentable.prepare.

display the indicated region to the user.

Annotations
@Override
presentback to summary
public boolean present()

Implements com.sun.prism.Presentable.present.

Doc from com.sun.prism.Presentable.present.

present the prepared region to the user.

Annotations
@Override
setOpaqueback to summary
public void setOpaque(boolean opaque)

Implements com.sun.prism.RenderTarget.setOpaque.

Annotations
@Override