Top Fields Constructors Methods
com.sun.prism.d3d

pack-priv Class D3DVramPool

extends BaseResourcePool<D3DTextureData>
implements TextureResourcePool<D3DTextureData>
Class Inheritance
All Implemented Interfaces
com.sun.prism.impl.TextureResourcePool, com.sun.prism.impl.ResourcePool
Imports
com.sun.prism.PixelFormat, com.sun.prism.impl.BaseResourcePool, .PrismSettings, .TextureResourcePool

Field Summary

Modifier and TypeField and Description
public static final D3DVramPool

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public long
estimateRTTextureSize(int width, int height, boolean hasDepth)

Implements com.sun.prism.impl.TextureResourcePool.estimateRTTextureSize.

public long
public long
size(D3DTextureData
the resource to be measured
resource
)

Implements com.sun.prism.impl.ResourcePool.size.

The estimated size of the indicated resource.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from com.sun.prism.impl.BaseResourcePool:
cleanupfreeDisposalRequestedAndCheckResourcesisManagerThreadmanagedmaxorigTargetprepareForAllocationprintSummaryrecordAllocatedrecordFreeresourceFreedresourceManagedsetTargettargetused

Field Detail

instanceback to summary
public static final D3DVramPool instance

Constructor Detail

D3DVramPoolback to summary
private D3DVramPool()

Method Detail

estimateRTTextureSizeback to summary
public long estimateRTTextureSize(int width, int height, boolean hasDepth)

Implements com.sun.prism.impl.TextureResourcePool.estimateRTTextureSize.

Annotations
@Override
estimateTextureSizeback to summary
public long estimateTextureSize(int width, int height, PixelFormat format)

Implements com.sun.prism.impl.TextureResourcePool.estimateTextureSize.

Annotations
@Override
sizeback to summary
public long size(D3DTextureData resource)

Implements com.sun.prism.impl.ResourcePool.size.

Doc from com.sun.prism.impl.ResourcePool.size.

The estimated size of the indicated resource.

Parameters
resource:D3DTextureData

the resource to be measured

Returns:long

the space within this resource pool that the object occupies.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override