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

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

Issue 1422563002: [Ozone] Enables overlay render format setting path and by default use UYVY (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 f374f0de2e040151bd24363745b67b0154efc72d..1d3e572dbe83bd69d803b587a8f4b7e4463da39b 100644
--- a/ui/ozone/platform/cast/surface_factory_cast.cc
+++ b/ui/ozone/platform/cast/surface_factory_cast.cc
@@ -197,8 +197,11 @@ scoped_refptr<NativePixmap> SurfaceFactoryCast::CreateNativePixmap(
const gfx::RectF& crop_rect) override {
return true;
}
- void SetScalingCallback(const ScalingCallback& scaling_callback) override {}
- scoped_refptr<NativePixmap> GetScaledPixmap(gfx::Size new_size) override {
+ void SetProcessingCallback(
+ const ProcessingCallback& processing_callback) override {}
+ scoped_refptr<NativePixmap> GetProcessedPixmap(
+ gfx::Size target_size,
+ gfx::BufferFormat target_format) override {
return nullptr;
}
gfx::NativePixmapHandle ExportHandle() override {

Powered by Google App Engine
This is Rietveld 408576698