egl/android: Set EGL_MAX_PBUFFER_WIDTH and EGL_MAX_PBUFFER_HEIGHT
authorHaixia Shi <hshi@chromium.org>
Fri, 26 Aug 2016 07:47:53 +0000 (10:47 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 9 Sep 2016 04:51:04 +0000 (07:51 +0300)
commitb1d636aa007c0c354a217024b4befe15cfb5149f
tree8879f9f065f3e8deff937a399ec53eb85228e1de
parent478fbc234821f61b759716090ebb0458cccb757e
egl/android: Set EGL_MAX_PBUFFER_WIDTH and EGL_MAX_PBUFFER_HEIGHT

Set config attributes EGL_MAX_PBUFFER_WIDTH and EGL_MAX_PBUFFER_HEIGHT to
hard-coded non-zero values. These two attributes are required on Android.

v2: use _EGL_MAX_PBUFFER_WIDTH/HEIGHT from egldefines.h
    (based on discussion on the first version)

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_android.c