glamor: Simplify the pixmap box looping.
We had a double loop across h and w, and passed the current x and y out to callers who then used w to multiply/add to an index. Instead, just single loop across w * h. Signed-off-by:Eric Anholt <eric@anholt.net> Reviewed-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
Showing
Please register or sign in to comment