[Mesa-dev] [PATCH v2] egl: android: query native window default width and height

Haixia Shi hshi at chromium.org
Tue Aug 9 20:49:17 UTC 2016


Pinging this thread - any objection to commit this? Thanks.

On Thu, Jul 28, 2016 at 8:58 PM, Tomasz Figa <tfiga at chromium.org> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160809/832ed123/attachment.html>


More information about the mesa-dev mailing list