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 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ |
7 | 7 |
8 #include "gpu/command_buffer/common/gl_mock.h" | 8 #include "ui/gl/gl_mock.h" |
9 | 9 |
10 namespace gpu { | 10 namespace gpu { |
11 namespace gles2 { | 11 namespace gles2 { |
12 | 12 |
13 struct DisallowedFeatures; | 13 struct DisallowedFeatures; |
14 | 14 |
15 class TestHelper { | 15 class TestHelper { |
16 public: | 16 public: |
17 static const GLuint kServiceBlackTexture2dId = 701; | 17 static const GLuint kServiceBlackTexture2dId = 701; |
18 static const GLuint kServiceDefaultTexture2dId = 702; | 18 static const GLuint kServiceDefaultTexture2dId = 702; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 ::gfx::MockGLInterface* gl, GLenum target); | 91 ::gfx::MockGLInterface* gl, GLenum target); |
92 static void SetupTextureDestructionExpectations( | 92 static void SetupTextureDestructionExpectations( |
93 ::gfx::MockGLInterface* gl, GLenum target); | 93 ::gfx::MockGLInterface* gl, GLenum target); |
94 }; | 94 }; |
95 | 95 |
96 } // namespace gles2 | 96 } // namespace gles2 |
97 } // namespace gpu | 97 } // namespace gpu |
98 | 98 |
99 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ | 99 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ |
100 | 100 |
OLD | NEW |