OSDN Git Service

egl/android: chose node type based on swrast and preprocessor flags
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 27 Mar 2019 02:20:13 +0000 (19:20 -0700)
committerGurchetan Singh <gurchetansingh@chromium.org>
Wed, 27 Mar 2019 17:26:21 +0000 (17:26 +0000)
commitac839bbf79d9ddcc11669bd9d9f19ac62a0366c0
tree630f70fcbe8720394acf891ddb74a09992da658a
parenta87096b79e649ab554e802cc5cb19817b26e9ad6
egl/android: chose node type based on swrast and preprocessor flags

kms_swrast can work with primary nodes out of the box, but also
with rendernodes if the build environment specifies the
EGL_FORCE_RENDERNODE flag.

Suggested-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_android.c