Home
last modified time | relevance | path

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

/external/drm_hwcomposer/drm/
DDrmCrtc.cpp29 DrmCrtc::DrmCrtc(DrmDevice *drm, drmModeCrtcPtr c, unsigned pipe) in DrmCrtc() function in android::DrmCrtc
33 int DrmCrtc::Init() { in Init()
54 uint32_t DrmCrtc::id() const { in id()
58 unsigned DrmCrtc::pipe() const { in pipe()
62 int DrmCrtc::display() const { in display()
66 void DrmCrtc::set_display(int display) { in set_display()
70 bool DrmCrtc::can_bind(int display) const { in can_bind()
74 const DrmProperty &DrmCrtc::active_property() const { in active_property()
78 const DrmProperty &DrmCrtc::mode_property() const { in mode_property()
82 const DrmProperty &DrmCrtc::out_fence_ptr_property() const { in out_fence_ptr_property()
DDrmEncoder.h32 DrmEncoder(drmModeEncoderPtr e, DrmCrtc *current_crtc,
33 const std::vector<DrmCrtc *> &possible_crtcs);
39 DrmCrtc *crtc() const;
40 void set_crtc(DrmCrtc *crtc);
44 const std::vector<DrmCrtc *> &possible_crtcs() const { in possible_crtcs()
52 DrmCrtc *crtc_;
55 std::vector<DrmCrtc *> possible_crtcs_;
DDrmCrtc.h30 class DrmCrtc {
32 DrmCrtc(DrmDevice *drm, drmModeCrtcPtr c, unsigned pipe);
33 DrmCrtc(const DrmCrtc &) = delete;
34 DrmCrtc &operator=(const DrmCrtc &) = delete;
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()
50 void DrmEncoder::set_crtc(DrmCrtc *crtc) { in set_crtc()
DDrmDevice.h63 DrmCrtc *GetCrtcForDisplay(int display) const;
69 int GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name,
76 const std::vector<std::unique_ptr<DrmCrtc>> &crtcs() const;
100 std::vector<std::unique_ptr<DrmCrtc>> crtcs_;
DDrmDevice.cpp171 std::unique_ptr<DrmCrtc> crtc(new DrmCrtc(this, c, i)); in Init()
191 std::vector<DrmCrtc *> possible_crtcs; in Init()
192 DrmCrtc *current_crtc = NULL; in Init()
387 DrmCrtc *DrmDevice::GetCrtcForDisplay(int display) const { in GetCrtcForDisplay()
403 const std::vector<std::unique_ptr<DrmCrtc>> &DrmDevice::crtcs() const { in crtcs()
413 DrmCrtc *crtc = enc->crtc(); in TryEncoderForDisplay()
421 for (DrmCrtc *crtc : enc->possible_crtcs()) { in TryEncoderForDisplay()
467 DrmCrtc *display_crtc = display_conn->encoder()->crtc(); in AttachWriteback()
476 for (DrmCrtc *possible_crtc : writeback_enc->possible_crtcs()) { in AttachWriteback()
557 int DrmDevice::GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name, in GetCrtcProperty()
DDrmPlane.h42 bool GetCrtcSupported(const DrmCrtc &crtc) const;
DVSyncWorker.cpp136 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Routine()
DDrmPlane.cpp151 bool DrmPlane::GetCrtcSupported(const DrmCrtc &crtc) const { in GetCrtcSupported()
/external/drm_hwcomposer/compositor/
DDrmDisplayComposition.h67 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc) in DrmCompositionPlane()
70 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc, in DrmCompositionPlane()
89 DrmCrtc *crtc() const { in crtc()
104 DrmCrtc *crtc_ = NULL;
114 int Init(DrmDevice *drm, DrmCrtc *crtc, Importer *importer, Planner *planner,
154 DrmCrtc *crtc() const { in crtc()
180 DrmCrtc *crtc_ = NULL;
DPlanner.h42 DrmCrtc *crtc,
60 DrmCompositionPlane::Type type, DrmCrtc *crtc, in Emplace()
97 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc,
109 DrmCrtc *crtc, std::vector<DrmPlane *> *primary_planes,
120 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc,
130 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc,
DPlanner.cpp34 DrmCrtc *crtc, std::vector<DrmPlane *> *primary_planes, in GetUsablePlanes()
98 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, in ProvisionPlanes()
123 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, in ProvisionPlanes()
149 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, in ProvisionPlanes()
DDrmDisplayCompositor.cpp139 DrmCrtc *crtc = drm->GetCrtcForDisplay(display_); in CreateInitializedComposition()
277 DrmCrtc *crtc = drm->GetCrtcForDisplay(display_); in CommitFrame()
335 DrmCrtc *crtc = comp_plane.crtc(); in CommitFrame()
720 DrmCrtc *crtc = drm->GetCrtcForDisplay(display_); in FlattenOnDisplay()
892 DrmCrtc *crtc = drm->GetCrtcForDisplay(display_); in FlattenSerial()
971 DrmCrtc *crtc = active_composition_->crtc(); in FlattenConcurrent()
DDrmDisplayComposition.cpp38 int DrmDisplayComposition::Init(DrmDevice *drm, DrmCrtc *crtc, in Init()
/external/drm_hwcomposer/
DAndroid.bp111 "drm/DrmCrtc.cpp",
DDrmHwcTwo.h330 DrmCrtc *crtc_ = NULL;
DDrmHwcTwo.cpp56 DrmCrtc *crtc = drm->GetCrtcForDisplay(static_cast<int>(displ)); in CreateDisplay()