OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "gpu/command_buffer/common/gl_mock.h" |
9 #include "gpu/GLES2/gles2_command_buffer.h" | |
10 | 9 |
11 namespace gpu { | 10 namespace gpu { |
12 namespace gles2 { | 11 namespace gles2 { |
13 | 12 |
14 struct DisallowedExtensions; | 13 struct DisallowedExtensions; |
15 | 14 |
16 class TestHelper { | 15 class TestHelper { |
17 public: | 16 public: |
18 static const GLuint kServiceBlackTexture2dId = 701; | 17 static const GLuint kServiceBlackTexture2dId = 701; |
19 static const GLuint kServiceBlackTextureCubemapId = 702; | 18 static const GLuint kServiceBlackTextureCubemapId = 702; |
(...skipping 25 matching lines...) Expand all Loading... |
45 ::gfx::MockGLInterface* gl, const char* extensions); | 44 ::gfx::MockGLInterface* gl, const char* extensions); |
46 static void SetupTextureManagerInitExpectations(::gfx::MockGLInterface* gl, | 45 static void SetupTextureManagerInitExpectations(::gfx::MockGLInterface* gl, |
47 const char* extensions); | 46 const char* extensions); |
48 }; | 47 }; |
49 | 48 |
50 } // namespace gles2 | 49 } // namespace gles2 |
51 } // namespace gpu | 50 } // namespace gpu |
52 | 51 |
53 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ | 52 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ |
54 | 53 |
OLD | NEW |