swrast: add TFP support to swrast.
authorDave Airlie <airlied@redhat.com>
Sun, 23 May 2010 12:10:04 +0000 (22:10 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 31 May 2010 09:28:08 +0000 (19:28 +1000)
commit8d789be03430b80e0ba2fef19d56dd0b8e699ea2
treef7038b4fdf1a32257afa9ddcb155962848fa31e4
parent47de9adece49f78c6e4065bedc69ce13272bc120
swrast: add TFP support to swrast.

This adds TFP support to the swrast driver, with this I can run gnome-shell inside Xephyr slowly. I've no idea why I did it, and g-s has other rendering issues under swrast, but it might be useful to hook up llvmpipe later. I've no idea if I even want to commit it at this point.

An enhanced version might just pass the pointer in the indirect rendering case
and avoid the memcpy.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/swrast/swrast.c