On Thu 08 Jun 2017, Tapani Pälli wrote: > Specification states that in case of error, value should not be > written, patch changes buffer age queries to return -1 in case of > error so that we can skip changing the value. > > In addition, small change to droid_query_buffer_age to return 0 > in case buffer does not have a back buffer available. > > Fixes: > dEQP-EGL.functional.negative_partial_update.not_postable_surface > > Signed-off-by: Tapani Pälli <[email protected]> > --- > src/egl/drivers/dri2/platform_android.c | 4 ++-- > src/egl/drivers/dri2/platform_drm.c | 2 +- > src/egl/main/eglsurface.c | 6 +++++- > 3 files changed, 8 insertions(+), 4 deletions(-)
Reviewed-by: Chad Versace <[email protected]> _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
