| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium 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 <GLES2/gl2.h> | 5 #include <GLES2/gl2.h> |
| 6 #include <GLES2/gl2ext.h> | 6 #include <GLES2/gl2ext.h> |
| 7 | 7 |
| 8 #include "gpu/command_buffer/tests/gl_manager.h" | 8 #include "gpu/command_buffer/tests/gl_manager.h" |
| 9 #include "gpu/command_buffer/tests/gl_test_utils.h" | 9 #include "gpu/command_buffer/tests/gl_test_utils.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 glDrawArrays(GL_TRIANGLES, 0, 6); | 151 glDrawArrays(GL_TRIANGLES, 0, 6); |
| 152 EXPECT_TRUE( | 152 EXPECT_TRUE( |
| 153 GLTestHelper::CheckPixels(0, 0, kSize, kSize, 0, expected_green)); | 153 GLTestHelper::CheckPixels(0, 0, kSize, kSize, 0, expected_green)); |
| 154 } | 154 } |
| 155 | 155 |
| 156 GLTestHelper::CheckGLError("no errors", __LINE__); | 156 GLTestHelper::CheckGLError("no errors", __LINE__); |
| 157 } | 157 } |
| 158 | 158 |
| 159 } // namespace gpu | 159 } // namespace gpu |
| 160 | 160 |
| OLD | NEW |