egl/android: refactor droid_load_driver a bit
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 27 Mar 2019 00:13:01 +0000 (17:13 -0700)
committerGurchetan Singh <gurchetansingh@chromium.org>
Wed, 27 Mar 2019 17:26:21 +0000 (17:26 +0000)
commit7d9719db8340796046f03d1bda0268bad06159db
tree1404bf648da87f2e39b13bacea692f6b7309f237
parentf1dd1be0c2d45293b85ec667f29960d2ecf5b0bd
egl/android: refactor droid_load_driver a bit

This way, we can use primary nodes with kms_swrast too.
Also fix up some whitespace issues.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/egl/drivers/dri2/platform_android.c