[Mesa-dev] [PATCH v2] egl: android: query native window default width and height
Tomasz Figa
tfiga at chromium.org
Fri Jul 29 03:58:14 UTC 2016
On Fri, Jul 29, 2016 at 2:51 AM, Haixia Shi <hshi at 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 <tfiga at chromium.org>
Best regards,
Tomasz
More information about the mesa-dev
mailing list