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

Side by Side Diff: client/deps/glbench/src/varyingsandddxytest.cc

Issue 2794002: Added gflags switches: duration, tests, save, out. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: addressed comments Created 10 years, 6 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) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS 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 "main.h" 5 #include "main.h"
6 #include "testbase.h" 6 #include "testbase.h"
7 #include "utils.h" 7 #include "utils.h"
8 8
9 9
10 namespace glbench { 10 namespace glbench {
11 11
12 12
13 class VaryingsAndDdxyShaderTest : public DrawElementsTestFunc { 13 class VaryingsAndDdxyShaderTest : public DrawElementsTestFunc {
14 public: 14 public:
15 VaryingsAndDdxyShaderTest() {} 15 VaryingsAndDdxyShaderTest() {}
16 virtual ~VaryingsAndDdxyShaderTest() {} 16 virtual ~VaryingsAndDdxyShaderTest() {}
17 virtual bool Run(); 17 virtual bool Run();
18 virtual const char* Name() const { return "varyings_ddx_shader"; }
18 19
19 private: 20 private:
20 DISALLOW_COPY_AND_ASSIGN(VaryingsAndDdxyShaderTest); 21 DISALLOW_COPY_AND_ASSIGN(VaryingsAndDdxyShaderTest);
21 }; 22 };
22 23
23 #if defined(I915_WORKAROUND) 24 #if defined(I915_WORKAROUND)
24 #define V1 "gl_TexCoord[0]" 25 #define V1 "gl_TexCoord[0]"
25 #define V2 "gl_TexCoord[1]" 26 #define V2 "gl_TexCoord[1]"
26 #define V3 "gl_TexCoord[2]" 27 #define V3 "gl_TexCoord[2]"
27 #define V4 "gl_TexCoord[3]" 28 #define V4 "gl_TexCoord[3]"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 return true; 239 return true;
239 } 240 }
240 241
241 242
242 TestBase* GetVaryingsAndDdxyShaderTest() { 243 TestBase* GetVaryingsAndDdxyShaderTest() {
243 return new VaryingsAndDdxyShaderTest; 244 return new VaryingsAndDdxyShaderTest;
244 } 245 }
245 246
246 247
247 } // namespace glbench 248 } // namespace glbench
OLDNEW
« no previous file with comments | « client/deps/glbench/src/utils.cc ('k') | client/deps/glbench/src/windowmanagercompositingtest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698