/external/drm_hwcomposer/ |
D | drmplane.cpp | 32 : drm_(drm), id_(p->plane_id), possible_crtc_mask_(p->possible_crtcs) { in DrmPlane() 38 int ret = drm_->GetPlaneProperty(*this, "type", &p); in Init() 61 ret = drm_->GetPlaneProperty(*this, "CRTC_ID", &crtc_property_); in Init() 67 ret = drm_->GetPlaneProperty(*this, "FB_ID", &fb_property_); in Init() 73 ret = drm_->GetPlaneProperty(*this, "CRTC_X", &crtc_x_property_); in Init() 79 ret = drm_->GetPlaneProperty(*this, "CRTC_Y", &crtc_y_property_); in Init() 85 ret = drm_->GetPlaneProperty(*this, "CRTC_W", &crtc_w_property_); in Init() 91 ret = drm_->GetPlaneProperty(*this, "CRTC_H", &crtc_h_property_); in Init() 97 ret = drm_->GetPlaneProperty(*this, "SRC_X", &src_x_property_); in Init() 103 ret = drm_->GetPlaneProperty(*this, "SRC_Y", &src_y_property_); in Init() [all …]
|
D | drmcompositor.cpp | 31 DrmCompositor::DrmCompositor(DrmResources *drm) : drm_(drm), frame_no_(0) { in DrmCompositor() 38 for (auto &conn : drm_->connectors()) { in Init() 40 int ret = compositor_map_[display].Init(drm_, display); in Init() 46 planner_ = Planner::CreateInstance(drm_); in Init() 58 new DrmComposition(drm_, importer, planner_.get())); in CreateComposition() 79 for (auto &conn : drm_->connectors()) { in QueueComposition() 103 for (auto &conn : drm_->connectors()) in Dump()
|
D | drmcomposition.cpp | 36 : drm_(drm), importer_(importer), planner_(planner) { in DrmComposition() 50 for (auto &conn : drm_->connectors()) { in Init() 59 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Init() 61 int ret = composition_map_[display]->Init(drm_, crtc, importer_, planner_, in Init() 79 if (!drm_->GetConnectorForDisplay(display)) { in SetLayers() 108 for (auto &conn : drm_->connectors()) { in Plan() 123 for (auto &conn : drm_->connectors()) { in DisableUnusedPlanes() 136 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in DisableUnusedPlanes()
|
D | drmconnector.cpp | 33 : drm_(drm), in DrmConnector() 45 int ret = drm_->GetConnectorProperty(*this, "DPMS", &dpms_property_); in Init() 50 ret = drm_->GetConnectorProperty(*this, "CRTC_ID", &crtc_id_property_); in Init() 76 int fd = drm_->fd(); in UpdateModes() 100 m.set_id(drm_->next_mode_id()); in UpdateModes()
|
D | drmeventlistener.cpp | 35 drm_(drm) { in DrmEventListener() 58 FD_SET(drm_->fd(), &fds_); in Init() 60 max_fd_ = std::max(drm_->fd(), uevent_fd_.get()); in Init() 127 if (FD_ISSET(drm_->fd(), &fds_)) { in Routine() 132 drmHandleEvent(drm_->fd(), &event_context); in Routine()
|
D | vsyncworker.cpp | 36 drm_(NULL), in VSyncWorker() 46 drm_ = drm; in Init() 95 DrmConnector *conn = drm_->GetConnectorForDisplay(display_); in SyntheticWaitVBlank() 135 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Routine() 149 ret = drmWaitVBlank(drm_->fd(), &vblank); in Routine()
|
D | platformdrmgeneric.cpp | 50 DrmGenericImporter::DrmGenericImporter(DrmResources *drm) : drm_(drm) { in DrmGenericImporter() 92 int ret = drmPrimeFDToHandle(drm_->fd(), gr_handle->prime_fd, &gem_handle); in ImportBuffer() 106 ret = drmModeAddFB2(drm_->fd(), bo->width, bo->height, bo->format, in ImportBuffer() 118 if (drmModeRmFB(drm_->fd(), bo->fb_id)) in ReleaseBuffer() 129 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close); in ReleaseBuffer()
|
D | drmcrtc.cpp | 30 : drm_(drm), in DrmCrtc() 43 int ret = drm_->GetCrtcProperty(*this, "ACTIVE", &active_property_); in Init() 49 ret = drm_->GetCrtcProperty(*this, "MODE_ID", &mode_property_); in Init()
|
D | drmdisplaycompositor.cpp | 221 drm_(NULL), in DrmDisplayCompositor() 247 drm_->DestroyPropertyBlob(mode_.blob_id); in ~DrmDisplayCompositor() 249 drm_->DestroyPropertyBlob(mode_.old_blob_id); in ~DrmDisplayCompositor() 255 drm_ = drm; in Init() 316 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); in GetActiveModeResolution() 454 ret = drmModeAtomicCommit(drm_->fd(), pset, 0, drm_); in DisablePlanes() 565 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); in CommitFrame() 570 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display_); in CommitFrame() 747 ret = drmModeAtomicCommit(drm_->fd(), pset, flags, drm_); in CommitFrame() 761 ret = drm_->DestroyPropertyBlob(mode_.old_blob_id); in CommitFrame() [all …]
|
D | platformnv.cpp | 51 NvImporter::NvImporter(DrmResources *drm) : drm_(drm) { in NvImporter() 95 drm_->fd(), handle, &buf->bo); in ImportBuffer() 102 ret = drmModeAddFB2(drm_->fd(), buf->bo.width, buf->bo.height, buf->bo.format, in ImportBuffer() 148 int ret = drmModeRmFB(drm_->fd(), bo->fb_id); in ReleaseBufferImpl() 161 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close); in ReleaseBufferImpl()
|
D | platformdrmgeneric.h | 40 DrmResources *drm_; variable
|
D | vsyncworker.h | 48 DrmResources *drm_; variable
|
D | drmcompositor.h | 46 DrmResources *drm_; variable
|
D | drmeventlistener.h | 60 DrmResources *drm_; variable
|
D | drmcrtc.h | 50 DrmResources *drm_;
|
D | drmcomposition.h | 64 DrmResources *drm_; variable
|
D | drmplane.h | 59 DrmResources *drm_;
|
D | drmconnector.h | 72 DrmResources *drm_;
|
D | platformnv.h | 53 DrmResources *drm_; variable
|
D | hwcomposer.cpp | 131 drm_ = drm; in Init() 136 for (auto &conn : drm_->connectors()) { in HandleEvent() 161 int ret = drm_->SetDisplayActiveMode(conn->display(), mode); in HandleEvent() 167 int ret = drm_->SetDpmsMode(conn->display(), DRM_MODE_DPMS_OFF); in HandleEvent() 180 DrmResources *drm_ = NULL; member in android::DrmHotplugHandler
|
D | drmdisplaycomposition.h | 194 DrmResources *drm_ = NULL; variable
|
D | drmdisplaycompositor.h | 161 DrmResources *drm_; variable
|
D | drmdisplaycomposition.cpp | 47 drm_ = drm; in Init()
|