FrontendFeatures_autogen.h (4674B)
1 // GENERATED FILE - DO NOT EDIT. 2 // Generated by gen_features.py using data from frontend_features.json. 3 // 4 // Copyright 2022 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 // FrontendFeatures_autogen.h: Features/workarounds for driver bugs and other behaviors seen 9 // on all platforms. 10 11 #ifndef ANGLE_PLATFORM_FRONTENDFEATURES_H_ 12 #define ANGLE_PLATFORM_FRONTENDFEATURES_H_ 13 14 #include "platform/Feature.h" 15 16 namespace angle 17 { 18 19 struct FrontendFeatures : FeatureSetBase 20 { 21 FrontendFeatures(); 22 ~FrontendFeatures(); 23 24 FeatureInfo loseContextOnOutOfMemory = { 25 "loseContextOnOutOfMemory", 26 FeatureCategory::FrontendWorkarounds, 27 "Some users rely on a lost context notification if a GL_OUT_OF_MEMORY error occurs", 28 &members, 29 }; 30 31 FeatureInfo disableProgramCachingForTransformFeedback = { 32 "disableProgramCachingForTransformFeedback", 33 FeatureCategory::FrontendWorkarounds, 34 "On some GPUs, program binaries don't contain transform feedback varyings", 35 &members, 36 }; 37 38 FeatureInfo scalarizeVecAndMatConstructorArgs = { 39 "scalarizeVecAndMatConstructorArgs", FeatureCategory::FrontendWorkarounds, 40 "Always rewrite vec/mat constructors to be consistent", &members, 41 "http://crbug.com/1165751"}; 42 43 FeatureInfo disableProgramBinary = {"disableProgramBinary", FeatureCategory::FrontendFeatures, 44 "Disable support for GL_OES_get_program_binary", &members, 45 "http://anglebug.com/5007"}; 46 47 FeatureInfo disableDrawBuffersIndexed = { 48 "disableDrawBuffersIndexed", FeatureCategory::FrontendFeatures, 49 "Disable support for OES_draw_buffers_indexed and EXT_draw_buffers_indexed", &members, 50 "http://anglebug.com/7724"}; 51 52 FeatureInfo disableAnisotropicFiltering = { 53 "disableAnisotropicFiltering", 54 FeatureCategory::FrontendWorkarounds, 55 "Disable support for anisotropic filtering", 56 &members, 57 }; 58 59 FeatureInfo allowCompressedFormats = { 60 "allowCompressedFormats", 61 FeatureCategory::FrontendWorkarounds, 62 "Allow compressed formats", 63 &members, 64 }; 65 66 FeatureInfo forceDepthAttachmentInitOnClear = { 67 "forceDepthAttachmentInitOnClear", FeatureCategory::FrontendWorkarounds, 68 "Force depth attachment initialization on clear ops", &members, 69 "https://anglebug.com/7246"}; 70 71 FeatureInfo enableCaptureLimits = {"enableCaptureLimits", FeatureCategory::FrontendFeatures, 72 "Set the context limits like frame capturing was enabled", 73 &members, "http://anglebug.com/5750"}; 74 75 FeatureInfo enableCompressingPipelineCacheInThreadPool = { 76 "enableCompressingPipelineCacheInThreadPool", FeatureCategory::FrontendWorkarounds, 77 "Enable compressing pipeline cache in thread pool.", &members, "http://anglebug.com/4722"}; 78 79 FeatureInfo forceRobustResourceInit = { 80 "forceRobustResourceInit", FeatureCategory::FrontendFeatures, 81 "Force-enable robust resource init", &members, "http://anglebug.com/6041"}; 82 83 FeatureInfo forceInitShaderVariables = { 84 "forceInitShaderVariables", 85 FeatureCategory::FrontendFeatures, 86 "Force-enable shader variable initialization", 87 &members, 88 }; 89 90 FeatureInfo enableProgramBinaryForCapture = { 91 "enableProgramBinaryForCapture", FeatureCategory::FrontendFeatures, 92 "Even if FrameCapture is enabled, enable GL_OES_get_program_binary", &members, 93 "http://anglebug.com/5658"}; 94 95 FeatureInfo forceGlErrorChecking = { 96 "forceGlErrorChecking", FeatureCategory::FrontendFeatures, 97 "Force GL error checking (i.e. prevent applications from disabling error checking", 98 &members, "https://issuetracker.google.com/220069903"}; 99 100 FeatureInfo emulatePixelLocalStorage = { 101 "emulatePixelLocalStorage", FeatureCategory::FrontendFeatures, 102 "Emulate ANGLE_shader_pixel_local_storage using shader images", &members, 103 "http://anglebug.com/7279"}; 104 105 FeatureInfo cacheCompiledShader = {"cacheCompiledShader", FeatureCategory::FrontendFeatures, 106 "Enable to cache compiled shaders", &members, 107 "http://anglebug.com/7036"}; 108 }; 109 110 inline FrontendFeatures::FrontendFeatures() = default; 111 inline FrontendFeatures::~FrontendFeatures() = default; 112 113 } // namespace angle 114 115 #endif // ANGLE_PLATFORM_FRONTENDFEATURES_H_