OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_ | 5 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_ |
6 #define CC_TEST_TEST_GLES2_INTERFACE_H_ | 6 #define CC_TEST_TEST_GLES2_INTERFACE_H_ |
7 | 7 |
8 #include "gpu/command_buffer/client/gles2_interface_stub.h" | 8 #include "gpu/command_buffer/client/gles2_interface_stub.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 GLsizei width, | 130 GLsizei width, |
131 GLsizei height) override; | 131 GLsizei height) override; |
132 | 132 |
133 void* MapBufferCHROMIUM(GLuint target, GLenum access) override; | 133 void* MapBufferCHROMIUM(GLuint target, GLenum access) override; |
134 GLboolean UnmapBufferCHROMIUM(GLuint target) override; | 134 GLboolean UnmapBufferCHROMIUM(GLuint target) override; |
135 void BufferData(GLenum target, | 135 void BufferData(GLenum target, |
136 GLsizeiptr size, | 136 GLsizeiptr size, |
137 const void* data, | 137 const void* data, |
138 GLenum usage) override; | 138 GLenum usage) override; |
139 | 139 |
140 GLuint InsertSyncPointCHROMIUM() override; | |
141 GLuint64 InsertFenceSyncCHROMIUM() override; | 140 GLuint64 InsertFenceSyncCHROMIUM() override; |
142 void GenSyncTokenCHROMIUM(GLuint64 fence_sync, GLbyte* sync_token) override; | 141 void GenSyncTokenCHROMIUM(GLuint64 fence_sync, GLbyte* sync_token) override; |
143 void GenUnverifiedSyncTokenCHROMIUM(GLuint64 fence_sync, | 142 void GenUnverifiedSyncTokenCHROMIUM(GLuint64 fence_sync, |
144 GLbyte* sync_token) override; | 143 GLbyte* sync_token) override; |
145 void VerifySyncTokensCHROMIUM(GLbyte** sync_tokens, GLsizei count) override; | 144 void VerifySyncTokensCHROMIUM(GLbyte** sync_tokens, GLsizei count) override; |
146 void WaitSyncTokenCHROMIUM(const GLbyte* sync_token) override; | 145 void WaitSyncTokenCHROMIUM(const GLbyte* sync_token) override; |
147 | 146 |
148 void BeginQueryEXT(GLenum target, GLuint id) override; | 147 void BeginQueryEXT(GLenum target, GLuint id) override; |
149 void EndQueryEXT(GLenum target) override; | 148 void EndQueryEXT(GLenum target) override; |
150 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override; | 149 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override; |
(...skipping 17 matching lines...) Expand all Loading... |
168 void LoseContextCHROMIUM(GLenum current, GLenum other) override; | 167 void LoseContextCHROMIUM(GLenum current, GLenum other) override; |
169 GLenum GetGraphicsResetStatusKHR() override; | 168 GLenum GetGraphicsResetStatusKHR() override; |
170 | 169 |
171 private: | 170 private: |
172 TestWebGraphicsContext3D* test_context_; | 171 TestWebGraphicsContext3D* test_context_; |
173 }; | 172 }; |
174 | 173 |
175 } // namespace cc | 174 } // namespace cc |
176 | 175 |
177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 176 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
OLD | NEW |