OSDN Git Service

virgl: add openarena readpixels workaround.
authorDave Airlie <airlied@redhat.com>
Wed, 29 Jun 2016 06:42:29 +0000 (16:42 +1000)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 14 Aug 2016 17:31:37 +0000 (01:31 +0800)
commitc3bb2e308704073ef832c1d68846caab25ffc988
tree3ccf98a1f2ef6e1ac339c4b395bd770e15e0b4da
parent4556bf8a4efddb04ae1bf2ef3a5a78cda5fb3f47
virgl: add openarena readpixels workaround.

So OA with flares does 8 readback from the depth buffer,
each of those was causing a host roundtrip and readback,

instead just sync the whole buffer and see how things go.

I'm not sure this won't destroy some other apps
src/gallium/drivers/virgl/virgl_texture.c