Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: gpu/command_buffer/service/gpu_switches.cc

Issue 769703005: Move AW renderer compositor context to gpu thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ready Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "base/basictypes.h" 6 #include "base/basictypes.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // Always return success when compiling a shader. Linking will still fail. 10 // Always return success when compiling a shader. Linking will still fail.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 // Enable WebGL subscribe uniform extension. 59 // Enable WebGL subscribe uniform extension.
60 const char kEnableSubscribeUniformExtension[] = 60 const char kEnableSubscribeUniformExtension[] =
61 "enable-subscribe-uniform-extension"; 61 "enable-subscribe-uniform-extension";
62 62
63 // Simulates shared textures when share groups are not available. Not available 63 // Simulates shared textures when share groups are not available. Not available
64 // everywhere. 64 // everywhere.
65 const char kEnableThreadedTextureMailboxes[] = 65 const char kEnableThreadedTextureMailboxes[] =
66 "enable-threaded-texture-mailboxes"; 66 "enable-threaded-texture-mailboxes";
67 67
68 const char kEnableAsyncPixelWithThreadedTextureMailboxes[] =
69 "enable-async-pixel-with-threaded-texture-mailboxes";
70
68 // Enable OpenGL ES 3 APIs without proper service side validation. 71 // Enable OpenGL ES 3 APIs without proper service side validation.
69 const char kEnableUnsafeES3APIs[] = "enable-unsafe-es3-apis"; 72 const char kEnableUnsafeES3APIs[] = "enable-unsafe-es3-apis";
70 73
71 // Include ANGLE's intermediate representation (AST) output in shader 74 // Include ANGLE's intermediate representation (AST) output in shader
72 // compilation info logs. 75 // compilation info logs.
73 const char kGLShaderIntermOutput[] = "gl-shader-interm-output"; 76 const char kGLShaderIntermOutput[] = "gl-shader-interm-output";
74 77
75 // Emulate ESSL lowp and mediump float precisions by mutating the shaders to 78 // Emulate ESSL lowp and mediump float precisions by mutating the shaders to
76 // round intermediate values in ANGLE. 79 // round intermediate values in ANGLE.
77 const char kEmulateShaderPrecision[] = "emulate-shader-precision"; 80 const char kEmulateShaderPrecision[] = "emulate-shader-precision";
(...skipping 16 matching lines...) Expand all
94 kEnableShareGroupAsyncTextureUpload, 97 kEnableShareGroupAsyncTextureUpload,
95 kEnableUnsafeES3APIs, 98 kEnableUnsafeES3APIs,
96 kEnableSubscribeUniformExtension, 99 kEnableSubscribeUniformExtension,
97 kGLShaderIntermOutput, 100 kGLShaderIntermOutput,
98 kEmulateShaderPrecision, 101 kEmulateShaderPrecision,
99 }; 102 };
100 103
101 const int kNumGpuSwitches = arraysize(kGpuSwitches); 104 const int kNumGpuSwitches = arraysize(kGpuSwitches);
102 105
103 } // namespace switches 106 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698