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_WEB_GRAPHICS_CONTEXT_3D_H_ | 5 #ifndef CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 6 #define CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 261 |
262 virtual GLuint createImageCHROMIUM(ClientBuffer buffer, | 262 virtual GLuint createImageCHROMIUM(ClientBuffer buffer, |
263 GLsizei width, | 263 GLsizei width, |
264 GLsizei height, | 264 GLsizei height, |
265 GLenum internalformat); | 265 GLenum internalformat); |
266 virtual void destroyImageCHROMIUM(GLuint image_id); | 266 virtual void destroyImageCHROMIUM(GLuint image_id); |
267 virtual GLuint createGpuMemoryBufferImageCHROMIUM(GLsizei width, | 267 virtual GLuint createGpuMemoryBufferImageCHROMIUM(GLsizei width, |
268 GLsizei height, | 268 GLsizei height, |
269 GLenum internalformat, | 269 GLenum internalformat, |
270 GLenum usage); | 270 GLenum usage); |
271 virtual void getImageivCHROMIUM(GLuint image_id, GLenum param, GLint* data); | |
272 | 271 |
273 virtual GLuint64 insertFenceSync(); | 272 virtual GLuint64 insertFenceSync(); |
274 virtual void genSyncToken(GLuint64 fence_sync, GLbyte* sync_token); | 273 virtual void genSyncToken(GLuint64 fence_sync, GLbyte* sync_token); |
275 virtual void waitSyncToken(const GLbyte* sync_token); | 274 virtual void waitSyncToken(const GLbyte* sync_token); |
276 virtual void verifySyncTokens(GLbyte** sync_tokens, GLsizei count); | 275 virtual void verifySyncTokens(GLbyte** sync_tokens, GLsizei count); |
277 | 276 |
278 const gpu::SyncToken& last_waited_sync_token() const { | 277 const gpu::SyncToken& last_waited_sync_token() const { |
279 return last_waited_sync_token_; | 278 return last_waited_sync_token_; |
280 } | 279 } |
281 | 280 |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 | 484 |
486 scoped_refptr<Namespace> namespace_; | 485 scoped_refptr<Namespace> namespace_; |
487 static Namespace* shared_namespace_; | 486 static Namespace* shared_namespace_; |
488 | 487 |
489 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; | 488 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; |
490 }; | 489 }; |
491 | 490 |
492 } // namespace cc | 491 } // namespace cc |
493 | 492 |
494 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 493 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
OLD | NEW |