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

Unified Diff: cc/test/test_gles2_interface.cc

Issue 2443023002: gpu: Add CHROMIUM_copy_image extension.
Patch Set: rebase Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_gles2_interface.cc
diff --git a/cc/test/test_gles2_interface.cc b/cc/test/test_gles2_interface.cc
index 3c94bac60c8b14b81988e55c360090e798cd1339..2f9853bdb6a076e3218fa7f00a33b01ffb10c07f 100644
--- a/cc/test/test_gles2_interface.cc
+++ b/cc/test/test_gles2_interface.cc
@@ -297,6 +297,21 @@ void TestGLES2Interface::ReleaseTexImage2DCHROMIUM(GLenum target,
test_context_->releaseTexImage2DCHROMIUM(target, image_id);
}
+void TestGLES2Interface::CopyImageSubDataCHROMIUM(GLint source_image_id,
+ GLint dest_texture_id,
+ GLint xoffset,
+ GLint yoffset,
+ GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height,
+ GLint in_fence_id,
+ GLint out_fence_id) {
+ test_context_->copyImageSubDataCHROMIUM(source_image_id, dest_texture_id,
+ xoffset, yoffset, x, y, width, height,
+ in_fence_id, out_fence_id);
+}
+
void* TestGLES2Interface::MapBufferCHROMIUM(GLuint target, GLenum access) {
return test_context_->mapBufferCHROMIUM(target, access);
}
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698