Home | History | Annotate | Download | only in drm_hwcomposer

Lines Matching refs:display

51     int display = conn->display();
52 composition_map_[display].reset(new DrmDisplayComposition());
53 if (!composition_map_[display]) {
54 ALOGE("Failed to allocate new display composition\n");
58 // If the display hasn't been modeset yet, this will be NULL
59 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display);
61 int ret = composition_map_[display]->Init(drm_, crtc, importer_, planner_,
64 ALOGE("Failed to init display composition for %d", display);
77 int display = map.display;
79 if (!drm_->GetConnectorForDisplay(display)) {
80 ALOGE("Invalid display given to SetLayers %d", display);
84 ret = composition_map_[display]->SetLayers(
93 int DrmComposition::SetDpmsMode(int display, uint32_t dpms_mode) {
94 return composition_map_[display]->SetDpmsMode(dpms_mode);
97 int DrmComposition::SetDisplayMode(int display, const DrmMode &display_mode) {
98 return composition_map_[display]->SetDisplayMode(display_mode);
102 int display) {
103 return std::move(composition_map_[display]);
109 int display = conn->display();
110 DrmDisplayComposition *comp = GetDisplayComposition(display);
111 ret = comp->Plan(compositor_map[display].squash_state(), &primary_planes_,
114 ALOGE("Failed to plan composition for dislay %d", display);
124 int display = conn->display();
125 DrmDisplayComposition *comp = GetDisplayComposition(display);
136 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display);
138 ALOGE("Failed to find crtc for display %d", display);
163 DrmDisplayComposition *DrmComposition::GetDisplayComposition(int display) {
164 return composition_map_[display].get();