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

Unified Diff: ui/ozone/platform/headless/headless_surface_factory.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: Update cmd_buffer_functions 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
« no previous file with comments | « ui/ozone/platform/drm/host/drm_overlay_candidates_host.cc ('k') | ui/ozone/public/native_pixmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/headless/headless_surface_factory.cc
diff --git a/ui/ozone/platform/headless/headless_surface_factory.cc b/ui/ozone/platform/headless/headless_surface_factory.cc
index 2d223ad01e28352df5f3e1f33f9750a4bb5dc2eb..3a776c94d5de652eb3e41cfdbf83006a75320592 100644
--- a/ui/ozone/platform/headless/headless_surface_factory.cc
+++ b/ui/ozone/platform/headless/headless_surface_factory.cc
@@ -76,8 +76,10 @@ class TestPixmap : public ui::NativePixmap {
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(
« no previous file with comments | « ui/ozone/platform/drm/host/drm_overlay_candidates_host.cc ('k') | ui/ozone/public/native_pixmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698