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

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

Issue 2115012: Added texture update test. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: C++ enum Created 10 years, 7 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/bench.cc ('k') | client/deps/glbench/src/testbase.cc » ('j') | 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 <fcntl.h> 5 #include <fcntl.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 #include <sys/mman.h> 9 #include <sys/mman.h>
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 glbench::GetClearTest(), 61 glbench::GetClearTest(),
62 glbench::GetFillRateTest(), 62 glbench::GetFillRateTest(),
63 glbench::GetYuvToRgbTest(1, "yuv_shader_1"), 63 glbench::GetYuvToRgbTest(1, "yuv_shader_1"),
64 glbench::GetYuvToRgbTest(2, "yuv_shader_2"), 64 glbench::GetYuvToRgbTest(2, "yuv_shader_2"),
65 glbench::GetReadPixelTest(), 65 glbench::GetReadPixelTest(),
66 glbench::GetTriangleSetupTest(), 66 glbench::GetTriangleSetupTest(),
67 glbench::GetAttributeFetchShaderTest(), 67 glbench::GetAttributeFetchShaderTest(),
68 glbench::GetVaryingsAndDdxyShaderTest(), 68 glbench::GetVaryingsAndDdxyShaderTest(),
69 glbench::GetWindowManagerCompositingTest(false), 69 glbench::GetWindowManagerCompositingTest(false),
70 glbench::GetWindowManagerCompositingTest(true), 70 glbench::GetWindowManagerCompositingTest(true),
71 glbench::GetTextureUpdateTest(),
71 }; 72 };
72 73
73 for (unsigned int i = 0; i < arraysize(tests); i++) { 74 for (unsigned int i = 0; i < arraysize(tests); i++) {
74 InitContext(); 75 InitContext();
75 tests[i]->Run(); 76 tests[i]->Run();
76 DestroyContext(); 77 DestroyContext();
77 delete tests[i]; 78 delete tests[i];
78 tests[i] = NULL; 79 tests[i] = NULL;
79 } 80 }
80 81
81 return 0; 82 return 0;
82 } 83 }
OLDNEW
« no previous file with comments | « client/deps/glbench/src/bench.cc ('k') | client/deps/glbench/src/testbase.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698