[Mesa-dev] gallium: blitters and scissors

Dave Airlie airlied at gmail.com
Tue Oct 12 19:07:22 PDT 2010


I've noticed that none of the blitters use scissor state, and wondered
if there was a reason for this.

It looks like drivers are expected to setup scissor state in the
framebuffer setup and in the set scissor state, but with r600g due to
the underlying state tracking it can end up doing the wrong thing.

The 3 patches add CSO cache + u_blit + u_blitter scissor usage.

Just wondering if I'm violating some rules of the gallium interface or not.

Dave.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cso-add-scissor-support.patch
Type: text/x-patch
Size: 3015 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101013/0738868e/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-u_blit-save-restore-scissor-state-across-blits.patch
Type: text/x-patch
Size: 2778 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101013/0738868e/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-u_blitter-save-scissor-state-and-set-up-properly.patch
Type: text/x-patch
Size: 4645 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101013/0738868e/attachment-0005.bin>


More information about the mesa-dev mailing list