Re: [PATCH 22/27] glamor: Improve the performance of PolyGlyphBlt.

2014-03-12 Thread Markus Wick
Are we able to add cached textures to CharInfoPtr? If not, then this would be the ideal use case for texture_arrays ;) Again, using GL_POINTS and check for every bit on CPU isn't the way to go. Am 2014-03-11 22:30, schrieb Eric Anholt: Using the same idea as the previous PushPixels code, just

[PATCH 22/27] glamor: Improve the performance of PolyGlyphBlt.

2014-03-11 Thread Eric Anholt
Using the same idea as the previous PushPixels code, just make points for each point in the glyph. This is an advantage over the pushpixels fallback because we can batch the BO mappings and draw calls across glyphs. Improves performance of x11perf -f8text by 773.389% +/- 3.50754% (n=10).