Lines Matching refs:hwLayers
123 private_handle_t *hnd = (private_handle_t *)list->hwLayers[i].handle; in getRGBRenderingArea()
126 getLayerResolution(&list->hwLayers[i], w, h); in getRGBRenderingArea()
149 if(mLayerCache.hnd[k] != list->hwLayers[k].handle){ in getLayersChanging()
161 hwc_rect_t dirtyRect = list->hwLayers[changingLayerIndex].displayFrame; in getLayersChanging()
163 dirtyRect = list->hwLayers[changingLayerIndex].dirtyRect; in getLayersChanging()
168 hwc_rect_t displayFrame = list->hwLayers[k].displayFrame; in getLayersChanging()
202 if(!needsScaling(&list->hwLayers[changingLayerIndex])){ in checkDirtyRect()
204 (private_handle_t *)list->hwLayers[changingLayerIndex].handle; in checkDirtyRect()
230 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in prepareOverlap()
315 hwc_layer_1_t *layer = (hwc_layer_1_t *) &list->hwLayers[i]; in prepare()
375 list->hwLayers[i].compositionType = HWC_BLIT; in prepare()
378 list->hwLayers[i].compositionType = HWC_OVERLAY; in prepare()
409 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in drawUsingAppBufferComposition()
421 hwc_layer_1_t *tmpLayer = &list->hwLayers[0]; in drawUsingAppBufferComposition()
443 list->hwLayers[abcRenderBufIdx].displayFrame; in drawUsingAppBufferComposition()
445 hwc_rect_t tmpDisplayFrame = list->hwLayers[i].displayFrame; in drawUsingAppBufferComposition()
454 (private_handle_t *)list->hwLayers[abcRenderBufIdx].handle; in drawUsingAppBufferComposition()
456 if(list->hwLayers[abcRenderBufIdx].acquireFenceFd >=0){ in drawUsingAppBufferComposition()
458 list->hwLayers[abcRenderBufIdx].acquireFenceFd); in drawUsingAppBufferComposition()
462 &(list->hwLayers[i]),renderBuffer, 0); in drawUsingAppBufferComposition()
469 close(list->hwLayers[abcRenderBufIdx].acquireFenceFd); in drawUsingAppBufferComposition()
470 list->hwLayers[abcRenderBufIdx].acquireFenceFd = -1; in drawUsingAppBufferComposition()
497 renderBuffer = (private_handle_t *)list->hwLayers[last].handle; in draw()
514 if(list->hwLayers[last].acquireFenceFd >=0) { in draw()
516 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); in draw()
522 hwc_layer_1_t *layer = &list->hwLayers[mDirtyLayerIndex]; in draw()
544 if (list->hwLayers[i].acquireFenceFd != -1 in draw()
547 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); in draw()
552 close(list->hwLayers[i].acquireFenceFd); in draw()
553 list->hwLayers[i].acquireFenceFd = -1; in draw()
555 retVal = drawLayerUsingCopybit(ctx, &(list->hwLayers[i]), in draw()
568 list->hwLayers[last].acquireFenceFd >= 0) { in draw()
569 close(list->hwLayers[last].acquireFenceFd); in draw()
570 list->hwLayers[last].acquireFenceFd = -1; in draw()
595 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in drawOverlap()
599 hwc_layer_1_t *layer = &list->hwLayers[i]; in drawOverlap()
604 if ((list->hwLayers[i].acquireFenceFd != -1)) { in drawOverlap()
606 if(sync_wait(list->hwLayers[i].acquireFenceFd, 1000) < 0) { in drawOverlap()
610 close(list->hwLayers[i].acquireFenceFd); in drawOverlap()
611 list->hwLayers[i].acquireFenceFd = -1; in drawOverlap()
1157 hnd[i] = list->hwLayers[i].handle; in updateCounts()