diff options
author | Carl Worth <cworth@cworth.org> | 2007-11-13 12:56:13 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-04-10 16:03:29 -0700 |
commit | baa55ffe3b67ca952e4d1ef7087335d76eb2f24b (patch) | |
tree | 5a6bc4b589de3c628e69b07d77cce8ed4b45dbfa /src/i830_display.c | |
parent | d5a80e1e3ab5724d34b20f9ee6f830efd0f5b076 (diff) |
Enumerate all possible cc_state objects
We need one for each possible combination of src and dst
blend_factors. Again, as with recent changes, this eliminates
state updates from prepare_composite and allows that function
to instead simply reference an existing object initialized
within gen4_state_init.
Thanks to Dave Airlie (and git-bisect) for pointing out that with
gnome-terminal all text was appearing as solid black with an early
version of this commit. As expected the bug was an alignment issue.
(cherry picked from 0c0ab52c2d100c47f38c7ef826ef585c8b9815e9 commit)
Performance is approximately equivalent on text tests, but may be
around +2%.
Diffstat (limited to 'src/i830_display.c')
0 files changed, 0 insertions, 0 deletions