Home
last modified time | relevance | path

Searched refs:DrmPlane (Results 1 – 12 of 12) sorted by relevance

/external/drm_hwcomposer/drm/
Ddrmplane.cpp31 DrmPlane::DrmPlane(DrmDevice *drm, drmModePlanePtr p) in DrmPlane() function in android::DrmPlane
35 int DrmPlane::Init() { in Init()
144 uint32_t DrmPlane::id() const { in id()
148 bool DrmPlane::GetCrtcSupported(const DrmCrtc &crtc) const { in GetCrtcSupported()
152 uint32_t DrmPlane::type() const { in type()
156 const DrmProperty &DrmPlane::crtc_property() const { in crtc_property()
160 const DrmProperty &DrmPlane::fb_property() const { in fb_property()
164 const DrmProperty &DrmPlane::crtc_x_property() const { in crtc_x_property()
168 const DrmProperty &DrmPlane::crtc_y_property() const { in crtc_y_property()
172 const DrmProperty &DrmPlane::crtc_w_property() const { in crtc_w_property()
[all …]
Ddrmdevice.cpp312 std::unique_ptr<DrmPlane> plane(new DrmPlane(this, p)); in Init()
400 DrmPlane *DrmDevice::GetPlane(uint32_t id) const { in GetPlane()
557 int DrmDevice::GetPlaneProperty(const DrmPlane &plane, const char *prop_name, in GetPlaneProperty()
/external/drm_hwcomposer/include/
Dplatform.h70 std::vector<DrmPlane *> *planes) = 0;
74 static DrmPlane *PopPlane(std::vector<DrmPlane *> *planes) { in PopPlane()
77 DrmPlane *plane = planes->front(); in PopPlane()
82 static int ValidatePlane(DrmPlane *plane, DrmHwcLayer *layer);
86 std::vector<DrmPlane *> *planes, in Emplace()
89 DrmPlane *plane = PopPlane(planes); in Emplace()
90 std::vector<DrmPlane *> unused_planes; in Emplace()
125 std::vector<DrmPlane *> *primary_planes,
126 std::vector<DrmPlane *> *overlay_planes);
135 std::vector<DrmPlane *> GetUsablePlanes(
[all …]
Ddrmplane.h31 class DrmPlane {
33 DrmPlane(DrmDevice *drm, drmModePlanePtr p);
34 DrmPlane(const DrmPlane &) = delete;
35 DrmPlane &operator=(const DrmPlane &) = delete;
Ddrmdisplaycomposition.h67 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc) in DrmCompositionPlane()
70 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc, in DrmCompositionPlane()
82 DrmPlane *plane() const { in plane()
85 void set_plane(DrmPlane *plane) { in set_plane()
103 DrmPlane *plane_ = NULL;
119 int AddPlaneDisable(DrmPlane *plane);
123 int Plan(std::vector<DrmPlane *> *primary_planes,
124 std::vector<DrmPlane *> *overlay_planes);
Ddrmdevice.h47 const std::vector<std::unique_ptr<DrmPlane>> &planes() const { in planes()
63 DrmPlane *GetPlane(uint32_t id) const;
66 int GetPlaneProperty(const DrmPlane &plane, const char *prop_name,
98 std::vector<std::unique_ptr<DrmPlane>> planes_;
Ddrmhwctwo.h148 HWC2::Error Init(std::vector<DrmPlane *> *planes);
218 std::vector<DrmPlane *> primary_planes_;
219 std::vector<DrmPlane *> overlay_planes_;
/external/drm_hwcomposer/platform/
Dplatform.cpp26 std::vector<DrmPlane *> Planner::GetUsablePlanes( in GetUsablePlanes()
27 DrmCrtc *crtc, std::vector<DrmPlane *> *primary_planes, in GetUsablePlanes()
28 std::vector<DrmPlane *> *overlay_planes) { in GetUsablePlanes()
29 std::vector<DrmPlane *> usable_planes; in GetUsablePlanes()
32 [=](DrmPlane *plane) { return plane->GetCrtcSupported(*crtc); }); in GetUsablePlanes()
35 [=](DrmPlane *plane) { return plane->GetCrtcSupported(*crtc); }); in GetUsablePlanes()
39 int Planner::PlanStage::ValidatePlane(DrmPlane *plane, DrmHwcLayer *layer) { in ValidatePlane()
85 std::vector<DrmPlane *> *primary_planes, in ProvisionPlanes()
86 std::vector<DrmPlane *> *overlay_planes) { in ProvisionPlanes()
88 std::vector<DrmPlane *> planes = GetUsablePlanes(crtc, primary_planes, in ProvisionPlanes()
[all …]
Dplatformhisi.cpp163 std::vector<DrmPlane *> *planes) { in ProvisionPlanes()
/external/drm_hwcomposer/compositor/
Ddrmdisplaycomposition.cpp88 int DrmDisplayComposition::AddPlaneDisable(DrmPlane *plane) { in AddPlaneDisable()
99 int DrmDisplayComposition::Plan(std::vector<DrmPlane *> *primary_planes, in Plan()
100 std::vector<DrmPlane *> *overlay_planes) { in Plan()
128 std::vector<DrmPlane *> *container; in Plan()
Ddrmdisplaycompositor.cpp171 DrmPlane *plane = comp_plane.plane(); in DisablePlanes()
309 DrmPlane *plane = comp_plane.plane(); in CommitFrame()
697 std::vector<DrmPlane *> primary_planes; in FlattenOnDisplay()
698 std::vector<DrmPlane *> overlay_planes; in FlattenOnDisplay()
/external/drm_hwcomposer/
Ddrmhwctwo.cpp77 std::vector<DrmPlane *> display_planes; in CreateDisplay()
247 HWC2::Error DrmHwcTwo::HwcDisplay::Init(std::vector<DrmPlane *> *planes) { in Init()
678 std::vector<DrmPlane *> primary_planes(primary_planes_); in CreateComposition()
679 std::vector<DrmPlane *> overlay_planes(overlay_planes_); in CreateComposition()