Home
last modified time | relevance | path

Searched refs:DrmCrtc (Results 1 – 19 of 19) sorted by relevance

/external/drm_hwcomposer/
Ddrmcrtc.cpp29 DrmCrtc::DrmCrtc(DrmResources *drm, drmModeCrtcPtr c, unsigned pipe) in DrmCrtc() function in android::DrmCrtc
42 int DrmCrtc::Init() { in Init()
57 uint32_t DrmCrtc::id() const { in id()
61 unsigned DrmCrtc::pipe() const { in pipe()
65 int DrmCrtc::display() const { in display()
69 void DrmCrtc::set_display(int display) { in set_display()
73 bool DrmCrtc::can_bind(int display) const { in can_bind()
77 const DrmProperty &DrmCrtc::active_property() const { in active_property()
81 const DrmProperty &DrmCrtc::mode_property() const { in mode_property()
Ddrmencoder.h30 DrmEncoder(drmModeEncoderPtr e, DrmCrtc *current_crtc,
31 const std::vector<DrmCrtc *> &possible_crtcs);
37 DrmCrtc *crtc() const;
38 void set_crtc(DrmCrtc *crtc);
40 const std::vector<DrmCrtc *> &possible_crtcs() const { in possible_crtcs()
46 DrmCrtc *crtc_;
50 std::vector<DrmCrtc *> possible_crtcs_;
Ddrmcrtc.h30 class DrmCrtc {
32 DrmCrtc(DrmResources *drm, drmModeCrtcPtr c, unsigned pipe);
33 DrmCrtc(const DrmCrtc &) = delete;
34 DrmCrtc &operator=(const DrmCrtc &) = delete;
Dplatform.h67 DrmCrtc *crtc,
93 DrmCompositionPlane::Type type, DrmCrtc *crtc, in Emplace()
133 DrmCrtc *crtc, std::vector<DrmPlane *> *primary_planes,
144 DrmCrtc *crtc, std::vector<DrmPlane *> *primary_planes,
155 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc,
167 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc,
177 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc,
Ddrmdisplaycomposition.h62 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc) in DrmCompositionPlane()
65 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc, in DrmCompositionPlane()
84 DrmCrtc *crtc() const { in crtc()
99 DrmCrtc *crtc_ = NULL;
109 int Init(DrmResources *drm, DrmCrtc *crtc, Importer *importer,
170 DrmCrtc *crtc() const { in crtc()
195 DrmCrtc *crtc_ = NULL;
Ddrmencoder.cpp26 DrmEncoder::DrmEncoder(drmModeEncoderPtr e, DrmCrtc *current_crtc, in DrmEncoder()
27 const std::vector<DrmCrtc *> &possible_crtcs) in DrmEncoder()
38 DrmCrtc *DrmEncoder::crtc() const { in crtc()
42 void DrmEncoder::set_crtc(DrmCrtc *crtc) { in set_crtc()
Ddrmresources.cpp90 std::unique_ptr<DrmCrtc> crtc(new DrmCrtc(this, c, i)); in Init()
109 std::vector<DrmCrtc *> possible_crtcs; in Init()
110 DrmCrtc *current_crtc = NULL; in Init()
232 DrmCrtc *DrmResources::GetCrtcForDisplay(int display) const { in GetCrtcForDisplay()
254 DrmCrtc *crtc = enc->crtc(); in TryEncoderForDisplay()
261 for (DrmCrtc *crtc : enc->possible_crtcs()) { in TryEncoderForDisplay()
417 int DrmResources::GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name, in GetCrtcProperty()
Dplatform.cpp27 DrmCrtc *crtc, std::vector<DrmPlane *> *primary_planes, in GetUsablePlanes()
40 std::map<size_t, DrmHwcLayer *> &layers, bool use_squash_fb, DrmCrtc *crtc, in ProvisionPlanes()
93 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, in ProvisionPlanes()
145 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, in ProvisionPlanes()
173 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, in ProvisionPlanes()
Ddrmresources.h59 DrmCrtc *GetCrtcForDisplay(int display) const;
66 int GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name,
90 std::vector<std::unique_ptr<DrmCrtc>> crtcs_;
Dplatformnv.h72 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc,
83 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc,
Ddrmcomposition.cpp59 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Init()
136 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in DisableUnusedPlanes()
Dplatformnv.cpp212 static DrmPlane *GetCrtcPrimaryPlane(DrmCrtc *crtc, in GetCrtcPrimaryPlane()
226 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, in ProvisionPlanes()
339 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, in ProvisionPlanes()
Ddrmplane.h41 bool GetCrtcSupported(const DrmCrtc &crtc) const;
Ddrmplane.cpp136 bool DrmPlane::GetCrtcSupported(const DrmCrtc &crtc) const { in GetCrtcSupported()
Dvsyncworker.cpp135 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Routine()
Ddrmhwctwo.h202 DrmCrtc *crtc_ = NULL;
Ddrmdisplaycompositor.cpp572 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display_); in CommitFrame()
599 DrmCrtc *crtc = comp_plane.crtc(); in CommitFrame()
Ddrmdisplaycomposition.cpp44 int DrmDisplayComposition::Init(DrmResources *drm, DrmCrtc *crtc, in Init()
Ddrmhwctwo.cpp86 DrmCrtc *crtc = drm_.GetCrtcForDisplay(static_cast<int>(HWC_DISPLAY_PRIMARY)); in Init()