summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2020-06-17 18:47:12 -0700
committer Peiyong Lin <lpy@google.com> 2020-06-18 17:22:50 -0700
commit6b38825494997c3c2ab23e281956bb80558797d7 (patch)
treeec320e272bc61c59d7005ced867370c67e9aaa3a /opengl/libagl/array.cpp
parent0cc0df1e137a201e7d2ac369e80caea7e92710d5 (diff)
Allow native process to load updatable driver.
Previously an application process can be specified to load the updatable driver and the driver path will be set up correctly via GraphicsEnvironment.java. For a native process that is not an application process, there's no way for it to be specificed to load the updatable driver and hence the driver path is not set up. This patch provides a way for a native process that runs in an environment, for example shell, where environment variables can be set, to opt into using udpatable driver by setting UPDATABLE_GFX_DRIVER to 1. Bug: b/157832445, b/159240322 Test: ./gapit validate_gpu_profiling --os android Change-Id: I597535caa5ae0a033c2b8d581bb39b14875ac8fc Merged-In: I597535caa5ae0a033c2b8d581bb39b14875ac8fc
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions