Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ui / gl / gl_switches.cc
index 7eaa3d8..e5e9f25 100644 (file)
@@ -56,6 +56,9 @@ const char kTestGLLib[]                     = "test-gl-lib";
 // Use hardware gpu, if available, for tests.
 const char kUseGpuInTests[] = "use-gpu-in-tests";
 
+// On Windows only: use the WARP software rasterizer in the GPU process.
+const char kUseWarp[] = "use-warp";
+
 // Disables GL drawing operations which produce pixel output. With this
 // the GL output will not be correct but tests will run faster.
 const char kDisableGLDrawingForTests[] = "disable-gl-drawing-for-tests";
@@ -75,6 +78,7 @@ const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
   kGpuNoContextLost,
   kDisableGLDrawingForTests,
   kOverrideUseGLWithOSMesaForTests,
+  kUseWarp
 };
 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
     arraysize(kGLSwitchesCopiedFromGpuProcessHost);