| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "gpu/command_buffer/service/gpu_switches.h" | 5 #include "gpu/command_buffer/service/gpu_switches.h" |
| 6 | 6 |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 // Sets the maximum size of the in-memory gpu program cache, in kb | 47 // Sets the maximum size of the in-memory gpu program cache, in kb |
| 48 const char kGpuProgramCacheSizeKb[] = "gpu-program-cache-size-kb"; | 48 const char kGpuProgramCacheSizeKb[] = "gpu-program-cache-size-kb"; |
| 49 | 49 |
| 50 // Disables the GPU shader on disk cache. | 50 // Disables the GPU shader on disk cache. |
| 51 const char kDisableGpuShaderDiskCache[] = "disable-gpu-shader-disk-cache"; | 51 const char kDisableGpuShaderDiskCache[] = "disable-gpu-shader-disk-cache"; |
| 52 | 52 |
| 53 // Allows async texture uploads (off main thread) via GL context sharing. | 53 // Allows async texture uploads (off main thread) via GL context sharing. |
| 54 const char kEnableShareGroupAsyncTextureUpload[] = | 54 const char kEnableShareGroupAsyncTextureUpload[] = |
| 55 "enable-share-group-async-texture-upload"; | 55 "enable-share-group-async-texture-upload"; |
| 56 | 56 |
| 57 // Enable WebGL subscribe uniform extension. | |
| 58 const char kEnableSubscribeUniformExtension[] = | |
| 59 "enable-subscribe-uniform-extension"; | |
| 60 | |
| 61 // Simulates shared textures when share groups are not available. Not available | 57 // Simulates shared textures when share groups are not available. Not available |
| 62 // everywhere. | 58 // everywhere. |
| 63 const char kEnableThreadedTextureMailboxes[] = | 59 const char kEnableThreadedTextureMailboxes[] = |
| 64 "enable-threaded-texture-mailboxes"; | 60 "enable-threaded-texture-mailboxes"; |
| 65 | 61 |
| 66 // Include ANGLE's intermediate representation (AST) output in shader | 62 // Include ANGLE's intermediate representation (AST) output in shader |
| 67 // compilation info logs. | 63 // compilation info logs. |
| 68 const char kGLShaderIntermOutput[] = "gl-shader-interm-output"; | 64 const char kGLShaderIntermOutput[] = "gl-shader-interm-output"; |
| 69 | 65 |
| 70 // Emulate ESSL lowp and mediump float precisions by mutating the shaders to | 66 // Emulate ESSL lowp and mediump float precisions by mutating the shaders to |
| 71 // round intermediate values in ANGLE. | 67 // round intermediate values in ANGLE. |
| 72 const char kEmulateShaderPrecision[] = "emulate-shader-precision"; | 68 const char kEmulateShaderPrecision[] = "emulate-shader-precision"; |
| 73 | 69 |
| 74 } // namespace switches | 70 } // namespace switches |
| OLD | NEW |