tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Overlay_autogen.h (3368B)


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