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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1474873003: Add alpha argument to glResizeCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: mojo/gpu/mojo_gles2_impl_autogen.cc
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 0e58f739e2cd00415a11d5e90d361fd049ae0141..ee2a3c44cdfad4bbc25254e9b1bf0761d5cca1dc 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1410,9 +1410,10 @@ void MojoGLES2Impl::UnmapTexSubImage2DCHROMIUM(const void* mem) {
}
void MojoGLES2Impl::ResizeCHROMIUM(GLuint width,
GLuint height,
- GLfloat scale_factor) {
+ GLfloat scale_factor,
+ GLboolean alpha) {
MojoGLES2MakeCurrent(context_);
- glResizeCHROMIUM(width, height, scale_factor);
+ glResizeCHROMIUM(width, height, scale_factor, alpha);
}
const GLchar* MojoGLES2Impl::GetRequestableExtensionsCHROMIUM() {
MojoGLES2MakeCurrent(context_);
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698