I've been playing with strategies to get r300 buffer management a bit
more efficient,

I've reworked the r300g screen/winsys and create a pb_bufmgr compliant
buffer class,
and stacked the cached buffer manager on top of it.

Now I've hit a problem in that we expose buffer busy state, but the
cached bufmgr
doesn't know to check if the buffer is busy before reusing it.

The attached patch adds a query for buffer busy to pb_bufmgr.h.

I've wondered if I can do this with some hacked up fences but it seems
like a lot
more work for not much gain.

Dave.

Attachment: cached-bufmgr-busy.patch
Description: Binary data

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to