diff options
| author | 2022-11-17 00:39:05 +0000 | |
|---|---|---|
| committer | 2022-12-12 17:21:14 +0000 | |
| commit | b2901c9ec5b6e131623170b3ca3b9bd79bb25545 (patch) | |
| tree | 9e501b718617a405ffee7fde6e0ac37ed61a1439 /libs/gui/BLASTBufferQueue.cpp | |
| parent | 615c1f396ed1f7104f76f249991ef286e53039a8 (diff) | |
Adding new Vulkan metrics to GPU Stats
Following fields are added into GpuStatsAppInfo for tracking:
bool createdGlesContext = false;
bool createdVulkanDevice = false;
bool createdVulkanSwapchain = false;
uint32_t vulkanApiVersion = 0;
uint64_t vulkanDeviceFeaturesEnabled = 0;
std::vector<int32_t> vulkanInstanceExtensions = {};
std::vector<int32_t> vulkanDeviceExtensions = {};
Extensions are tracked as 32-bit hashes.
setTargetStatsArray GPU service function added to provide
an array of stat values, used for reporting list of extensions.
Bug: b/244286661
Test: adb shell dumpsys gpu
Test: atest GpuStatsTest
Change-Id: I4ae4e3b687cd6274a9b4127a336dd0f91f5f9e39
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions