r600g: avoid using pb* helper we are loosing previous cpu cycle with it
authorJerome Glisse <jglisse@redhat.com>
Thu, 9 Dec 2010 18:07:10 +0000 (13:07 -0500)
committerJerome Glisse <jglisse@redhat.com>
Thu, 9 Dec 2010 21:07:01 +0000 (16:07 -0500)
commit15753cf54d57b1ebb0cd41b7dbb8030d23213891
treefc98d4875b6a006f14d2c36acfc702178131c70c
parentef534f3838f23d757a40426728789183ed36c3bb
r600g: avoid using pb* helper we are loosing previous cpu cycle with it

r600g is up to a point where all small CPU cycle matter and pb* turn
high on profile. It's mostly because pb try to be generic and thus
trigger unecessary check for r600g driver. To avoid having too much
abstraction & too much depth in the call embedded everythings into
r600_bo. Make code simpler & faster. The performance win highly depend
on the CPU & application considered being more important on slower CPU
and marginal/unoticeable on faster one.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/winsys/r600/drm/Makefile
src/gallium/winsys/r600/drm/evergreen_hw_context.c
src/gallium/winsys/r600/drm/r600.c
src/gallium/winsys/r600/drm/r600_bo.c
src/gallium/winsys/r600/drm/r600_bomgr.c [new file with mode: 0644]
src/gallium/winsys/r600/drm/r600_drm.c
src/gallium/winsys/r600/drm/r600_hw_context.c
src/gallium/winsys/r600/drm/r600_priv.h
src/gallium/winsys/r600/drm/radeon_bo_pb.c [deleted file]