Lines Matching refs:list

90         hwc_display_contents_1_t *list = displays[i];
95 if (LIKELY(list && list->numHwLayers > 1)) {
96 for(uint32_t j = 0; j < list->numHwLayers; j++) {
97 if(list->hwLayers[j].compositionType != HWC_FRAMEBUFFER_TARGET)
98 list->hwLayers[j].compositionType = HWC_FRAMEBUFFER;
138 hwc_display_contents_1_t *list) {
143 if (LIKELY(list && list->numHwLayers > 1) &&
145 reset_layer_prop(ctx, dpy, list->numHwLayers - 1);
146 uint32_t last = list->numHwLayers - 1;
147 hwc_layer_1_t *fbLayer = &list->hwLayers[last];
149 setListStats(ctx, list, dpy);
150 int fbZOrder = ctx->mMDPComp[dpy]->prepare(ctx, list);
152 ctx->mFBUpdate[dpy]->prepare(ctx, list, fbZOrder);
159 ctx->mCopyBit[dpy]->prepare(ctx, list, dpy);
167 hwc_display_contents_1_t *list, int dpy) {
170 if (LIKELY(list && list->numHwLayers > 1) &&
173 reset_layer_prop(ctx, dpy, list->numHwLayers - 1);
174 uint32_t last = list->numHwLayers - 1;
175 hwc_layer_1_t *fbLayer = &list->hwLayers[last];
179 setListStats(ctx, list, dpy);
180 int fbZOrder = ctx->mMDPComp[dpy]->prepare(ctx, list);
182 ctx->mFBUpdate[dpy]->prepare(ctx, list, fbZOrder);
188 ctx->mCopyBit[dpy]->prepare(ctx, list, dpy);
203 hwc_display_contents_1_t *list, int dpy) {
221 hwc_display_contents_1_t *list = displays[i];
224 ret = hwc_prepare_primary(dev, list);
227 ret = hwc_prepare_external(dev, list, i);
230 ret = hwc_prepare_virtual(dev, list, i);
352 static int hwc_set_primary(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
357 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) {
358 uint32_t last = list->numHwLayers - 1;
359 hwc_layer_1_t *fbLayer = &list->hwLayers[last];
363 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd);
364 if(list->numHwLayers > 1)
365 hwc_sync(ctx, list, dpy, fd);
367 if (!ctx->mMDPComp[dpy]->draw(ctx, list)) {
392 closeAcquireFds(list);
397 hwc_display_contents_1_t* list, int dpy)
403 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive &&
406 uint32_t last = list->numHwLayers - 1;
407 hwc_layer_1_t *fbLayer = &list->hwLayers[last];
411 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd);
413 if(list->numHwLayers > 1)
414 hwc_sync(ctx, list, dpy, fd);
416 if (!ctx->mMDPComp[dpy]->draw(ctx, list)) {
439 closeAcquireFds(list);
444 hwc_display_contents_1_t* list, int dpy)
447 closeAcquireFds(list);
448 if (list) {
453 list->retireFenceFd = list->outbufAcquireFenceFd;
467 hwc_display_contents_1_t* list = displays[i];
470 ret = hwc_set_primary(ctx, list);
473 ret = hwc_set_external(ctx, list, i);
476 ret = hwc_set_virtual(ctx, list, i);