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

Unified Diff: cc/test/test_gles2_interface.cc

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: cc/test/test_gles2_interface.cc
diff --git a/cc/test/test_gles2_interface.cc b/cc/test/test_gles2_interface.cc
index 732c8a24916b14d1e7bc84508e7a80c048627c69..26055ba6791c1cecf194276e07351646fecf43dc 100644
--- a/cc/test/test_gles2_interface.cc
+++ b/cc/test/test_gles2_interface.cc
@@ -275,16 +275,18 @@ void TestGLES2Interface::WaitAsyncTexImage2DCHROMIUM(GLenum target) {
GLuint TestGLES2Interface::CreateImageCHROMIUM(GLsizei width,
GLsizei height,
- GLenum internalformat) {
- return test_context_->createImageCHROMIUM(width, height, internalformat);
+ GLenum internalformat,
+ GLenum usage) {
+ return test_context_->createImageCHROMIUM(
+ width, height, internalformat, usage);
}
void TestGLES2Interface::DestroyImageCHROMIUM(GLuint image_id) {
test_context_->destroyImageCHROMIUM(image_id);
}
-void* TestGLES2Interface::MapImageCHROMIUM(GLuint image_id, GLenum access) {
- return test_context_->mapImageCHROMIUM(image_id, access);
+void* TestGLES2Interface::MapImageCHROMIUM(GLuint image_id) {
+ return test_context_->mapImageCHROMIUM(image_id);
}
void TestGLES2Interface::GetImageParameterivCHROMIUM(GLuint image_id,

Powered by Google App Engine
This is Rietveld 408576698