/external/drm_hwcomposer/ |
H A D | drmplane.cpp | 31 : drm_(drm), id_(p->plane_id), possible_crtc_mask_(p->possible_crtcs) { 40 int ret = drm_->GetPlaneProperty(*this, "type", &p); 63 ret = drm_->GetPlaneProperty(*this, "CRTC_ID", &crtc_property_); 69 ret = drm_->GetPlaneProperty(*this, "FB_ID", &fb_property_); 75 ret = drm_->GetPlaneProperty(*this, "CRTC_X", &crtc_x_property_); 81 ret = drm_->GetPlaneProperty(*this, "CRTC_Y", &crtc_y_property_); 87 ret = drm_->GetPlaneProperty(*this, "CRTC_W", &crtc_w_property_); 93 ret = drm_->GetPlaneProperty(*this, "CRTC_H", &crtc_h_property_); 99 ret = drm_->GetPlaneProperty(*this, "SRC_X", &src_x_property_); 105 ret = drm_ [all...] |
H A D | drmcompositor.cpp | 30 DrmCompositor::DrmCompositor(DrmResources *drm) : drm_(drm), frame_no_(0) { 37 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); 38 iter != drm_->end_connectors(); ++iter) { 40 int ret = compositor_map_[display].Init(drm_, display); 51 DrmComposition *composition = new DrmComposition(drm_, importer); 77 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); 78 iter != drm_->end_connectors(); ++iter) { 102 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); 103 iter != drm_->end_connectors(); ++iter)
|
H A D | drmcomposition.cpp | 34 : drm_(drm), importer_(importer) { 39 for (DrmResources::PlaneIter iter = drm_->begin_planes(); 40 iter != drm_->end_planes(); ++iter) { 49 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); 50 iter != drm_->end_connectors(); ++iter) { 59 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); 61 int ret = composition_map_[display]->Init(drm_, crtc, importer_, frame_no); 78 if (!drm_->GetConnectorForDisplay(display)) { 107 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); 108 iter != drm_ [all...] |
H A D | drmgenericimporter.h | 40 DrmResources *drm_; member in class:android::DrmGenericImporter
|
H A D | drmcrtc.cpp | 30 : drm_(drm), 46 int ret = drm_->GetCrtcProperty(*this, "ACTIVE", &active_property_); 52 ret = drm_->GetCrtcProperty(*this, "MODE_ID", &mode_property_);
|
H A D | drmconnector.cpp | 33 : drm_(drm), 48 int ret = drm_->GetConnectorProperty(*this, "DPMS", &dpms_property_); 53 ret = drm_->GetConnectorProperty(*this, "CRTC_ID", &crtc_id_property_); 79 int fd = drm_->fd(); 102 m.set_id(drm_->next_mode_id());
|
H A D | drmgenericimporter.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);
|
H A D | drmcompositor.h | 46 DrmResources *drm_; member in class:android::DrmCompositor
|
H A D | vsyncworker.h | 48 DrmResources *drm_; member in class:android::VSyncWorker
|
H A D | nvimporter.cpp | 49 NvImporter::NvImporter(DrmResources *drm) : drm_(drm) { 93 drm_->fd(), handle, &buf->bo); 100 ret = drmModeAddFB2(drm_->fd(), buf->bo.width, buf->bo.height, buf->bo.format, 146 int ret = drmModeRmFB(drm_->fd(), bo->fb_id); 159 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close);
|
H A D | 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);
|
H A D | drmcrtc.h | 51 DrmResources *drm_; member in class:android::DrmCrtc
|
H A D | nvimporter.h | 52 DrmResources *drm_; member in class:android::NvImporter
|
H A D | drmcomposition.h | 64 DrmResources *drm_; member in class:android::DrmComposition
|
H A D | drmconnector.h | 72 DrmResources *drm_; member in class:android::DrmConnector
|
H A D | drmdisplaycompositor.cpp | 235 : drm_(NULL), 277 drm_ = drm; 358 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); 495 ret = drmModePropertySetCommit(drm_->fd(), 0, drm_, pset); 598 DrmConnector *connector = drm_->GetConnectorForDisplay(display_); 603 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display_); 619 ret = drm_->GetCrtcProperty(*crtc, crtc->mode_property().name().c_str(), 637 ret = drm_->CreatePropertyBlob(&drm_mode, sizeof(struct drm_mode_modeinfo), 652 drm_ [all...] |
H A D | drmplane.h | 60 DrmResources *drm_; member in class:android::DrmPlane
|
H A D | drmdisplaycomposition.h | 136 DrmResources *drm_ = NULL; member in class:android::DrmDisplayComposition
|
H A D | drmdisplaycompositor.h | 144 DrmResources *drm_; member in class:android::DrmDisplayCompositor
|
H A D | drmdisplaycomposition.cpp | 50 drm_ = drm;
|