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
38 int DrmPlane::Init() { in Init()
147 uint32_t DrmPlane::id() const { in id()
151 bool DrmPlane::GetCrtcSupported(const DrmCrtc &crtc) const { in GetCrtcSupported()
155 uint32_t DrmPlane::type() const { in type()
159 bool DrmPlane::IsFormatSupported(uint32_t format) const { in IsFormatSupported()
164 const DrmProperty &DrmPlane::crtc_property() const { in crtc_property()
168 const DrmProperty &DrmPlane::fb_property() const { in fb_property()
172 const DrmProperty &DrmPlane::crtc_x_property() const { in crtc_x_property()
176 const DrmProperty &DrmPlane::crtc_y_property() const { in crtc_y_property()
[all …]
DDrmPlane.h32 class DrmPlane {
34 DrmPlane(DrmDevice *drm, drmModePlanePtr p);
35 DrmPlane(const DrmPlane &) = delete;
36 DrmPlane &operator=(const DrmPlane &) = delete;
DDrmDevice.h48 const std::vector<std::unique_ptr<DrmPlane>> &planes() const { in planes()
64 DrmPlane *GetPlane(uint32_t id) const;
67 int GetPlaneProperty(const DrmPlane &plane, const char *prop_name,
101 std::vector<std::unique_ptr<DrmPlane>> planes_;
DDrmDevice.cpp307 std::unique_ptr<DrmPlane> plane(new DrmPlane(this, p)); in Init()
395 DrmPlane *DrmDevice::GetPlane(uint32_t id) const { in GetPlane()
552 int DrmDevice::GetPlaneProperty(const DrmPlane &plane, const char *prop_name, in GetPlaneProperty()
/external/drm_hwcomposer/compositor/
DPlanner.h43 std::vector<DrmPlane *> *planes) = 0;
47 static DrmPlane *PopPlane(std::vector<DrmPlane *> *planes) { in PopPlane()
50 DrmPlane *plane = planes->front(); in PopPlane()
55 static int ValidatePlane(DrmPlane *plane, DrmHwcLayer *layer);
59 std::vector<DrmPlane *> *planes, in Emplace()
62 DrmPlane *plane = PopPlane(planes); in Emplace()
63 std::vector<DrmPlane *> unused_planes; in Emplace()
98 std::vector<DrmPlane *> *primary_planes,
99 std::vector<DrmPlane *> *overlay_planes);
108 std::vector<DrmPlane *> GetUsablePlanes(
[all …]
DPlanner.cpp33 std::vector<DrmPlane *> Planner::GetUsablePlanes( in GetUsablePlanes()
34 DrmCrtc *crtc, std::vector<DrmPlane *> *primary_planes, in GetUsablePlanes()
35 std::vector<DrmPlane *> *overlay_planes) { in GetUsablePlanes()
36 std::vector<DrmPlane *> usable_planes; in GetUsablePlanes()
39 [=](DrmPlane *plane) { return plane->GetCrtcSupported(*crtc); }); in GetUsablePlanes()
42 [=](DrmPlane *plane) { return plane->GetCrtcSupported(*crtc); }); in GetUsablePlanes()
46 int Planner::PlanStage::ValidatePlane(DrmPlane *plane, DrmHwcLayer *layer) { in ValidatePlane()
99 std::vector<DrmPlane *> *primary_planes, in ProvisionPlanes()
100 std::vector<DrmPlane *> *overlay_planes) { in ProvisionPlanes()
102 std::vector<DrmPlane *> planes = GetUsablePlanes(crtc, primary_planes, in ProvisionPlanes()
[all …]
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);
DDrmDisplayComposition.cpp86 int DrmDisplayComposition::AddPlaneDisable(DrmPlane *plane) { in AddPlaneDisable()
97 int DrmDisplayComposition::Plan(std::vector<DrmPlane *> *primary_planes, in Plan()
98 std::vector<DrmPlane *> *overlay_planes) { in Plan()
126 std::vector<DrmPlane *> *container; in Plan()
DDrmDisplayCompositor.cpp196 DrmPlane *plane = comp_plane.plane(); in DisablePlanes()
334 DrmPlane *plane = comp_plane.plane(); in CommitFrame()
727 std::vector<DrmPlane *> primary_planes; in FlattenOnDisplay()
728 std::vector<DrmPlane *> overlay_planes; in FlattenOnDisplay()
/external/drm_hwcomposer/
DDrmHwcTwo.h170 HWC2::Error Init(std::vector<DrmPlane *> *planes);
272 const std::vector<DrmPlane *> &primary_planes() const { in primary_planes()
276 const std::vector<DrmPlane *> &overlay_planes() const { in overlay_planes()
323 std::vector<DrmPlane *> primary_planes_;
324 std::vector<DrmPlane *> overlay_planes_;
DAndroid.bp117 "drm/DrmPlane.cpp",
DDrmHwcTwo.cpp61 std::vector<DrmPlane *> display_planes; in CreateDisplay()
233 HWC2::Error DrmHwcTwo::HwcDisplay::Init(std::vector<DrmPlane *> *planes) { in Init()
675 std::vector<DrmPlane *> primary_planes(primary_planes_); in CreateComposition()
676 std::vector<DrmPlane *> overlay_planes(overlay_planes_); in CreateComposition()