On Fri, Jul 29, 2016 at 2:51 AM, Haixia Shi <h...@chromium.org> wrote: > On android platform, the width and height of a native window surface may > be updated after initialization. It is therefore necessary to query android > framework for the current width and height. > > v2: remove Android specific #ifdef's and just implement the fallback directly > if the platform query_surface() callback is not provided. > > TEST=dEQP-EGL.functional.resize.surface_size#* on cyan-cheets > > Change-Id: I673f7d2f1d90c3bf572b30f63da537f2cae1496e > --- > src/egl/drivers/dri2/egl_dri2.c | 11 +++++++++++ > src/egl/drivers/dri2/egl_dri2.h | 4 ++++ > src/egl/drivers/dri2/platform_android.c | 27 +++++++++++++++++++++++++++ > 3 files changed, 42 insertions(+)
Reviewed-by: Tomasz Figa <tf...@chromium.org> Best regards, Tomasz _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev