svga: use the winsys interface to invalidate surface
authorCharmaine Lee <charmainel@vmware.com>
Thu, 20 Apr 2017 01:34:36 +0000 (18:34 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 26 Apr 2017 17:37:59 +0000 (11:37 -0600)
commit019d5d534682145a3d5921b061ea46f8c872d6a0
tree0cd86c38f76c5d202d89d09ca009c5f6b28303d4
parent5bd5ec6a0f1821a8ac5e1d4ee59b324588adc2d5
svga: use the winsys interface to invalidate surface

Instead of directly sending the InvalidateGBSurface command,
this patch uses the invalidate_surface interface.

Fixes Linux VM piglit failures including
   ext_texture_array-gen-mipmap, fbo-generatemipmap-array S3TC_DXT1

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_surface.c