Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Side by Side Diff: cc/test/test_web_graphics_context_3d.h

Issue 2443023002: gpu: Add CHROMIUM_copy_image extension.
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/test/test_gles2_interface.cc ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_image.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 GLint level, 73 GLint level,
74 GLint xoffset, 74 GLint xoffset,
75 GLint yoffset, 75 GLint yoffset,
76 GLsizei width, 76 GLsizei width,
77 GLsizei height, 77 GLsizei height,
78 GLenum format, 78 GLenum format,
79 GLenum type, 79 GLenum type,
80 const void* pixels) {} 80 const void* pixels) {}
81 virtual void waitAsyncTexImage2DCHROMIUM(GLenum target) {} 81 virtual void waitAsyncTexImage2DCHROMIUM(GLenum target) {}
82 virtual void releaseTexImage2DCHROMIUM(GLenum target, GLint image_id) {} 82 virtual void releaseTexImage2DCHROMIUM(GLenum target, GLint image_id) {}
83 virtual void copyImageSubDataCHROMIUM(GLint source_image_id,
84 GLint dest_texture_id,
85 GLint xoffset,
86 GLint yoffset,
87 GLint x,
88 GLint y,
89 GLsizei width,
90 GLsizei height,
91 GLint in_fence_id,
92 GLint out_fence_id) {}
83 virtual void framebufferRenderbuffer(GLenum target, 93 virtual void framebufferRenderbuffer(GLenum target,
84 GLenum attachment, 94 GLenum attachment,
85 GLenum renderbuffertarget, 95 GLenum renderbuffertarget,
86 GLuint renderbuffer) {} 96 GLuint renderbuffer) {}
87 virtual void framebufferTexture2D(GLenum target, 97 virtual void framebufferTexture2D(GLenum target,
88 GLenum attachment, 98 GLenum attachment,
89 GLenum textarget, 99 GLenum textarget,
90 GLuint texture, 100 GLuint texture,
91 GLint level) {} 101 GLint level) {}
92 virtual void renderbufferStorage(GLenum target, 102 virtual void renderbufferStorage(GLenum target,
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 495
486 scoped_refptr<Namespace> namespace_; 496 scoped_refptr<Namespace> namespace_;
487 static Namespace* shared_namespace_; 497 static Namespace* shared_namespace_;
488 498
489 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_; 499 base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_;
490 }; 500 };
491 501
492 } // namespace cc 502 } // namespace cc
493 503
494 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ 504 #endif // CC_TEST_TEST_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « cc/test/test_gles2_interface.cc ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_image.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698