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

Unified Diff: ui/ozone/platform/cast/surface_factory_cast.cc

Issue 1513283002: Add support to send optimal format as part of ScheduleOverlayPlane (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: ui/ozone/platform/cast/surface_factory_cast.cc
diff --git a/ui/ozone/platform/cast/surface_factory_cast.cc b/ui/ozone/platform/cast/surface_factory_cast.cc
index 4d5c57e020ce644111d1fdb0e02fcb51b7c375a1..a4dd4a6e8a47a726bcfc86705decf1ecc15b8aae 100644
--- a/ui/ozone/platform/cast/surface_factory_cast.cc
+++ b/ui/ozone/platform/cast/surface_factory_cast.cc
@@ -199,8 +199,10 @@ scoped_refptr<NativePixmap> SurfaceFactoryCast::CreateNativePixmap(
bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int plane_z_order,
gfx::OverlayTransform plane_transform,
+ gfx::BufferFormat storage_format,
const gfx::Rect& display_bounds,
- const gfx::RectF& crop_rect) override {
+ const gfx::RectF& crop_rect,
+ bool handle_scaling) override {
return true;
}
void SetProcessingCallback(

Powered by Google App Engine
This is Rietveld 408576698