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);
353 static int hwc_set_primary(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
358 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive) {
359 uint32_t last = list->numHwLayers - 1;
360 hwc_layer_1_t *fbLayer = &list->hwLayers[last];
364 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd);
365 if(list->numHwLayers > 1)
366 hwc_sync(ctx, list, dpy, fd);
368 if (!ctx->mMDPComp[dpy]->draw(ctx, list)) {
393 closeAcquireFds(list);
398 hwc_display_contents_1_t* list, int dpy)
404 if (LIKELY(list) && ctx->dpyAttr[dpy].isActive &&
407 uint32_t last = list->numHwLayers - 1;
408 hwc_layer_1_t *fbLayer = &list->hwLayers[last];
412 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd);
414 if(list->numHwLayers > 1)
415 hwc_sync(ctx, list, dpy, fd);
417 if (!ctx->mMDPComp[dpy]->draw(ctx, list)) {
440 closeAcquireFds(list);
445 hwc_display_contents_1_t* list, int dpy)
448 closeAcquireFds(list);
449 if (list) {
454 list->retireFenceFd = list->outbufAcquireFenceFd;
468 hwc_display_contents_1_t* list = displays[i];
471 ret = hwc_set_primary(ctx, list);
474 ret = hwc_set_external(ctx, list, i);
477 ret = hwc_set_virtual(ctx, list, i);