Commit e7308b6c authored by Committed by Eric Anholt
glamor: Add support for CA rendering in a single pass.
It's been on the list to add dual source blending support to avoid the two pass componentAlpha code. Radeon has done this for a while in EXA, so let's add support to bring glamor up to using it. This adds dual blend to both render and composite glyphs paths. Initial results show close to doubling of speed of x11perf -rgb10text. v2: Fix breakage of all of CA acceleration for systems without GL_ARB_blend_func_extended. Add CA support for all the ops we support in non-CA mode when blend_func_extended is present. Clean up some comments and formatting. (changes by anholt) Signed-off-by: Dave Airlie <firstname.lastname@example.org> Signed-off-by: Eric Anholt <email@example.com>
Showing with 118 additions and 32 deletions