/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 | 32 drm_(drm) { in DrmEventListener() 55 FD_SET(drm_->fd(), &fds_); in Init() 57 max_fd_ = std::max(drm_->fd(), uevent_fd_.get()); in Init() 124 if (FD_ISSET(drm_->fd(), &fds_)) { in Routine() 129 drmHandleEvent(drm_->fd(), &event_context); in Routine()
|
D | platformdrmgeneric.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 | 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 | 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 | 237 : drm_(NULL), in DrmDisplayCompositor() 266 drm_->DestroyPropertyBlob(mode_.blob_id); in ~DrmDisplayCompositor() 268 drm_->DestroyPropertyBlob(mode_.old_blob_id); in ~DrmDisplayCompositor() 284 drm_ = drm; in Init() 365 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); in GetActiveModeResolution() 503 ret = drmModeAtomicCommit(drm_->fd(), pset, 0, drm_); in DisablePlanes() 614 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); in CommitFrame() 619 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display_); in CommitFrame() 796 ret = drmModeAtomicCommit(drm_->fd(), pset, flags, drm_); in CommitFrame() 810 ret = drm_->DestroyPropertyBlob(mode_.old_blob_id); in CommitFrame() [all …]
|
D | platformnv.cpp | 50 NvImporter::NvImporter(DrmResources *drm) : drm_(drm) { in NvImporter() 94 drm_->fd(), handle, &buf->bo); in ImportBuffer() 101 ret = drmModeAddFB2(drm_->fd(), buf->bo.width, buf->bo.height, buf->bo.format, in ImportBuffer() 147 int ret = drmModeRmFB(drm_->fd(), bo->fb_id); in ReleaseBufferImpl() 160 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 | platformnv.h | 53 DrmResources *drm_; variable
|
D | drmcomposition.h | 64 DrmResources *drm_; variable
|
D | drmplane.h | 59 DrmResources *drm_;
|
D | drmconnector.h | 72 DrmResources *drm_;
|
D | hwcomposer.cpp | 132 drm_ = drm; in Init() 137 for (auto &conn : drm_->connectors()) { in HandleEvent() 162 int ret = drm_->SetDisplayActiveMode(conn->display(), mode); in HandleEvent() 168 int ret = drm_->SetDpmsMode(conn->display(), DRM_MODE_DPMS_OFF); in HandleEvent() 181 DrmResources *drm_ = NULL; member in android::DrmHotplugHandler
|
D | drmdisplaycompositor.h | 158 DrmResources *drm_; variable
|
D | drmdisplaycomposition.h | 194 DrmResources *drm_ = NULL; variable
|
D | drmdisplaycomposition.cpp | 47 drm_ = drm; in Init()
|