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

Side by Side Diff: cc/test/test_gles2_interface.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 | « no previous file | cc/test/test_gles2_interface.cc » ('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_GLES2_INTERFACE_H_ 5 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_
6 #define CC_TEST_TEST_GLES2_INTERFACE_H_ 6 #define CC_TEST_TEST_GLES2_INTERFACE_H_
7 7
8 #include "gpu/command_buffer/client/gles2_interface_stub.h" 8 #include "gpu/command_buffer/client/gles2_interface_stub.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 GLenum internalformat) override; 106 GLenum internalformat) override;
107 void DestroyImageCHROMIUM(GLuint image_id) override; 107 void DestroyImageCHROMIUM(GLuint image_id) override;
108 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, 108 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
109 GLsizei height, 109 GLsizei height,
110 GLenum internalformat, 110 GLenum internalformat,
111 GLenum usage) override; 111 GLenum usage) override;
112 void BindTexImage2DCHROMIUM(GLenum target, 112 void BindTexImage2DCHROMIUM(GLenum target,
113 GLint image_id, 113 GLint image_id,
114 GLint fence_id) override; 114 GLint fence_id) override;
115 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override; 115 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint image_id) override;
116 void CopyImageSubDataCHROMIUM(GLint source_image_id,
117 GLint dest_texture_id,
118 GLint xoffset,
119 GLint yoffset,
120 GLint x,
121 GLint y,
122 GLsizei width,
123 GLsizei height,
124 GLint in_fence_id,
125 GLint out_fence_id) override;
116 void FramebufferRenderbuffer(GLenum target, 126 void FramebufferRenderbuffer(GLenum target,
117 GLenum attachment, 127 GLenum attachment,
118 GLenum renderbuffertarget, 128 GLenum renderbuffertarget,
119 GLuint renderbuffer) override; 129 GLuint renderbuffer) override;
120 void FramebufferTexture2D(GLenum target, 130 void FramebufferTexture2D(GLenum target,
121 GLenum attachment, 131 GLenum attachment,
122 GLenum textarget, 132 GLenum textarget,
123 GLuint texture, 133 GLuint texture,
124 GLint level) override; 134 GLint level) override;
125 void RenderbufferStorage(GLenum target, 135 void RenderbufferStorage(GLenum target,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 protected: 179 protected:
170 virtual void InitializeTestContext(TestWebGraphicsContext3D* context) {} 180 virtual void InitializeTestContext(TestWebGraphicsContext3D* context) {}
171 181
172 protected: 182 protected:
173 TestWebGraphicsContext3D* test_context_ = nullptr; 183 TestWebGraphicsContext3D* test_context_ = nullptr;
174 }; 184 };
175 185
176 } // namespace cc 186 } // namespace cc
177 187
178 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 188 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698