Searched refs:DrmCompositionPlane (Results 1 – 7 of 7) sorted by relevance
/external/drm_hwcomposer/ |
D | platform.h | 61 virtual int ProvisionPlanes(std::vector<DrmCompositionPlane> *composition, 77 static DrmCompositionPlane *GetPrecomp( in GetPrecomp() 78 std::vector<DrmCompositionPlane> *composition) { in GetPrecomp() 87 static int Emplace(std::vector<DrmCompositionPlane> *composition, in Emplace() 89 DrmCompositionPlane::Type type, DrmCrtc *crtc, in Emplace() 101 static std::vector<DrmCompositionPlane>::iterator GetPrecompIter( in GetPrecompIter() 102 std::vector<DrmCompositionPlane> *composition) { in GetPrecompIter() 104 [](const DrmCompositionPlane &p) { in GetPrecompIter() 105 return p.type() == DrmCompositionPlane::Type::kPrecomp; in GetPrecompIter() 127 std::tuple<int, std::vector<DrmCompositionPlane>> ProvisionPlanes( [all …]
|
D | platform.cpp | 39 std::tuple<int, std::vector<DrmCompositionPlane>> Planner::ProvisionPlanes( in ProvisionPlanes() 43 std::vector<DrmCompositionPlane> composition; in ProvisionPlanes() 48 return std::make_tuple(-ENODEV, std::vector<DrmCompositionPlane>()); in ProvisionPlanes() 68 composition.emplace_back(DrmCompositionPlane::Type::kPrecomp, in ProvisionPlanes() 80 return std::make_tuple(ret, std::vector<DrmCompositionPlane>()); in ProvisionPlanes() 85 composition.emplace_back(DrmCompositionPlane::Type::kSquash, squash_plane, in ProvisionPlanes() 92 std::vector<DrmCompositionPlane> *composition, in ProvisionPlanes() 103 ret = Emplace(composition, planes, DrmCompositionPlane::Type::kLayer, crtc, in ProvisionPlanes() 125 DrmCompositionPlane *precomp = GetPrecomp(composition); in ProvisionPlanes() 132 composition->emplace_back(DrmCompositionPlane::Type::kPrecomp, in ProvisionPlanes() [all …]
|
D | drmdisplaycomposition.h | 50 class DrmCompositionPlane { 59 DrmCompositionPlane() = default; 60 DrmCompositionPlane(DrmCompositionPlane &&rhs) = default; 61 DrmCompositionPlane &operator=(DrmCompositionPlane &&other) = default; 62 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc) in DrmCompositionPlane() function 65 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc, in DrmCompositionPlane() function 113 int AddPlaneComposition(DrmCompositionPlane plane); 146 std::vector<DrmCompositionPlane> &composition_planes() { in composition_planes() 213 std::vector<DrmCompositionPlane> composition_planes_;
|
D | drmdisplaycomposition.cpp | 119 composition_planes_.emplace_back(DrmCompositionPlane::Type::kDisable, plane, in AddPlaneDisable() 135 int DrmDisplayComposition::AddPlaneComposition(DrmCompositionPlane plane) { in AddPlaneComposition() 142 DrmCompositionPlane *comp = NULL; in SeparateLayers() 148 if (i.type() == DrmCompositionPlane::Type::kLayer) { in SeparateLayers() 151 } else if (i.type() == DrmCompositionPlane::Type::kPrecomp) { in SeparateLayers() 247 for (const DrmCompositionPlane &plane : composition_planes_) { in CreateAndAssignReleaseFences() 248 if (plane.type() == DrmCompositionPlane::Type::kLayer) { in CreateAndAssignReleaseFences() 363 std::vector<DrmCompositionPlane> plan; in Plan() 562 const DrmCompositionPlane &comp_plane = composition_planes_[i]; in Dump() 567 case DrmCompositionPlane::Type::kDisable: in Dump() [all …]
|
D | drmdisplaycompositor.cpp | 176 static bool UsesSquash(const std::vector<DrmCompositionPlane> &comp_planes) { in UsesSquash() 178 [](const DrmCompositionPlane &plane) { in UsesSquash() 179 return plane.type() == DrmCompositionPlane::Type::kSquash; in UsesSquash() 439 std::vector<DrmCompositionPlane> &comp_planes = in DisablePlanes() 441 for (DrmCompositionPlane &comp_plane : comp_planes) { in DisablePlanes() 469 std::vector<DrmCompositionPlane> &comp_planes = in PrepareFrame() 525 for (DrmCompositionPlane &comp_plane : comp_planes) { in PrepareFrame() 528 case DrmCompositionPlane::Type::kSquash: in PrepareFrame() 534 case DrmCompositionPlane::Type::kPrecomp: in PrepareFrame() 560 std::vector<DrmCompositionPlane> &comp_planes = in CommitFrame() [all …]
|
D | platformnv.cpp | 214 std::vector<DrmCompositionPlane> *composition, in ProvisionPlanes() 237 DrmCompositionPlane::Type::kLayer, *primary_iter, in ProvisionPlanes() 260 DrmCompositionPlane *precomp = GetPrecomp(composition); in ProvisionPlanes() 267 composition->emplace_back(DrmCompositionPlane::Type::kPrecomp, in ProvisionPlanes() 308 std::vector<DrmCompositionPlane> *composition, in ProvisionPlanes() 328 DrmCompositionPlane *precomp = GetPrecomp(composition); in ProvisionPlanes() 334 composition->emplace_back(DrmCompositionPlane::Type::kPrecomp, in ProvisionPlanes()
|
D | platformnv.h | 70 int ProvisionPlanes(std::vector<DrmCompositionPlane> *composition, 81 int ProvisionPlanes(std::vector<DrmCompositionPlane> *composition,
|