diff options
author | Eric Anholt <eric@anholt.net> | 2014-12-21 11:51:33 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-01-06 15:40:40 -0800 |
commit | 70e8ccc459d9bf579ad7efeae453cb8641266c94 (patch) | |
tree | 23fb9d5d057fc5c62acd2082827e13329096e1a3 /src/egl/drivers/dri2/platform_android.c | |
parent | 5ae13051249f6f9d44dae15e9deb62e7cb09aed7 (diff) | |
download | external_mesa3d-70e8ccc459d9bf579ad7efeae453cb8641266c94.zip external_mesa3d-70e8ccc459d9bf579ad7efeae453cb8641266c94.tar.gz external_mesa3d-70e8ccc459d9bf579ad7efeae453cb8641266c94.tar.bz2 |
egl: Inform the client API when ancillary buffers may become undefined.
This is part of the EGL spec, and is useful for a tiled renderer to avoid
the memory bandwidth cost of storing the depth/stencil buffers.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/egl/drivers/dri2/platform_android.c')
-rw-r--r-- | src/egl/drivers/dri2/platform_android.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index 61a99ba..f482526 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -311,7 +311,7 @@ droid_swap_buffers(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *draw) dri2_drv->glFlush(); } - (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); + dri2_flush_drawable_for_swapbuffers(disp, draw); if (dri2_surf->buffer) droid_window_enqueue_buffer(dri2_surf); |