APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.glass.ui.monocle

pack-priv Class Framebuffer

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.glass.ui.monocle.FramebufferY8
Imports
java.io.IOException, java.nio.Buffer, .ByteBuffer, .ByteOrder, .IntBuffer, .ShortBuffer, java.nio.channels.WritableByteChannel

A ByteBuffer used as a rendering target for window composition. Stored as 32-bit and can write to a 16-bit or 32-bit target.

Field Summary

Modifier and TypeField and Description
private int
private ByteBuffer
private int
private ByteBuffer
private int
private ByteBuffer
private Buffer
private boolean
private int

Constructor Summary

AccessConstructor and Description
pack-priv
Framebuffer(ByteBuffer bb, int width, int height, int depth, boolean clear)

Method Summary

Modifier and TypeMethod and Description
private static int
blend32(int src, int dst, int alphaMultiplier)

pack-priv void
pack-priv void
composePixels(Buffer src, int pX, int pY, int pW, int pH, float alpha)

pack-priv void
pack-priv ByteBuffer
pack-priv boolean
pack-priv void
pack-priv void
setStartAddress(int address)

pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

addressback to summary
private int address
bbback to summary
private ByteBuffer bb
byteDepthback to summary
private int byteDepth
clearBufferback to summary
private ByteBuffer clearBuffer
heightback to summary
private int height
lineByteBufferback to summary
private ByteBuffer lineByteBuffer
linePixelBufferback to summary
private Buffer linePixelBuffer
receivedDataback to summary
private boolean receivedData
widthback to summary
private int width

Constructor Detail

Framebufferback to summary
pack-priv Framebuffer(ByteBuffer bb, int width, int height, int depth, boolean clear)

Method Detail

blend32back to summary
private static int blend32(int src, int dst, int alphaMultiplier)
clearBufferContentsback to summary
pack-priv void clearBufferContents()
composePixelsback to summary
pack-priv void composePixels(Buffer src, int pX, int pY, int pW, int pH, float alpha)
copyToBufferback to summary
pack-priv void copyToBuffer(ByteBuffer out)
getBufferback to summary
pack-priv ByteBuffer getBuffer()
hasReceivedDataback to summary
pack-priv boolean hasReceivedData()
resetback to summary
pack-priv void reset()
setStartAddressback to summary
pack-priv void setStartAddress(int address)
writeback to summary
pack-priv void write(WritableByteChannel out) throws IOException