1*8975f5c5SAndroid Build Coastguard Worker // GENERATED FILE - DO NOT EDIT. 2*8975f5c5SAndroid Build Coastguard Worker // Generated by gen_overlay_widgets.py using data from overlay_widgets.json. 3*8975f5c5SAndroid Build Coastguard Worker // 4*8975f5c5SAndroid Build Coastguard Worker // Copyright 2019 The ANGLE Project Authors. All rights reserved. 5*8975f5c5SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 6*8975f5c5SAndroid Build Coastguard Worker // found in the LICENSE file. 7*8975f5c5SAndroid Build Coastguard Worker // 8*8975f5c5SAndroid Build Coastguard Worker // Overlay_autogen.cpp: 9*8975f5c5SAndroid Build Coastguard Worker // Autogenerated overlay widget declarations. 10*8975f5c5SAndroid Build Coastguard Worker 11*8975f5c5SAndroid Build Coastguard Worker namespace gl 12*8975f5c5SAndroid Build Coastguard Worker { 13*8975f5c5SAndroid Build Coastguard Worker enum class WidgetId 14*8975f5c5SAndroid Build Coastguard Worker { 15*8975f5c5SAndroid Build Coastguard Worker // Frames per second (Count/Second). 16*8975f5c5SAndroid Build Coastguard Worker FPS, 17*8975f5c5SAndroid Build Coastguard Worker // Last validation error (Text). 18*8975f5c5SAndroid Build Coastguard Worker VulkanLastValidationMessage, 19*8975f5c5SAndroid Build Coastguard Worker // Number of validation errors and warnings (Count). 20*8975f5c5SAndroid Build Coastguard Worker VulkanValidationMessageCount, 21*8975f5c5SAndroid Build Coastguard Worker // Number of RenderPasses in a frame (Count). 22*8975f5c5SAndroid Build Coastguard Worker VulkanRenderPassCount, 23*8975f5c5SAndroid Build Coastguard Worker // Secondary Command Buffer pool memory waste (Bytes). 24*8975f5c5SAndroid Build Coastguard Worker VulkanSecondaryCommandBufferPoolWaste, 25*8975f5c5SAndroid Build Coastguard Worker // Number of Descriptor Set writes in a frame (Count). 26*8975f5c5SAndroid Build Coastguard Worker VulkanWriteDescriptorSetCount, 27*8975f5c5SAndroid Build Coastguard Worker // Descriptor Set Allocations. 28*8975f5c5SAndroid Build Coastguard Worker VulkanDescriptorSetAllocations, 29*8975f5c5SAndroid Build Coastguard Worker // Shader Resource Descriptor Set Cache Hit Rate. 30*8975f5c5SAndroid Build Coastguard Worker VulkanShaderResourceDSHitRate, 31*8975f5c5SAndroid Build Coastguard Worker // Buffer Allocations Made By vk::DynamicBuffer. 32*8975f5c5SAndroid Build Coastguard Worker VulkanDynamicBufferAllocations, 33*8975f5c5SAndroid Build Coastguard Worker // Total size of all descriptor set caches 34*8975f5c5SAndroid Build Coastguard Worker VulkanDescriptorCacheSize, 35*8975f5c5SAndroid Build Coastguard Worker // Number of cached Texture descriptor sets 36*8975f5c5SAndroid Build Coastguard Worker VulkanTextureDescriptorCacheSize, 37*8975f5c5SAndroid Build Coastguard Worker // Number of cached default uniform descriptor sets 38*8975f5c5SAndroid Build Coastguard Worker VulkanUniformDescriptorCacheSize, 39*8975f5c5SAndroid Build Coastguard Worker // Total size of all keys in the descriptor set caches 40*8975f5c5SAndroid Build Coastguard Worker VulkanDescriptorCacheKeySize, 41*8975f5c5SAndroid Build Coastguard Worker // Number of times the Vulkan backend attempted to submit commands 42*8975f5c5SAndroid Build Coastguard Worker VulkanAttemptedSubmissions, 43*8975f5c5SAndroid Build Coastguard Worker // Number of times the Vulkan backend actually submitted commands 44*8975f5c5SAndroid Build Coastguard Worker VulkanActualSubmissions, 45*8975f5c5SAndroid Build Coastguard Worker // Number of times the Vulkan backend has looked up the pipeline cache 46*8975f5c5SAndroid Build Coastguard Worker VulkanPipelineCacheLookups, 47*8975f5c5SAndroid Build Coastguard Worker // Number of times the Vulkan backend has missed the pipeline cache 48*8975f5c5SAndroid Build Coastguard Worker VulkanPipelineCacheMisses, 49*8975f5c5SAndroid Build Coastguard Worker // Total time spent creating pipelines that missed the cache. 50*8975f5c5SAndroid Build Coastguard Worker VulkanTotalPipelineCacheMissTimeMs, 51*8975f5c5SAndroid Build Coastguard Worker // Total time spent creating pipelines that hit the cache. 52*8975f5c5SAndroid Build Coastguard Worker VulkanTotalPipelineCacheHitTimeMs, 53*8975f5c5SAndroid Build Coastguard Worker 54*8975f5c5SAndroid Build Coastguard Worker InvalidEnum, 55*8975f5c5SAndroid Build Coastguard Worker EnumCount = InvalidEnum, 56*8975f5c5SAndroid Build Coastguard Worker }; 57*8975f5c5SAndroid Build Coastguard Worker 58*8975f5c5SAndroid Build Coastguard Worker // We can use this "X" macro to generate multiple code patterns. 59*8975f5c5SAndroid Build Coastguard Worker #define ANGLE_WIDGET_ID_X(PROC) \ 60*8975f5c5SAndroid Build Coastguard Worker PROC(FPS) \ 61*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanLastValidationMessage) \ 62*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanValidationMessageCount) \ 63*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanRenderPassCount) \ 64*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanSecondaryCommandBufferPoolWaste) \ 65*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanWriteDescriptorSetCount) \ 66*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanDescriptorSetAllocations) \ 67*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanShaderResourceDSHitRate) \ 68*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanDynamicBufferAllocations) \ 69*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanDescriptorCacheSize) \ 70*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanTextureDescriptorCacheSize) \ 71*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanUniformDescriptorCacheSize) \ 72*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanDescriptorCacheKeySize) \ 73*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanAttemptedSubmissions) \ 74*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanActualSubmissions) \ 75*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanPipelineCacheLookups) \ 76*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanPipelineCacheMisses) \ 77*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanTotalPipelineCacheMissTimeMs) \ 78*8975f5c5SAndroid Build Coastguard Worker PROC(VulkanTotalPipelineCacheHitTimeMs) 79*8975f5c5SAndroid Build Coastguard Worker 80*8975f5c5SAndroid Build Coastguard Worker } // namespace gl 81