| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | OFFSET_CONTRAST
The following offsets are used to pack the parameters in createPackedParams(). |
| private static final int | |
| private static final int | |
| private static final int | |
| protected final RenderQueue |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private static int | createPackedParams(SunGraphics2D sg2d, GlyphList gl)
Packs the given parameters into a single int value in order to save space on the rendering queue. |
| protected void | drawGlyphList(SunGraphics2D sg2d, GlyphList gl)
Implements abstract sun.
|
| protected abstract void | drawGlyphList(int numGlyphs, boolean usePositions, boolean subPixPos, boolean rgbOrder, int lcdContrast, float glOrigX, float glOrigY, long[] images, float[] positions)
Called as a separate Runnable when the operation is too large to fit on the RenderQueue. |
| private void | |
| protected abstract void | validateContext(SunGraphics2D sg2d, Composite comp)
Validates the state in the provided SunGraphics2D object. |
| BYTES_PER_GLYPH_IMAGE | back to summary |
|---|---|
| private static final int BYTES_PER_GLYPH_IMAGE
| |
| BYTES_PER_GLYPH_POSITION | back to summary |
|---|---|
| private static final int BYTES_PER_GLYPH_POSITION
| |
| OFFSET_CONTRAST | back to summary |
|---|---|
| private static final int OFFSET_CONTRAST The following offsets are used to pack the parameters in createPackedParams(). (They are also used at the native level when unpacking the params.) | |
| OFFSET_POSITIONS | back to summary |
|---|---|
| private static final int OFFSET_POSITIONS
| |
| OFFSET_RGBORDER | back to summary |
|---|---|
| private static final int OFFSET_RGBORDER
| |
| OFFSET_SUBPIXPOS | back to summary |
|---|---|
| private static final int OFFSET_SUBPIXPOS
| |
| rq | back to summary |
|---|---|
| protected final RenderQueue rq | |
| BufferedTextPipe | back to summary |
|---|---|
| protected BufferedTextPipe(RenderQueue rq) | |
| createPackedParams | back to summary |
|---|---|
| private static int createPackedParams(SunGraphics2D sg2d, GlyphList gl) Packs the given parameters into a single int value in order to save space on the rendering queue. Note that most of these parameters are only used for rendering LCD-optimized text, but conditionalizing this work wouldn't make any impact on performance, so we will pack those parameters even in the non-LCD case. | |
| drawGlyphList | back to summary |
|---|---|
| protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) Implements abstract sun.
| |
| drawGlyphList | back to summary |
|---|---|
| protected abstract void drawGlyphList(int numGlyphs, boolean usePositions, boolean subPixPos, boolean rgbOrder, int lcdContrast, float glOrigX, float glOrigY, long[] images, float[] positions) Called as a separate Runnable when the operation is too large to fit on the RenderQueue. The OGL/D3D pipelines each have their own (small) native implementation of this method. | |
| enqueueGlyphList | back to summary |
|---|---|
| private void enqueueGlyphList(final SunGraphics2D sg2d, final GlyphList gl) | |
| validateContext | back to summary |
|---|---|
| protected abstract void validateContext(SunGraphics2D sg2d, Composite comp) Validates the state in the provided SunGraphics2D object. | |