Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / ozone / platform / drm / gpu / hardware_display_plane_manager_legacy.h
blobbd15354b5ad990113ea18f94ac5511c1abc2fb30
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_LEGACY_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_LEGACY_H_
8 #include "ui/ozone/ozone_export.h"
9 #include "ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h"
11 namespace ui {
13 class OZONE_EXPORT HardwareDisplayPlaneManagerLegacy
14 : public HardwareDisplayPlaneManager {
15 public:
16 HardwareDisplayPlaneManagerLegacy();
17 ~HardwareDisplayPlaneManagerLegacy() override;
19 // HardwareDisplayPlaneManager:
20 bool Commit(HardwareDisplayPlaneList* plane_list,
21 bool test_only) override;
23 private:
24 bool SetPlaneData(HardwareDisplayPlaneList* plane_list,
25 HardwareDisplayPlane* hw_plane,
26 const OverlayPlane& overlay,
27 uint32_t crtc_id,
28 const gfx::Rect& src_rect,
29 CrtcController* crtc) override;
31 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManagerLegacy);
34 } // namespace ui
36 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_LEGACY_H_