| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 GLint level, | 66 GLint level, |
| 67 GLint xoffset, | 67 GLint xoffset, |
| 68 GLint yoffset, | 68 GLint yoffset, |
| 69 GLsizei width, | 69 GLsizei width, |
| 70 GLsizei height, | 70 GLsizei height, |
| 71 GLenum format, | 71 GLenum format, |
| 72 GLenum type, | 72 GLenum type, |
| 73 const void* pixels) {} | 73 const void* pixels) {} |
| 74 virtual void waitAsyncTexImage2DCHROMIUM(GLenum target) {} | 74 virtual void waitAsyncTexImage2DCHROMIUM(GLenum target) {} |
| 75 virtual void releaseTexImage2DCHROMIUM(GLenum target, GLint image_id) {} | 75 virtual void releaseTexImage2DCHROMIUM(GLenum target, GLint image_id) {} |
| 76 virtual void framebufferRenderbuffer(GLenum target, |
| 77 GLenum attachment, |
| 78 GLenum renderbuffertarget, |
| 79 GLuint renderbuffer) {} |
| 80 virtual void framebufferTexture2D(GLenum target, |
| 81 GLenum attachment, |
| 82 GLenum textarget, |
| 83 GLuint texture, |
| 84 GLint level) {} |
| 85 virtual void renderbufferStorage(GLenum target, |
| 86 GLenum internalformat, |
| 87 GLsizei width, |
| 88 GLsizei height) {} |
| 76 | 89 |
| 77 virtual GLenum checkFramebufferStatus(GLenum target); | 90 virtual GLenum checkFramebufferStatus(GLenum target); |
| 78 | 91 |
| 79 virtual void clear(GLbitfield mask) {} | 92 virtual void clear(GLbitfield mask) {} |
| 80 virtual void clearColor(GLclampf red, | 93 virtual void clearColor(GLclampf red, |
| 81 GLclampf green, | 94 GLclampf green, |
| 82 GLclampf blue, | 95 GLclampf blue, |
| 83 GLclampf alpha) {} | 96 GLclampf alpha) {} |
| 84 virtual void clearStencil(GLint s) {} | 97 virtual void clearStencil(GLint s) {} |
| 85 virtual void compressedTexImage2D(GLenum target, | 98 virtual void compressedTexImage2D(GLenum target, |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 | 466 |
| 454 scoped_refptr<Namespace> namespace_; | 467 scoped_refptr<Namespace> namespace_; |
| 455 static Namespace* shared_namespace_; | 468 static Namespace* shared_namespace_; |
| 456 | 469 |
| 457 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; | 470 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; |
| 458 }; | 471 }; |
| 459 | 472 |
| 460 } // namespace cc | 473 } // namespace cc |
| 461 | 474 |
| 462 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 475 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
| OLD | NEW |