summaryrefslogtreecommitdiff
path: root/exa/exa_glyphs.c
AgeCommit message (Collapse)AuthorFilesLines
2008-10-07exa: don't call composite routines with no buffer.Dave Airlie1-6/+8
We can get a case with gnome-terminal + links, where we get two arrays of glyphs all with 0 width and 0 heights in them. If this happens we manage to get to this case without any buffer setup and segfault.
2008-10-03exa: remove some excessive whitespaceMaarten Maathuis1-3/+2
2008-08-26exa_glyphs: remove useless offsetMaarten Maathuis1-7/+6
2008-08-19exa: remove useless cache{X,Y}off from UploadToScreen() arguments.Maarten Maathuis1-2/+3
2008-04-28EXA: Try to accelerate non-antialiased text via the glyph cache as well.Michel Dänzer1-0/+15
Treat 1 bit glyphs and masks as PICT_a8 in the glyph cache. We're not able to accelerate them otherwise.
2008-04-28EXA: Accumulate glyphs whenever possible, for full benefits of the glyph cache.Michel Dänzer1-0/+96
2008-04-28EXA: Glyph cache upload tweaks.Michel Dänzer1-1/+8
Track damage after using UploadToScreen directly. Don't waste any effort on empty glyphs.
2008-04-28EXA: Use UploadToScreen() for uploads to glyph cacheOwen Taylor1-11/+66
When possible, use UploadToScreen() rather than CompositePicture() to upload glyphs onto the glyph cache pixmap. This avoids allocating offscreen memory for each glyph making management of offscreen areas much more efficient.
2008-04-28EXA: Clean up debug messagesOwen Taylor1-3/+0
2008-04-28EXA: Fix overlapping glyphs in glyph cacheOwen Taylor1-9/+16
Allocate each cache at a different vertical position in the per-format pixmap. Fix width/height confusion when choosing the cache for a glyph.
2008-04-28EXA: Add exaCompositeRects()Owen Taylor1-54/+29
Add a function to composite multiple independent rectangles from the same source to the same destination in a single operation: this is useful for building a glyph mask.
2008-04-28EXA: Use a single large glyph cache pixmapOwen Taylor1-0/+745
Add back exaGlyphs(); the new version copies the glyph images onto a single large glyph pixmap and draws from their to the destination surface. This reduces the management of small offscreen areas and will allow us to avoid texture unit setup between each glyph.