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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; | 140 GLuint InsertSyncPointCHROMIUM() override; |
141 | 141 GLuint64 InsertFenceSyncCHROMIUM() override; |
| 142 void GenSyncTokenCHROMIUM(GLuint64 fence_sync, GLbyte* sync_token) override; |
| 143 void GenUnverifiedSyncTokenCHROMIUM(GLuint64 fence_sync, |
| 144 GLbyte* sync_token) override; |
| 145 void VerifySyncTokensCHROMIUM(GLbyte** sync_tokens, GLsizei count) override; |
142 void WaitSyncTokenCHROMIUM(const GLbyte* sync_token) override; | 146 void WaitSyncTokenCHROMIUM(const GLbyte* sync_token) override; |
143 | 147 |
144 void BeginQueryEXT(GLenum target, GLuint id) override; | 148 void BeginQueryEXT(GLenum target, GLuint id) override; |
145 void EndQueryEXT(GLenum target) override; | 149 void EndQueryEXT(GLenum target) override; |
146 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override; | 150 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override; |
147 | 151 |
148 void DiscardFramebufferEXT(GLenum target, | 152 void DiscardFramebufferEXT(GLenum target, |
149 GLsizei count, | 153 GLsizei count, |
150 const GLenum* attachments) override; | 154 const GLenum* attachments) override; |
151 void GenMailboxCHROMIUM(GLbyte* mailbox) override; | 155 void GenMailboxCHROMIUM(GLbyte* mailbox) override; |
(...skipping 12 matching lines...) Expand all Loading... |
164 void LoseContextCHROMIUM(GLenum current, GLenum other) override; | 168 void LoseContextCHROMIUM(GLenum current, GLenum other) override; |
165 GLenum GetGraphicsResetStatusKHR() override; | 169 GLenum GetGraphicsResetStatusKHR() override; |
166 | 170 |
167 private: | 171 private: |
168 TestWebGraphicsContext3D* test_context_; | 172 TestWebGraphicsContext3D* test_context_; |
169 }; | 173 }; |
170 | 174 |
171 } // namespace cc | 175 } // namespace cc |
172 | 176 |
173 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ | 177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ |
OLD | NEW |