/external/drm_hwcomposer/ |
D | drmplane.cpp | 31 : drm_(drm), id_(p->plane_id), possible_crtc_mask_(p->possible_crtcs) { in DrmPlane() 40 int ret = drm_->GetPlaneProperty(*this, "type", &p); in Init() 63 ret = drm_->GetPlaneProperty(*this, "CRTC_ID", &crtc_property_); in Init() 69 ret = drm_->GetPlaneProperty(*this, "FB_ID", &fb_property_); in Init() 75 ret = drm_->GetPlaneProperty(*this, "CRTC_X", &crtc_x_property_); in Init() 81 ret = drm_->GetPlaneProperty(*this, "CRTC_Y", &crtc_y_property_); in Init() 87 ret = drm_->GetPlaneProperty(*this, "CRTC_W", &crtc_w_property_); in Init() 93 ret = drm_->GetPlaneProperty(*this, "CRTC_H", &crtc_h_property_); in Init() 99 ret = drm_->GetPlaneProperty(*this, "SRC_X", &src_x_property_); in Init() 105 ret = drm_->GetPlaneProperty(*this, "SRC_Y", &src_y_property_); in Init() [all …]
|
D | drmcomposition.cpp | 34 : drm_(drm), importer_(importer) { in DrmComposition() 39 for (DrmResources::PlaneIter iter = drm_->begin_planes(); in DrmComposition() 40 iter != drm_->end_planes(); ++iter) { in DrmComposition() 49 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); in Init() 50 iter != drm_->end_connectors(); ++iter) { in Init() 59 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Init() 61 int ret = composition_map_[display]->Init(drm_, crtc, importer_, frame_no); in Init() 78 if (!drm_->GetConnectorForDisplay(display)) { in SetLayers() 107 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); in Plan() 108 iter != drm_->end_connectors(); ++iter) { in Plan() [all …]
|
D | drmcompositor.cpp | 30 DrmCompositor::DrmCompositor(DrmResources *drm) : drm_(drm), frame_no_(0) { in DrmCompositor() 37 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); in Init() 38 iter != drm_->end_connectors(); ++iter) { in Init() 40 int ret = compositor_map_[display].Init(drm_, display); in Init() 51 DrmComposition *composition = new DrmComposition(drm_, importer); in CreateComposition() 77 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); in QueueComposition() 78 iter != drm_->end_connectors(); ++iter) { in QueueComposition() 102 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); in Dump() 103 iter != drm_->end_connectors(); ++iter) in Dump()
|
D | drmgenericimporter.cpp | 52 DrmGenericImporter::DrmGenericImporter(DrmResources *drm) : drm_(drm) { in DrmGenericImporter() 100 int ret = drmPrimeFDToHandle(drm_->fd(), gr_handle->prime_fd, &gem_handle); in ImportBuffer() 114 ret = drmModeAddFB2(drm_->fd(), bo->width, bo->height, bo->format, in ImportBuffer() 126 if (drmModeRmFB(drm_->fd(), bo->fb_id)) in ReleaseBuffer() 137 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close); in ReleaseBuffer()
|
D | drmconnector.cpp | 33 : drm_(drm), in DrmConnector() 48 int ret = drm_->GetConnectorProperty(*this, "DPMS", &dpms_property_); in Init() 53 ret = drm_->GetConnectorProperty(*this, "CRTC_ID", &crtc_id_property_); in Init() 79 int fd = drm_->fd(); in UpdateModes() 102 m.set_id(drm_->next_mode_id()); in UpdateModes()
|
D | vsyncworker.cpp | 36 drm_(NULL), in VSyncWorker() 46 drm_ = drm; in Init() 117 DrmConnector *conn = drm_->GetConnectorForDisplay(display_); in SyntheticWaitVBlank() 164 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Routine() 178 ret = drmWaitVBlank(drm_->fd(), &vblank); in Routine()
|
D | nvimporter.cpp | 49 NvImporter::NvImporter(DrmResources *drm) : drm_(drm) { in NvImporter() 93 drm_->fd(), handle, &buf->bo); in ImportBuffer() 100 ret = drmModeAddFB2(drm_->fd(), buf->bo.width, buf->bo.height, buf->bo.format, in ImportBuffer() 146 int ret = drmModeRmFB(drm_->fd(), bo->fb_id); in ReleaseBufferImpl() 159 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close); in ReleaseBufferImpl()
|
D | drmcrtc.cpp | 30 : drm_(drm), in DrmCrtc() 46 int ret = drm_->GetCrtcProperty(*this, "ACTIVE", &active_property_); in Init() 52 ret = drm_->GetCrtcProperty(*this, "MODE_ID", &mode_property_); in Init()
|
D | drmdisplaycompositor.cpp | 235 : drm_(NULL), in DrmDisplayCompositor() 277 drm_ = drm; in Init() 358 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); in GetActiveModeResolution() 495 ret = drmModePropertySetCommit(drm_->fd(), 0, drm_, pset); in DisablePlanes() 598 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); in CommitFrame() 603 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display_); in CommitFrame() 619 ret = drm_->GetCrtcProperty(*crtc, crtc->mode_property().name().c_str(), in CommitFrame() 637 ret = drm_->CreatePropertyBlob(&drm_mode, sizeof(struct drm_mode_modeinfo), in CommitFrame() 652 drm_->DestroyPropertyBlob(blob_id); in CommitFrame() 810 ret = drmModePropertySetCommit(drm_->fd(), DRM_MODE_ATOMIC_ALLOW_MODESET, in CommitFrame() [all …]
|
D | drmgenericimporter.h | 40 DrmResources *drm_; variable
|
D | drmcompositor.h | 46 DrmResources *drm_; variable
|
D | vsyncworker.h | 48 DrmResources *drm_; variable
|
D | nvimporter.h | 52 DrmResources *drm_; variable
|
D | drmcrtc.h | 51 DrmResources *drm_; variable
|
D | drmcomposition.h | 64 DrmResources *drm_; variable
|
D | drmplane.h | 60 DrmResources *drm_; variable
|
D | drmconnector.h | 72 DrmResources *drm_; variable
|
D | drmdisplaycomposition.h | 136 DrmResources *drm_ = NULL; variable
|
D | drmdisplaycompositor.h | 144 DrmResources *drm_; variable
|
D | drmdisplaycomposition.cpp | 50 drm_ = drm; in Init()
|