diff options
| author | 2021-06-04 15:19:38 -0700 | |
|---|---|---|
| committer | 2021-06-08 15:43:47 +0000 | |
| commit | 88b2d88817097bb8a4fe294420ba03b211163ac4 (patch) | |
| tree | 3b0fdb7f3923581d932adbae4a783230083c6edf /vulkan/libvulkan/api.cpp | |
| parent | 5c6adeaf1a453600373be39f52730193adcea3f5 (diff) | |
Put debug/log code under verbose flag
So they are not invoked when verbose flag is off:
(1) that the compiler will optimize to strip out no-op loops
(2) statements are put into a local function variable so invoked only with ALOGV.
Bug: 189837811
Test: examine logcat
Change-Id: I00ba0433f47586d8356423b8147cf9786f1045b9
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions