diff options
author | Chad Versace <[email protected]> | 2011-11-15 07:10:18 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2011-11-15 08:00:29 -0800 |
commit | dc4c3a31c64aae2c3d76ccbd5bf54d04a1d5d041 (patch) | |
tree | 7222d7f08def7d8b309f97c9332778a04f968d87 /bin | |
parent | 1161facaf9bb14086807714c72a7554ed229a52f (diff) |
intel: Simplify stencil detiling arithmetic
When calculating the y offset needed for detiling window system stencil
buffers, replace the term
region->height * 2 + region->height % 2 - 1
with
rb->Height - 1 .
The two terms are incidentally equivalent due to some out-of-date,
incorrect code in the Intel DRI2 glue for DDX. (See
intel_process_dri2_buffer_with_separate_stencil(), line ``buffer_height /=
2;``).
Note: This is a candidate for the 7.11 branch (only the intel_span.c hunk).
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions