APIdia Launch Partner
Top Fields Constructors Methods
com.sun.prism.mtl

pack-priv Class MTLVramPool

extends BaseResourcePool<MTLTextureData>
implements TextureResourcePool<MTLTextureData>
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
private static final MTLVramPool

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 static MTLVramPool
public long
size(MTLTextureData 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

theInstanceback to summary
private static final MTLVramPool theInstance

Constructor Detail

MTLVramPoolback to summary
private MTLVramPool()

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
getInstanceback to summary
public static MTLVramPool getInstance()
sizeback to summary
public long size(MTLTextureData resource)

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

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

The estimated size of the indicated resource.

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.

Annotations
@Override