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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 virtual void bindBuffer(GLenum target, GLuint buffer); | 246 virtual void bindBuffer(GLenum target, GLuint buffer); |
247 virtual void bufferData(GLenum target, | 247 virtual void bufferData(GLenum target, |
248 GLsizeiptr size, | 248 GLsizeiptr size, |
249 const void* data, | 249 const void* data, |
250 GLenum usage); | 250 GLenum usage); |
251 virtual void pixelStorei(GLenum pname, GLint param); | 251 virtual void pixelStorei(GLenum pname, GLint param); |
252 virtual void* mapBufferCHROMIUM(GLenum target, | 252 virtual void* mapBufferCHROMIUM(GLenum target, |
253 GLenum access); | 253 GLenum access); |
254 virtual GLboolean unmapBufferCHROMIUM(GLenum target); | 254 virtual GLboolean unmapBufferCHROMIUM(GLenum target); |
255 | 255 |
256 virtual GLuint createImageCHROMIUM(ClientBuffer buffer, | 256 virtual GLuint createImageCHROMIUM(ClientBuffer* buffers, |
257 GLsizei width, | 257 GLsizei width, |
258 GLsizei height, | 258 GLsizei height, |
259 GLenum internalformat); | 259 GLenum internalformat); |
260 virtual void destroyImageCHROMIUM(GLuint image_id); | 260 virtual void destroyImageCHROMIUM(GLuint image_id); |
261 virtual GLuint createGpuMemoryBufferImageCHROMIUM(GLsizei width, | 261 virtual GLuint createGpuMemoryBufferImageCHROMIUM(GLsizei width, |
262 GLsizei height, | 262 GLsizei height, |
263 GLenum internalformat, | 263 GLenum internalformat, |
264 GLenum usage); | 264 GLenum usage); |
265 | 265 |
266 virtual void texImageIOSurface2DCHROMIUM(GLenum target, | 266 virtual void texImageIOSurface2DCHROMIUM(GLenum target, |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 | 479 |
480 scoped_refptr<Namespace> namespace_; | 480 scoped_refptr<Namespace> namespace_; |
481 static Namespace* shared_namespace_; | 481 static Namespace* shared_namespace_; |
482 | 482 |
483 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; | 483 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; |
484 }; | 484 }; |
485 | 485 |
486 } // namespace cc | 486 } // namespace cc |
487 | 487 |
488 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 488 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
OLD | NEW |