[Mesa-dev] [PATCH 1/2] egl: Add unbound_only parameter to _eglReleaseDisplayResources()
Chad Versace
chad.versace at intel.com
Thu Jan 29 18:03:14 PST 2015
On 01/28/2015 01:45 PM, jim.bride at linux.intel.com wrote:
> From: Jim Bride <jim.bride at intel.com>
>
> Add a EGLBoolean parameter unbound_only to _eglReleaseDisplayResources() to
> allow that function to skip releasing contexts or surfaces that are currently
> bound to a display. Setting unbound_only to EGL_FALSE preserves the original
> behavior of this function.
>
> Signed-off-by: Jim Bride <jim.bride at intel.com>
> ---
> src/egl/drivers/dri2/egl_dri2.c | 7 ++++++-
> src/egl/main/egldisplay.c | 17 +++++++++++++----
> src/egl/main/egldisplay.h | 3 ++-
> src/gallium/state_trackers/egl/common/egl_g3d.c | 9 ++++++++-
> 4 files changed, 29 insertions(+), 7 deletions(-)
Reviewed-by: Chad Versace <chad.versace at intel.com>
I'm waiting on fixes to patch 2 before committing patch 1, because
they don't make sense to commit in independently.
More information about the mesa-dev
mailing list