public abstract class WCRenderQueue extends Ref
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedList<BufferData> |
buffers |
private WCRectangle |
clip |
private BufferData |
currentBuffer |
protected WCGraphicsContext |
gc |
private static java.util.concurrent.atomic.AtomicInteger |
idCountObj |
private static java.util.logging.Logger |
log |
static int |
MAX_QUEUE_SIZE |
private boolean |
opaque |
private int |
size |
Modifier | Constructor and Description |
---|---|
protected |
WCRenderQueue(WCGraphicsContext gc) |
protected |
WCRenderQueue(WCRectangle clip,
boolean opaque) |
Modifier and Type | Method and Description |
---|---|
void |
addBuffer(java.nio.ByteBuffer buffer) |
void |
decode() |
void |
decode(int fontSmoothingType) |
void |
decode(WCGraphicsContext gc) |
void |
dispose() |
protected abstract void |
disposeGraphics() |
protected abstract void |
flush() |
private void |
fwkAddBuffer(java.nio.ByteBuffer buffer) |
private void |
fwkDisposeGraphics() |
private void |
fwkFlush() |
WCRectangle |
getClip() |
int |
getSize() |
boolean |
isEmpty() |
boolean |
isOpaque() |
private int |
refFloatArr(float[] arr) |
private int |
refIntArr(int[] arr) |
private int |
refString(java.lang.String str) |
java.lang.String |
toString() |
private void |
twkRelease(java.lang.Object[] bufs) |
private static final java.util.concurrent.atomic.AtomicInteger idCountObj
private static final java.util.logging.Logger log
@Native public static final int MAX_QUEUE_SIZE
private final java.util.LinkedList<BufferData> buffers
private BufferData currentBuffer
private final WCRectangle clip
private int size
private final boolean opaque
protected final WCGraphicsContext gc
protected WCRenderQueue(WCGraphicsContext gc)
protected WCRenderQueue(WCRectangle clip, boolean opaque)
public int getSize()
public void addBuffer(java.nio.ByteBuffer buffer)
public boolean isEmpty()
public void decode(WCGraphicsContext gc)
public void decode()
public void decode(int fontSmoothingType)
protected abstract void flush()
private void fwkFlush()
private void fwkAddBuffer(java.nio.ByteBuffer buffer)
public WCRectangle getClip()
public void dispose()
protected abstract void disposeGraphics()
private void fwkDisposeGraphics()
private void twkRelease(java.lang.Object[] bufs)
private int refString(java.lang.String str)
private int refIntArr(int[] arr)
private int refFloatArr(float[] arr)
public boolean isOpaque()
public java.lang.String toString()
toString
in class java.lang.Object