Package | Description |
---|---|
com.sun.prism | |
com.sun.prism.es2 | |
com.sun.prism.impl | |
com.sun.prism.impl.ps | |
com.sun.prism.null3d | |
com.sun.prism.sw |
Modifier and Type | Method and Description |
---|---|
PixelFormat |
Texture.getPixelFormat()
Returns the
PixelFormat of this texture. |
PixelFormat |
MultiTexture.getPixelFormat() |
PixelFormat |
MediaFrame.getPixelFormat() |
PixelFormat |
Image.getPixelFormat() |
static PixelFormat |
PixelFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PixelFormat[] |
PixelFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
MediaFrame |
MediaFrame.convertToFormat(PixelFormat fmt)
Converts the video frame to a different video format.
|
static Buffer |
Image.createPackedBuffer(Buffer pixels,
PixelFormat format,
int minX,
int minY,
int width,
int height,
int scanlineStride)
Returns a new
Buffer instance that contains a tightly packed
copy of the given Buffer 's pixel data. |
Texture |
ResourceFactory.createTexture(PixelFormat formatHint,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
int w,
int h)
Returns a new
Texture with the given format and edge wrapping
support. |
Texture |
ResourceFactory.createTexture(PixelFormat formatHint,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
int w,
int h,
boolean useMipmap)
Returns a new
Texture with the given format and edge wrapping
support. |
boolean |
ResourceFactory.isFormatSupported(PixelFormat format)
Returns true if the given
PixelFormat is supported; otherwise
returns false. |
void |
Texture.update(Buffer buffer,
PixelFormat format,
int dstx,
int dsty,
int srcx,
int srcy,
int srcw,
int srch,
int srcscan,
boolean skipFlush)
Updates this texture using the contents of the given
Buffer . |
void |
MultiTexture.update(Buffer buffer,
PixelFormat format,
int dstx,
int dsty,
int srcx,
int srcy,
int srcw,
int srch,
int srcscan,
boolean skipFlush) |
Constructor and Description |
---|
MultiTexture(PixelFormat format,
Texture.WrapMode wrapMode,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
Texture |
ES2ResourceFactory.createTexture(PixelFormat formatHint,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
int w,
int h) |
Texture |
ES2ResourceFactory.createTexture(PixelFormat formatHint,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
int w,
int h,
boolean useMipmap) |
boolean |
ES2ResourceFactory.isFormatSupported(PixelFormat format) |
Modifier and Type | Method and Description |
---|---|
PixelFormat |
BaseTexture.getPixelFormat() |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseTexture.checkUpdateParams(Buffer buf,
PixelFormat fmt,
int dstx,
int dsty,
int srcx,
int srcy,
int srcw,
int srch,
int srcscan) |
long |
TextureResourcePool.estimateTextureSize(int width,
int height,
PixelFormat format) |
abstract void |
BaseContext.validateTextureOp(BaseGraphics g,
BaseTransform xform,
Texture src,
PixelFormat format) |
Constructor and Description |
---|
BaseTexture(T resource,
PixelFormat format,
Texture.WrapMode wrapMode,
int width,
int height) |
BaseTexture(T resource,
PixelFormat format,
Texture.WrapMode wrapMode,
int physicalWidth,
int physicalHeight,
int contentX,
int contentY,
int contentWidth,
int contentHeight,
boolean useMipmap) |
BaseTexture(T resource,
PixelFormat format,
Texture.WrapMode wrapMode,
int physicalWidth,
int physicalHeight,
int contentX,
int contentY,
int contentWidth,
int contentHeight,
int maxContentWidth,
int maxContentHeight,
boolean useMipmap) |
Modifier and Type | Method and Description |
---|---|
void |
BaseShaderContext.validateTextureOp(BaseGraphics g,
BaseTransform xform,
Texture tex0,
PixelFormat format) |
Modifier and Type | Method and Description |
---|---|
long |
DummyTexturePool.estimateTextureSize(int width,
int height,
PixelFormat format) |
Modifier and Type | Method and Description |
---|---|
PixelFormat |
SWMaskTexture.getPixelFormat() |
Modifier and Type | Method and Description |
---|---|
void |
SWMaskTexture.update(Buffer buffer,
PixelFormat format,
int dstx,
int dsty,
int srcx,
int srcy,
int srcw,
int srch,
int srcscan,
boolean skipFlush) |
Copyright © 2020. All rights reserved.