Lines Matching defs:glyph

45  * accelerated glyph cache.
53 * The current "glyph mode" state. This variable is used to track the
54 * codepath used to render a particular glyph. This variable is reset to
56 * As each glyph is rendered, the glyphMode variable is updated to reflect
58 * to render the previous glyph, we can avoid doing costly setup operations
71 * This enum indicates the current state of the hardware glyph cache.
73 * set to either GRAY or LCD when the glyph cache is initialized.
83 * This is the one glyph cache. Once it is initialized as either GRAY or
85 * be safe to use this one glyph cache for all screens in a multimon
86 * environment, since the glyph cache texture is shared between all contexts,
120 * invalidate the cache, which may already store glyph images in the reverse
139 * copy the destination region corresponding to a particular glyph into
180 * The bounds of the previously rendered LCD glyph, in destination
181 * coordinate space. We use these bounds to determine whether the glyph
182 * currently being rendered overlaps the previously rendered glyph (i.e.
183 * its bounding box intersects that of the previously rendered glyph). If
185 * glyph so that we can correctly blend with the actual destination data.
190 * Initializes the one glyph cache (texture and data structure).
192 * otherwise we will simply store the grayscale/monochrome glyph images
205 // init glyph cache data structure
213 "OGLTR_InitGlyphCache: could not init OGL glyph cache");
235 * Adds the given glyph to the glyph cache (texture and data structure)
239 OGLTR_AddToGlyphCache(GlyphInfo *glyph, jboolean rgbOrder)
246 if ((glyphCache == NULL) || (glyph->image == NULL)) {
256 AccelGlyphCache_AddGlyph(glyphCache, glyph);
257 ccinfo = (CacheCellInfo *) glyph->cellInfo;
260 // store glyph image in texture cell
263 glyph->width, glyph->height,
264 pixelFormat, GL_UNSIGNED_BYTE, glyph->image);
278 * glyph image. We have determined that the pow() function can be quite
307 // load the RGB value from the glyph image at the current texcoord
474 * constant over the entire glyph list. So instead we just calculate the
520 // bind the texture containing glyph data to texture unit 0
596 // is modulated with the glyph image as part of the texture
617 * Disables any pending state associated with the current "glyph mode".
663 // attempt to add glyph to accelerated glyph cache
705 * This method checks to see if the given LCD glyph bounds fall within the
720 // glyph is already within the cached destination bounds; no need
722 // need to see if the current glyph overlaps the previous glyph...
725 // the current glyph overlaps the destination region touched
726 // by the previous glyph, so now we need to read back the part
727 // of the destination corresponding to the previous glyph
754 // "top" line of glyph list
756 // of the bounding box of the whole glyph list (this is
763 // estimate the width based on our current position in the glyph
764 // list and using the x advance of the current glyph (this is just
765 // a quick and dirty heuristic; if this is a "thin" glyph image,
774 // than the actual width of the glyph; if so, adjust our
775 // estimate so that we can accomodate the entire glyph
782 // encompasses just the current glyph
789 // glyphs that are small enough to fit in the glyph cache, and then
813 // always update the previous glyph bounds
863 // make sure the glyph cache texture is bound to texture unit 0
866 // attempt to add glyph to accelerated glyph cache
878 // location of the glyph in the destination's coordinate space
1009 // copy LCD mask into glyph texture tile
1016 // update the lower-right glyph texture coordinates
1092 "OGLTR_DrawGlyphList: glyph info is null");
1119 // grayscale or monochrome glyph data
1129 // LCD-optimized glyph data