| Index: ui/ozone/platform/drm/gpu/gbm_buffer.h
|
| diff --git a/ui/ozone/platform/drm/gpu/gbm_buffer.h b/ui/ozone/platform/drm/gpu/gbm_buffer.h
|
| index d80c56bfda1ffbe56be43dbb60935f2c43d904f4..dcbbe871472a2c4620f360935efd5cf765affaa4 100644
|
| --- a/ui/ozone/platform/drm/gpu/gbm_buffer.h
|
| +++ b/ui/ozone/platform/drm/gpu/gbm_buffer.h
|
| @@ -59,18 +59,19 @@ class GbmPixmap : public 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;
|
| gfx::NativePixmapHandle ExportHandle() override;
|
|
|
| scoped_refptr<GbmBuffer> buffer() { return buffer_; }
|
|
|
| private:
|
| ~GbmPixmap() override;
|
| - bool ShouldApplyProcessing(const gfx::Rect& display_bounds,
|
| - const gfx::RectF& crop_rect,
|
| - gfx::Size* target_size,
|
| - gfx::BufferFormat* target_format);
|
| + bool ShouldScaleContent(const gfx::Rect& display_bounds,
|
| + const gfx::RectF& crop_rect,
|
| + gfx::Size* target_size);
|
|
|
| scoped_refptr<GbmBuffer> buffer_;
|
| base::ScopedFD dma_buf_;
|
|
|