OSDN Git Service

vc4: Fix raster surface shadow updates under DRI2.
authorEric Anholt <eric@anholt.net>
Tue, 28 Jul 2015 06:23:57 +0000 (23:23 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 29 Jul 2015 02:35:23 +0000 (19:35 -0700)
commit95faf2c6397ce231e94176d18cf8fd2c3265bb8a
treea639332fa982bb02b35cfabffc3dcd8763f28e9f
parentb0193adbe9403545b0d9f7c7f24a1c30f1491a48
vc4: Fix raster surface shadow updates under DRI2.

Glamor asks GBM for the handle of the BO, then flinks it itself.  We
were marking the bo non-private in the flink and dmabuf (DRI3) paths,
but not the GEM handle path.  As a result, non-pageflipping DRI2
swapbuffers (EGL apps, in particular) were never updating the texture.
src/gallium/drivers/vc4/vc4_screen.c