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

Unified Diff: trunk/src/ui/ozone/platform/dri/gbm_surface_factory.cc

Issue 447073004: Revert 288137 "With the overlay path moving back to passing Acce..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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: trunk/src/ui/ozone/platform/dri/gbm_surface_factory.cc
===================================================================
--- trunk/src/ui/ozone/platform/dri/gbm_surface_factory.cc (revision 288142)
+++ trunk/src/ui/ozone/platform/dri/gbm_surface_factory.cc (working copy)
@@ -123,30 +123,6 @@
return scoped_refptr<GbmPixmap>(new GbmPixmap(buffer));
}
-bool GbmSurfaceFactory::ScheduleOverlayPlane(
- gfx::AcceleratedWidget widget,
- int plane_z_order,
- gfx::OverlayTransform plane_transform,
- scoped_refptr<NativePixmap> buffer,
- const gfx::Rect& display_bounds,
- const gfx::RectF& crop_rect) {
- scoped_refptr<GbmPixmap> pixmap = static_cast<GbmPixmap*>(buffer.get());
- if (!pixmap) {
- LOG(ERROR) << "ScheduleOverlayPlane passed NULL buffer.";
- return false;
- }
- base::WeakPtr<HardwareDisplayController> hdc =
- screen_manager_->GetDisplayController(widget);
- if (!hdc)
- return true;
- hdc->QueueOverlayPlane(OverlayPlane(pixmap->buffer(),
- plane_z_order,
- plane_transform,
- display_bounds,
- crop_rect));
- return true;
-}
-
bool GbmSurfaceFactory::CanShowPrimaryPlaneAsOverlay() {
return allow_surfaceless_;
}
« no previous file with comments | « trunk/src/ui/ozone/platform/dri/gbm_surface_factory.h ('k') | trunk/src/ui/ozone/platform/dri/gbm_surfaceless.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698