Lines Matching refs:iter
36 for (DrmResources::PlaneIter iter = drm_->begin_planes(); in DrmComposition() local
37 iter != drm_->end_planes(); ++iter) { in DrmComposition()
38 if ((*iter)->type() == DRM_PLANE_TYPE_PRIMARY) in DrmComposition()
39 primary_planes_.push_back(*iter); in DrmComposition()
40 else if (kUseOverlayPlanes && (*iter)->type() == DRM_PLANE_TYPE_OVERLAY) in DrmComposition()
41 overlay_planes_.push_back(*iter); in DrmComposition()
49 for (DrmResources::ConnectorIter iter = drm_->begin_connectors(); in Init() local
50 iter != drm_->end_connectors(); ++iter) { in Init()
51 int display = (*iter)->display(); in Init()
57 int ret = composition_map_[(*iter)->display()]->Init(drm_, importer_); in Init()
59 ALOGE("Failed to init display composition for %d", (*iter)->display()); in Init()
75 for (std::vector<DrmPlane *>::const_iterator iter = primary_planes_.begin(); in GetRemainingLayers() local
76 iter != primary_planes_.end(); ++iter) { in GetRemainingLayers()
77 if ((*iter)->GetCrtcSupported(*crtc)) in GetRemainingLayers()
80 for (std::deque<DrmPlane *>::const_iterator iter = overlay_planes_.begin(); in GetRemainingLayers() local
81 iter != overlay_planes_.end(); ++iter) { in GetRemainingLayers()
82 if ((*iter)->GetCrtcSupported(*crtc)) in GetRemainingLayers()
98 for (std::vector<DrmPlane *>::iterator iter = primary_planes_.begin(); in AddLayer() local
99 iter != primary_planes_.end(); ++iter) { in AddLayer()
100 if ((*iter)->GetCrtcSupported(*crtc)) { in AddLayer()
101 plane = *iter; in AddLayer()
102 primary_planes_.erase(iter); in AddLayer()
106 for (std::deque<DrmPlane *>::iterator iter = overlay_planes_.begin(); in AddLayer() local
107 !plane && iter != overlay_planes_.end(); ++iter) { in AddLayer()
108 if ((*iter)->GetCrtcSupported(*crtc)) { in AddLayer()
109 plane = *iter; in AddLayer()
110 overlay_planes_.erase(iter); in AddLayer()