summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Adam Bodnar <abodnar@google.com> 2019-09-17 13:23:17 -0700
committer Adam Bodnar <abodnar@google.com> 2019-10-09 14:48:36 -0700
commit0afcca0b295d50227439af6a555fcbabc80341b0 (patch)
tree241f01dc30355447473bd894548ebe83b6a36af4 /vulkan/libvulkan/api.cpp
parent55d7b34594335772df70087bdd249a3d43eca226 (diff)
[libgraphicsenv] Add an API to enable profiling features
Set PR_SET_DUMPABLE for process that wishes to inject Vk/GL layers via metadata. This signals the graphics driver to enable profiling features. Bug: 138204026 Test: Add <meta-data android:name="com.android.graphics.injectLayers.enable" android:value="true" /> to the <application> xml in the manifest of a GL/Vk app. Call prctl(PR_GET_DUMPABLE) in a native app to verify. Change-Id: Ife7d18f77775499629d830376a76c4599afd9c15
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions