| 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); |
| 271 | 272 |
| 272 virtual void texImageIOSurface2DCHROMIUM(GLenum target, | 273 virtual void texImageIOSurface2DCHROMIUM(GLenum target, |
| 273 GLsizei width, | 274 GLsizei width, |
| 274 GLsizei height, | 275 GLsizei height, |
| 275 GLuint io_surface_id, | 276 GLuint io_surface_id, |
| 276 GLuint plane) {} | 277 GLuint plane) {} |
| 277 | 278 |
| 278 virtual GLuint64 insertFenceSync(); | 279 virtual GLuint64 insertFenceSync(); |
| 279 virtual void genSyncToken(GLuint64 fence_sync, GLbyte* sync_token); | 280 virtual void genSyncToken(GLuint64 fence_sync, GLbyte* sync_token); |
| 280 virtual void waitSyncToken(const GLbyte* sync_token); | 281 virtual void waitSyncToken(const GLbyte* sync_token); |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 | 491 |
| 491 scoped_refptr<Namespace> namespace_; | 492 scoped_refptr<Namespace> namespace_; |
| 492 static Namespace* shared_namespace_; | 493 static Namespace* shared_namespace_; |
| 493 | 494 |
| 494 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; | 495 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; |
| 495 }; | 496 }; |
| 496 | 497 |
| 497 } // namespace cc | 498 } // namespace cc |
| 498 | 499 |
| 499 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 500 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
| OLD | NEW |