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

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

Issue 3034043: For Issue 558: disabled some tests, updated checksums. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « client/deps/glbench/src/testbase.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 program = VaryingsShaderProgram(4, vertex_buffer); 213 program = VaryingsShaderProgram(4, vertex_buffer);
214 RunTest(this, 214 RunTest(this,
215 "mpixels_sec_varyings_shader_4", g_width * g_height, true); 215 "mpixels_sec_varyings_shader_4", g_width * g_height, true);
216 glDeleteProgram(program); 216 glDeleteProgram(program);
217 217
218 program = VaryingsShaderProgram(8, vertex_buffer); 218 program = VaryingsShaderProgram(8, vertex_buffer);
219 RunTest(this, 219 RunTest(this,
220 "mpixels_sec_varyings_shader_8", g_width * g_height, true); 220 "mpixels_sec_varyings_shader_8", g_width * g_height, true);
221 glDeleteProgram(program); 221 glDeleteProgram(program);
222 222
223 #if !defined(DISABLE_SOME_TESTS_FOR_INTEL_DRIVER)
223 program = DdxDdyShaderProgram(true, vertex_buffer); 224 program = DdxDdyShaderProgram(true, vertex_buffer);
224 RunTest(this, 225 RunTest(this,
225 "mpixels_sec_ddx_shader", g_width * g_height, true); 226 "mpixels_sec_ddx_shader", g_width * g_height, true);
226 glDeleteProgram(program); 227 glDeleteProgram(program);
227 228
228 program = DdxDdyShaderProgram(false, vertex_buffer); 229 program = DdxDdyShaderProgram(false, vertex_buffer);
229 RunTest(this, 230 RunTest(this,
230 "mpixels_sec_ddy_shader", g_width * g_height, true); 231 "mpixels_sec_ddy_shader", g_width * g_height, true);
231 glDeleteProgram(program); 232 glDeleteProgram(program);
233 #endif
232 234
233 glDeleteBuffers(1, &index_buffer); 235 glDeleteBuffers(1, &index_buffer);
234 delete[] indices; 236 delete[] indices;
235 237
236 glDeleteBuffers(1, &vertex_buffer); 238 glDeleteBuffers(1, &vertex_buffer);
237 delete[] vertices; 239 delete[] vertices;
238 240
239 return true; 241 return true;
240 } 242 }
241 243
242 244
243 TestBase* GetVaryingsAndDdxyShaderTest() { 245 TestBase* GetVaryingsAndDdxyShaderTest() {
244 return new VaryingsAndDdxyShaderTest; 246 return new VaryingsAndDdxyShaderTest;
245 } 247 }
246 248
247 249
248 } // namespace glbench 250 } // namespace glbench
OLDNEW
« no previous file with comments | « client/deps/glbench/src/testbase.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698