svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 11 Dec 2009 13:15:12 +0000 (13:15 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 11 Dec 2009 13:15:12 +0000 (13:15 +0000)
commit8469baf41bd4775eab2403ecf08ed013343943a5
tree07e76db2784e870f8bf1528aa24baf129f4dcfb2
parent16876b8328059446b6fa0951f7848e5d500244ab
svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC.

Since we're reusing buffers we're effectively transforming all
of them into dynamic buffers.

It would be nice to not cache long lived static buffers. But there
is no way to detect the long lived from short lived ones yet. A
good heuristic would be buffer size.
src/gallium/drivers/svga/svga_screen_cache.c