Disable OpenGL driver preloading for now
The decision to choose ANGLE vs. native OpenGL happens at application
startup. Need to disable pre-loading and initializing the driver to
allow that decision to happen. Decision may move in the future based
on application startup performance.
Test: manual - verify ANGLE can be selected
adb shell settings put global angle_enabled_app com.android.calculator2
adb logcat -c; adb logcat
# Start the calculator app
# Verify string similar to below is shown in logcat.
GraphicsEnvironment: com.android.calculator2 opted in for ANGLE via Developer Setting
Change-Id: Ib7b1fece48cbb1713555287ae21b9751cb8752d0
1 file changed