[OpenJDK 2D-Dev] Why does the OpenGL pipeline not use setupBlitVector?

Clemens Eisserer linuxhippy at gmail.com
Fri May 30 08:13:00 UTC 2008


I've had a look at the doDrawGlyphList implementations of both the X11
and the OpenGL pipeline, however I have (as always) some questions:

- Why does the OpenGL pipeline not use setupBlitVector, but instead
does the work itself?

- Are the values in GlyphInfo always the same, if the glyph does not
change (x/y/width/height)?
I ask, because XRender does store quite the same information on the
server when caching the glyphs, and if these values would stay the
same, I could avoid sending e.g. the position-fionrormation for every
glyph drawn.
Or could it happen that the same glyphs are rendered with different
offset or width (e.g. "stretched" text)?

Thanks, Clemens

More information about the 2d-dev mailing list