OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/logging.h" | 8 #include "base/logging.h" |
9 #include "gpu/command_buffer/tests/gl_manager.h" | 9 #include "gpu/command_buffer/tests/gl_manager.h" |
10 #include "gpu/command_buffer/tests/gl_test_utils.h" | 10 #include "gpu/command_buffer/tests/gl_test_utils.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 glDeleteTextures(1, &tex); | 49 glDeleteTextures(1, &tex); |
50 gl1_.MakeCurrent(); | 50 gl1_.MakeCurrent(); |
51 glBindTexture(GL_TEXTURE_2D,tex); | 51 glBindTexture(GL_TEXTURE_2D,tex); |
52 GLTestHelper::CheckGLError("no errors", __LINE__); | 52 GLTestHelper::CheckGLError("no errors", __LINE__); |
53 gl2_.MakeCurrent(); | 53 gl2_.MakeCurrent(); |
54 GLTestHelper::CheckGLError("no errors", __LINE__); | 54 GLTestHelper::CheckGLError("no errors", __LINE__); |
55 } | 55 } |
56 | 56 |
57 } // namespace gpu | 57 } // namespace gpu |
58 | 58 |
OLD | NEW |