/external/drm_hwcomposer/ |
drmplane.cpp | 32 : drm_(drm), id_(p->plane_id), possible_crtc_mask_(p->possible_crtcs) { 38 int ret = drm_->GetPlaneProperty(*this, "type", &p); 61 ret = drm_->GetPlaneProperty(*this, "CRTC_ID", &crtc_property_); 67 ret = drm_->GetPlaneProperty(*this, "FB_ID", &fb_property_); 73 ret = drm_->GetPlaneProperty(*this, "CRTC_X", &crtc_x_property_); 79 ret = drm_->GetPlaneProperty(*this, "CRTC_Y", &crtc_y_property_); 85 ret = drm_->GetPlaneProperty(*this, "CRTC_W", &crtc_w_property_); 91 ret = drm_->GetPlaneProperty(*this, "CRTC_H", &crtc_h_property_); 97 ret = drm_->GetPlaneProperty(*this, "SRC_X", &src_x_property_); 103 ret = drm_->GetPlaneProperty(*this, "SRC_Y", &src_y_property_) [all...] |
drmcompositor.cpp | 31 DrmCompositor::DrmCompositor(DrmResources *drm) : drm_(drm), frame_no_(0) { 38 for (auto &conn : drm_->connectors()) { 40 int ret = compositor_map_[display].Init(drm_, display); 46 planner_ = Planner::CreateInstance(drm_); 58 new DrmComposition(drm_, importer, planner_.get())); 79 for (auto &conn : drm_->connectors()) { 103 for (auto &conn : drm_->connectors())
|
platformdrmgeneric.h | 40 DrmResources *drm_; member in class:android::DrmGenericImporter
|
drmcomposition.cpp | 36 : drm_(drm), importer_(importer), planner_(planner) { 50 for (auto &conn : drm_->connectors()) { 59 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); 61 int ret = composition_map_[display]->Init(drm_, crtc, importer_, planner_, 79 if (!drm_->GetConnectorForDisplay(display)) { 108 for (auto &conn : drm_->connectors()) { 123 for (auto &conn : drm_->connectors()) { 136 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display);
|
drmeventlistener.h | 60 DrmResources *drm_; member in class:android::DrmEventListener
|
drmcrtc.cpp | 30 : drm_(drm), 43 int ret = drm_->GetCrtcProperty(*this, "ACTIVE", &active_property_); 49 ret = drm_->GetCrtcProperty(*this, "MODE_ID", &mode_property_);
|
drmconnector.cpp | 33 : drm_(drm), 45 int ret = drm_->GetConnectorProperty(*this, "DPMS", &dpms_property_); 50 ret = drm_->GetConnectorProperty(*this, "CRTC_ID", &crtc_id_property_); 76 int fd = drm_->fd(); 100 m.set_id(drm_->next_mode_id());
|
drmeventlistener.cpp | 32 drm_(drm) { 55 FD_SET(drm_->fd(), &fds_); 57 max_fd_ = std::max(drm_->fd(), uevent_fd_.get()); 124 if (FD_ISSET(drm_->fd(), &fds_)) { 129 drmHandleEvent(drm_->fd(), &event_context);
|
platformdrmgeneric.cpp | 52 DrmGenericImporter::DrmGenericImporter(DrmResources *drm) : drm_(drm) { 100 int ret = drmPrimeFDToHandle(drm_->fd(), gr_handle->prime_fd, &gem_handle); 114 ret = drmModeAddFB2(drm_->fd(), bo->width, bo->height, bo->format, 126 if (drmModeRmFB(drm_->fd(), bo->fb_id)) 137 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close);
|
drmcompositor.h | 46 DrmResources *drm_; member in class:android::DrmCompositor
|
drmcrtc.h | 50 DrmResources *drm_; member in class:android::DrmCrtc
|
vsyncworker.h | 48 DrmResources *drm_; member in class:android::VSyncWorker
|
vsyncworker.cpp | 36 drm_(NULL), 46 drm_ = drm; 117 DrmConnector *conn = drm_->GetConnectorForDisplay(display_); 164 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); 178 ret = drmWaitVBlank(drm_->fd(), &vblank);
|
platformnv.h | 53 DrmResources *drm_; member in class:android::NvImporter
|
platformnv.cpp | 50 NvImporter::NvImporter(DrmResources *drm) : drm_(drm) { 94 drm_->fd(), handle, &buf->bo); 101 ret = drmModeAddFB2(drm_->fd(), buf->bo.width, buf->bo.height, buf->bo.format, 147 int ret = drmModeRmFB(drm_->fd(), bo->fb_id); 160 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close);
|
drmdisplaycompositor.cpp | 247 : drm_(NULL), 276 drm_->DestroyPropertyBlob(mode_.blob_id); 278 drm_->DestroyPropertyBlob(mode_.old_blob_id); 294 drm_ = drm; 375 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); 513 ret = drmModeAtomicCommit(drm_->fd(), pset, 0, drm_); 624 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); 629 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display_); 806 ret = drmModeAtomicCommit(drm_->fd(), pset, flags, drm_) [all...] |
drmcomposition.h | 64 DrmResources *drm_; member in class:android::DrmComposition
|
drmconnector.h | 72 DrmResources *drm_; member in class:android::DrmConnector
|
drmplane.h | 59 DrmResources *drm_; member in class:android::DrmPlane
|
drmdisplaycomposition.h | 194 DrmResources *drm_ = NULL; member in class:android::DrmDisplayComposition
|
drmdisplaycompositor.h | 158 DrmResources *drm_; member in class:android::DrmDisplayCompositor
|
hwcomposer.cpp | 132 drm_ = drm; 137 for (auto &conn : drm_->connectors()) { 162 int ret = drm_->SetDisplayActiveMode(conn->display(), mode); 168 int ret = drm_->SetDpmsMode(conn->display(), DRM_MODE_DPMS_OFF); 181 DrmResources *drm_ = NULL; member in class:android::DrmHotplugHandler
|
drmdisplaycomposition.cpp | 47 drm_ = drm;
|