Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / ui / ozone / platform / drm / gpu / hardware_display_plane_manager_atomic.h
blobde883ee06ed0f435ba3309056ec11963a90cd27c
1 // Copyright 2015 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_ATOMIC_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_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 HardwareDisplayPlaneManagerAtomic
14 : public HardwareDisplayPlaneManager {
15 public:
16 HardwareDisplayPlaneManagerAtomic();
17 ~HardwareDisplayPlaneManagerAtomic() override;
19 // HardwareDisplayPlaneManager:
20 bool Commit(HardwareDisplayPlaneList* plane_list,
21 bool is_sync,
22 bool test_only) override;
24 private:
25 bool SetPlaneData(HardwareDisplayPlaneList* plane_list,
26 HardwareDisplayPlane* hw_plane,
27 const OverlayPlane& overlay,
28 uint32_t crtc_id,
29 const gfx::Rect& src_rect,
30 CrtcController* crtc) override;
32 scoped_ptr<HardwareDisplayPlane> CreatePlane(
33 uint32_t plane_id,
34 uint32_t possible_crtcs) override;
36 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManagerAtomic);
39 } // namespace ui
41 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_