FROMLIST: egl/android: Make drm_gralloc headers optional (v2)
Make the code at least compile when being built without drm_gralloc
headers.
v2: Replaced #ifdefs with stubs for gralloc_drm_get_gem_handle()
and GRALLOC_MODULE_PERFORM_GET_DRM_FD.
Removed explicit render node probing code.
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
(am from https://patchwork.freedesktop.org/patch/102547/)
BUG=b:29036398
TEST=No significant regressions in dEQP inside the container
Test: No significant regressions in dEQP inside the container
Change-Id: Id7b5087aaeb001cdcd6f384e7543da3aa6956ea6
(cherry picked from commit a038dd14dba799fa228b7781085b61e0605da8c2)
Reviewed-on: https://chromium-review.googlesource.com/367206
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Commit-Queue: Tomasz Figa <tfiga@chromium.org>
Tested-by: Tomasz Figa <tfiga@chromium.org>
4 files changed