public class PSWDrawable extends PrDrawable implements HeapImage
| Modifier and Type | Field and Description |
|---|---|
private boolean |
heapDirty |
private Image |
image |
private RTTexture |
rtt |
private boolean |
vramDirty |
| Modifier | Constructor and Description |
|---|---|
private |
PSWDrawable(RTTexture rtt,
boolean isDirty) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
static PSWDrawable |
create(RTTexture rtt) |
(package private) static PSWDrawable |
create(Screen screen,
int width,
int height) |
Graphics |
createGraphics() |
void |
flush() |
(package private) static int |
getCompatibleHeight(Screen screen,
int h) |
(package private) static int |
getCompatibleWidth(Screen screen,
int w) |
int |
getContentHeight() |
int |
getContentWidth() |
java.lang.Object |
getData() |
int |
getMaxContentHeight() |
int |
getMaxContentWidth() |
int |
getPhysicalHeight() |
int |
getPhysicalWidth() |
int[] |
getPixelArray() |
int |
getScanlineStride() |
RTTexture |
getTextureObject() |
boolean |
isLost() |
void |
setContentHeight(int contentH) |
void |
setContentWidth(int contentW) |
create, getImagePool, getPixelScale, setImagePoolgetNativeBounds, lock, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPixelScalelock, unlockprivate RTTexture rtt
private Image image
private boolean heapDirty
private boolean vramDirty
private PSWDrawable(RTTexture rtt, boolean isDirty)
public static PSWDrawable create(RTTexture rtt)
static int getCompatibleWidth(Screen screen, int w)
static int getCompatibleHeight(Screen screen, int h)
static PSWDrawable create(Screen screen, int width, int height)
public boolean isLost()
isLost in interface LockableResourceisLost in class PrTexture<RTTexture>public void flush()
flush in interface Filterablepublic java.lang.Object getData()
getData in interface Filterablepublic int getContentWidth()
getContentWidth in interface Filterablepublic int getContentHeight()
getContentHeight in interface Filterablepublic int getMaxContentWidth()
getMaxContentWidth in interface FilterablegetMaxContentWidth in class PrDrawablepublic int getMaxContentHeight()
getMaxContentHeight in interface FilterablegetMaxContentHeight in class PrDrawablepublic void setContentWidth(int contentW)
setContentWidth in interface FilterablesetContentWidth in class PrDrawablepublic void setContentHeight(int contentH)
setContentHeight in interface FilterablesetContentHeight in class PrDrawablepublic int getPhysicalWidth()
getPhysicalWidth in interface Filterablepublic int getPhysicalHeight()
getPhysicalHeight in interface Filterablepublic int getScanlineStride()
getScanlineStride in interface HeapImagepublic int[] getPixelArray()
getPixelArray in interface HeapImagepublic RTTexture getTextureObject()
getTextureObject in class PrTexture<RTTexture>public Graphics createGraphics()
createGraphics in class PrDrawablepublic void clear()
clear in class PrDrawable