OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |