OSDN Git Service

libvulkan: Update global layer loading rules
authorJesse Hall <jessehall@google.com>
Fri, 18 Dec 2015 21:48:24 +0000 (13:48 -0800)
committerJesse Hall <jessehall@google.com>
Mon, 25 Jan 2016 21:49:31 +0000 (13:49 -0800)
commit21597661b5cabc73f8d14bd0091eea7bddafdcbe
treefae3033a44844fe6db55b95f674a954755dcbacc
parent55cb98da0d4aab8ed9d7698371f263d1e5c58eae
libvulkan: Update global layer loading rules

* Look for layers in /data/local/debug/vulkan instead of
  /data/local/tmp/vulkan.
* Only enumerate global layers in debuggable processes.
* Only allow force-enabling layers and callbacks in debuggable
  processes.

Change-Id: I1f41a03ecbb0cc159e7dbb0b424005559996c196
(cherry picked from commit e784c114bbdc32361096cce8f59eb9513390e2d6)
vulkan/libvulkan/loader.cpp