Searched refs:drm_ (Results 1 - 20 of 20) sorted by relevance

/external/drm_hwcomposer/
H A Ddrmplane.cpp31 : 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 Ddrmcompositor.cpp30 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 Ddrmcomposition.cpp34 : 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 Ddrmgenericimporter.h40 DrmResources *drm_; member in class:android::DrmGenericImporter
H A Ddrmcrtc.cpp30 : drm_(drm),
46 int ret = drm_->GetCrtcProperty(*this, "ACTIVE", &active_property_);
52 ret = drm_->GetCrtcProperty(*this, "MODE_ID", &mode_property_);
H A Ddrmconnector.cpp33 : 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 Ddrmgenericimporter.cpp52 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 Ddrmcompositor.h46 DrmResources *drm_; member in class:android::DrmCompositor
H A Dvsyncworker.h48 DrmResources *drm_; member in class:android::VSyncWorker
H A Dnvimporter.cpp49 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 Dvsyncworker.cpp36 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 Ddrmcrtc.h51 DrmResources *drm_; member in class:android::DrmCrtc
H A Dnvimporter.h52 DrmResources *drm_; member in class:android::NvImporter
H A Ddrmcomposition.h64 DrmResources *drm_; member in class:android::DrmComposition
H A Ddrmconnector.h72 DrmResources *drm_; member in class:android::DrmConnector
H A Ddrmdisplaycompositor.cpp235 : 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 Ddrmplane.h60 DrmResources *drm_; member in class:android::DrmPlane
H A Ddrmdisplaycomposition.h136 DrmResources *drm_ = NULL; member in class:android::DrmDisplayComposition
H A Ddrmdisplaycompositor.h144 DrmResources *drm_; member in class:android::DrmDisplayCompositor
H A Ddrmdisplaycomposition.cpp50 drm_ = drm;

Completed in 93 milliseconds