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

Unified Diff: ui/gl/gl_surface_overlay.cc

Issue 2109803003: Add support for EXT_image_flush_external extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add support for EXT_image_flush_external extension Created 4 years, 6 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
« ui/gl/gl_image_ozone_native_pixmap.cc ('K') | « ui/gl/gl_image_surface_texture.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_overlay.cc
diff --git a/ui/gl/gl_surface_overlay.cc b/ui/gl/gl_surface_overlay.cc
index 4e5dd056139ff018fb819431da59e7fc3d77d4cc..0d399aec54b2426b4c495a01da1fd759795157c2 100644
--- a/ui/gl/gl_surface_overlay.cc
+++ b/ui/gl/gl_surface_overlay.cc
@@ -29,6 +29,7 @@ GLSurfaceOverlay::~GLSurfaceOverlay() {}
bool GLSurfaceOverlay::ScheduleOverlayPlane(
gfx::AcceleratedWidget widget) const {
+ image_->Flush();
return image_->ScheduleOverlayPlane(widget, z_order_, transform_,
bounds_rect_, crop_rect_);
}
« ui/gl/gl_image_ozone_native_pixmap.cc ('K') | « ui/gl/gl_image_surface_texture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698