Commit Graph

4 Commits

Author SHA1 Message Date
Eric Anholt 1623b47c48 Switch the RECTLIST vertex order to (x2, y2), (x1, y2), (x1, y1).
This is the documented correct ordering, and while the previous ordering
(reversed) worked on some hardware, it failed on others.

Reported by:	Wang Zhenyu <zhenyu.z.wang@intel.com>
2007-02-13 17:42:47 -08:00
Eric Anholt 681b91924c Add subpixel offsets to fix accelerated rotated rendering on i915.
This fixes the rendercheck "transformed src/mask coords 2" tests. Previously,
the source pixels chosen would be off by one in some cases.

The particular values were taken from Mesa, which uses .125 offsets (except
apparently broken for y), but the signs are changed.  I would be happier if
I had better justification for why this worked.
2007-02-02 17:41:40 -08:00
Eric Anholt 5238ff9c80 Naming and formatting cleanup in Render acceleration code. 2007-01-31 14:01:41 -08:00
Eric Anholt c47210d94e Move the render code to non-EXA-specific filenames. 2007-01-31 12:50:31 -08:00