diff options
author | Haixia Shi <[email protected]> | 2016-07-28 10:51:12 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-08-09 15:49:28 -0700 |
commit | a7c6993a33e894556e45fc2882ad19f34274d689 (patch) | |
tree | 48058437e33ffe24da22e26c17df21a593a1559c /src/gallium/drivers/vc4/vc4_draw.c | |
parent | c4cd0e8ecd6ab9fc427d26ba7a9a360590291d24 (diff) |
egl: android: query native window default width and height (v2)
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
Reviewed-by: Kristian H. Kristensen <[email protected]> (v1)
Reviewed-by: Tomasz Figa <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Change-Id: I673f7d2f1d90c3bf572b30f63da537f2cae1496e
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_draw.c')
0 files changed, 0 insertions, 0 deletions