| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ | 
| 6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ | 
| 7 | 7 | 
| 8 #include <stddef.h> | 8 #include <stddef.h> | 
| 9 #include <stdint.h> | 9 #include <stdint.h> | 
| 10 #include <xf86drmMode.h> | 10 #include <xf86drmMode.h> | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
| 31   HardwareDisplayPlaneList(); | 31   HardwareDisplayPlaneList(); | 
| 32   ~HardwareDisplayPlaneList(); | 32   ~HardwareDisplayPlaneList(); | 
| 33 | 33 | 
| 34   // This is the list of planes to be committed this time. | 34   // This is the list of planes to be committed this time. | 
| 35   std::vector<HardwareDisplayPlane*> plane_list; | 35   std::vector<HardwareDisplayPlane*> plane_list; | 
| 36   // This is the list of planes that was committed last time. | 36   // This is the list of planes that was committed last time. | 
| 37   std::vector<HardwareDisplayPlane*> old_plane_list; | 37   std::vector<HardwareDisplayPlane*> old_plane_list; | 
| 38 | 38 | 
| 39   struct PageFlipInfo { | 39   struct PageFlipInfo { | 
| 40     PageFlipInfo(uint32_t crtc_id, uint32_t framebuffer, CrtcController* crtc); | 40     PageFlipInfo(uint32_t crtc_id, uint32_t framebuffer, CrtcController* crtc); | 
|  | 41     PageFlipInfo(const PageFlipInfo& other); | 
| 41     ~PageFlipInfo(); | 42     ~PageFlipInfo(); | 
| 42 | 43 | 
| 43     uint32_t crtc_id; | 44     uint32_t crtc_id; | 
| 44     uint32_t framebuffer; | 45     uint32_t framebuffer; | 
| 45     CrtcController* crtc; | 46     CrtcController* crtc; | 
| 46 | 47 | 
| 47     struct Plane { | 48     struct Plane { | 
| 48       Plane(int plane, | 49       Plane(int plane, | 
| 49             int framebuffer, | 50             int framebuffer, | 
| 50             const gfx::Rect& bounds, | 51             const gfx::Rect& bounds, | 
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 141   std::vector<scoped_ptr<HardwareDisplayPlane>> planes_; | 142   std::vector<scoped_ptr<HardwareDisplayPlane>> planes_; | 
| 142   std::vector<uint32_t> crtcs_; | 143   std::vector<uint32_t> crtcs_; | 
| 143   std::vector<uint32_t> supported_formats_; | 144   std::vector<uint32_t> supported_formats_; | 
| 144 | 145 | 
| 145   DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManager); | 146   DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManager); | 
| 146 }; | 147 }; | 
| 147 | 148 | 
| 148 }  // namespace ui | 149 }  // namespace ui | 
| 149 | 150 | 
| 150 #endif  // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ | 151 #endif  // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ | 
| OLD | NEW | 
|---|