Explain how we can simplify the radial gradient computation
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Jul 2009 08:36:08 +0000 (09:36 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Jul 2009 08:36:08 +0000 (09:36 +0100)
commit11d888a2837b3fe309348126b4f7c56df559df4e
tree33dbe30636d25479b15abe8ea67a2dcf647516b2
parent20d2df03059d6a5941464d80e81e8116ebf4dbfe
Explain how we can simplify the radial gradient computation

Soeren rightfully complained that I had removed all the comments from
AndrĂ©'s patch, most importantly that explain why the transformation is
valid. So add a few details to show that B varies linearly across the
scanline and how we can therefore reduce the per-pixel cost of evaluating
B.
pixman/pixman-radial-gradient.c