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

Unified Diff: cc/test/test_gles2_interface.cc

Issue 1974163003: Expose GpuMemoryBufferId through glGetImageivCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 4 years, 7 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 24d019d7d5d8d215bc300b4e4313fd21b0a8ea3b..65c9d4704c30c7a619b8b0784838dd2221babeb0 100644
--- a/cc/test/test_gles2_interface.cc
+++ b/cc/test/test_gles2_interface.cc
@@ -299,6 +299,12 @@ GLuint TestGLES2Interface::CreateGpuMemoryBufferImageCHROMIUM(
width, height, internalformat, usage);
}
+void TestGLES2Interface::GetImageivCHROMIUM(GLuint image_id,
+ GLenum param,
+ GLint* data) {
+ return test_context_->getImageivCHROMIUM(image_id, param, data);
+}
+
void TestGLES2Interface::BindTexImage2DCHROMIUM(GLenum target, GLint image_id) {
test_context_->bindTexImage2DCHROMIUM(target, image_id);
}
« 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