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

Unified Diff: gpu/command_buffer/service/gpu_switches.cc

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: fix windows build Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/gpu_switches.h ('k') | gpu/command_buffer/service/path_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_switches.cc
diff --git a/gpu/command_buffer/service/gpu_switches.cc b/gpu/command_buffer/service/gpu_switches.cc
index d2ca49018b76946986abd318e78757f758a16cd4..171f543b7d44e11b32df43eddf996d04712fa9bc 100644
--- a/gpu/command_buffer/service/gpu_switches.cc
+++ b/gpu/command_buffer/service/gpu_switches.cc
@@ -71,25 +71,31 @@ const char kGLShaderIntermOutput[] = "gl-shader-interm-output";
// round intermediate values in ANGLE.
const char kEmulateShaderPrecision[] = "emulate-shader-precision";
+// Enables using path rendering implementation implemented currently
+// in NV_path_rendering OpenGL extension. Requires compatible hardware
+// and driver. This is used in GPU rasterization.
+const char kEnableGLPathRendering[] = "enable-gl-path-rendering";
+
const char* kGpuSwitches[] = {
- kCompileShaderAlwaysSucceeds,
- kDisableGLErrorLimit,
- kDisableGLSLTranslator,
- kDisableGpuDriverBugWorkarounds,
- kDisableShaderNameHashing,
- kEnableGPUCommandLogging,
- kEnableGPUDebugging,
- kEnableGPUServiceLoggingGPU,
- kDisableGpuProgramCache,
- kEnforceGLMinimums,
- kForceGpuMemAvailableMb,
- kGpuDriverBugWorkarounds,
- kGpuProgramCacheSizeKb,
- kDisableGpuShaderDiskCache,
- kEnableShareGroupAsyncTextureUpload,
- kEnableSubscribeUniformExtension,
- kGLShaderIntermOutput,
- kEmulateShaderPrecision,
+ kCompileShaderAlwaysSucceeds,
+ kDisableGLErrorLimit,
+ kDisableGLSLTranslator,
+ kDisableGpuDriverBugWorkarounds,
+ kDisableShaderNameHashing,
+ kEnableGPUCommandLogging,
+ kEnableGPUDebugging,
+ kEnableGPUServiceLoggingGPU,
+ kDisableGpuProgramCache,
+ kEnforceGLMinimums,
+ kForceGpuMemAvailableMb,
+ kGpuDriverBugWorkarounds,
+ kGpuProgramCacheSizeKb,
+ kDisableGpuShaderDiskCache,
+ kEnableShareGroupAsyncTextureUpload,
+ kEnableSubscribeUniformExtension,
+ kGLShaderIntermOutput,
+ kEmulateShaderPrecision,
+ kEnableGLPathRendering,
};
const int kNumGpuSwitches = arraysize(kGpuSwitches);
« no previous file with comments | « gpu/command_buffer/service/gpu_switches.h ('k') | gpu/command_buffer/service/path_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698