egl: Inform the client API when ancillary buffers may become undefined.
authorEric Anholt <eric@anholt.net>
Sun, 21 Dec 2014 19:51:33 +0000 (11:51 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 6 Jan 2015 23:40:40 +0000 (15:40 -0800)
commit70e8ccc459d9bf579ad7efeae453cb8641266c94
tree23fb9d5d057fc5c62acd2082827e13329096e1a3
parent5ae13051249f6f9d44dae15e9deb62e7cb09aed7
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>
include/GL/internal/dri_interface.h
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_android.c
src/egl/drivers/dri2/platform_drm.c
src/egl/drivers/dri2/platform_wayland.c
src/egl/drivers/dri2/platform_x11.c