[i915] Push locking in intelClearWithTris down inside meta_draw_poly.
authorEric Anholt <eric@anholt.net>
Sat, 10 Nov 2007 00:43:21 +0000 (16:43 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 16 Nov 2007 23:36:18 +0000 (15:36 -0800)
commitdf3c530bedd0ee59e0ae5c18a916f78fd3f7559a
tree1f477eb9d8c9961f52b010f797cd1ec27f31c49b
parent8211b200268888e3d853ab24a5e4ebabd713d2e8
[i915] Push locking in intelClearWithTris down inside meta_draw_poly.

The lock coverage and checks for cliprects were unneeded since the batchbuffer
will have INTEL_BATCH_CLIPRECTS anyway.  It appeared to be a leftover from
intelClearWithBlit.

This makes the locking requirements of i915 meta_draw_quad match i965
meta_draw_quad.
src/mesa/drivers/dri/i915/intel_tris.c
src/mesa/drivers/dri/intel/intel_buffers.c