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

Unified Diff: ui/gl/gl_surface_ozone.cc

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: ui/gl/gl_surface_ozone.cc
diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc
index 064c5c62e3b481b48c938c52d267a525426816b0..e0aa6271a9555ae77def84f46a4e082f4bcffaa5 100644
--- a/ui/gl/gl_surface_ozone.cc
+++ b/ui/gl/gl_surface_ozone.cc
@@ -580,7 +580,7 @@ bool GLSurfaceOzoneSurfacelessSurfaceImpl::CreatePixmaps() {
scoped_refptr<ui::NativePixmap> pixmap =
ui::SurfaceFactoryOzone::GetInstance()->CreateNativePixmap(
widget_, GetSize(), ui::SurfaceFactoryOzone::BGRA_8888,
- ui::SurfaceFactoryOzone::SCANOUT);
+ ui::SurfaceFactoryOzone::SCANOUT, nullptr);
if (!pixmap)
return false;
scoped_refptr<SurfaceImage> image =

Powered by Google App Engine
This is Rietveld 408576698