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

Unified Diff: ui/gl/scoped_binders.cc

Issue 1419733005: gpu: Add YCbCr 420v extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean-ups. Created 5 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
Index: ui/gl/scoped_binders.cc
diff --git a/ui/gl/scoped_binders.cc b/ui/gl/scoped_binders.cc
index bb2b290105622a9823b49b284d6bbd72aa6f36bc..6850504f75e204d4b678cc3d9789ee34377f7566 100644
--- a/ui/gl/scoped_binders.cc
+++ b/ui/gl/scoped_binders.cc
@@ -47,8 +47,11 @@ ScopedTextureBinder::ScopedTextureBinder(unsigned int target, unsigned int id)
case GL_TEXTURE_EXTERNAL_OES:
target_getter = GL_TEXTURE_BINDING_EXTERNAL_OES;
break;
+ case GL_TEXTURE_RECTANGLE_ARB:
+ target_getter = GL_TEXTURE_BINDING_RECTANGLE_ARB;
+ break;
default:
- NOTIMPLEMENTED() << "Target not part of OpenGL ES 2.0 spec.";
+ NOTIMPLEMENTED() << " Target not part of OpenGL ES 2.0 spec.";
reveman 2015/10/27 19:31:54 why the space here? also I'm not sure this is accu
Daniele Castagna 2015/10/29 20:09:05 Fixed the string. The added space is because NOTIM
}
glGetIntegerv(target_getter, &old_id_);
}

Powered by Google App Engine
This is Rietveld 408576698