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()
322 hwc_layer_1_t *layer = (hwc_layer_1_t *) &list->hwLayers[i]; in prepare()
384 list->hwLayers[i].compositionType = HWC_BLIT; in prepare()
387 list->hwLayers[i].compositionType = HWC_OVERLAY; in prepare()
418 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in drawUsingAppBufferComposition()
430 hwc_layer_1_t *tmpLayer = &list->hwLayers[0]; in drawUsingAppBufferComposition()
452 list->hwLayers[abcRenderBufIdx].displayFrame; in drawUsingAppBufferComposition()
454 hwc_rect_t tmpDisplayFrame = list->hwLayers[i].displayFrame; in drawUsingAppBufferComposition()
463 (private_handle_t *)list->hwLayers[abcRenderBufIdx].handle; in drawUsingAppBufferComposition()
465 if(list->hwLayers[abcRenderBufIdx].acquireFenceFd >=0){ in drawUsingAppBufferComposition()
467 list->hwLayers[abcRenderBufIdx].acquireFenceFd); in drawUsingAppBufferComposition()
471 &(list->hwLayers[i]),renderBuffer, 0); in drawUsingAppBufferComposition()
478 close(list->hwLayers[abcRenderBufIdx].acquireFenceFd); in drawUsingAppBufferComposition()
479 list->hwLayers[abcRenderBufIdx].acquireFenceFd = -1; in drawUsingAppBufferComposition()
507 renderBuffer = (private_handle_t *)list->hwLayers[last].handle; in draw()
524 if(list->hwLayers[last].acquireFenceFd >=0) { in draw()
526 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); in draw()
532 hwc_layer_1_t *layer = &list->hwLayers[mDirtyLayerIndex]; in draw()
557 if (list->hwLayers[i].acquireFenceFd != -1 in draw()
560 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); in draw()
565 close(list->hwLayers[i].acquireFenceFd); in draw()
566 list->hwLayers[i].acquireFenceFd = -1; in draw()
568 retVal = drawLayerUsingCopybit(ctx, &(list->hwLayers[i]), in draw()
582 list->hwLayers[last].acquireFenceFd >= 0) { in draw()
583 close(list->hwLayers[last].acquireFenceFd); in draw()
584 list->hwLayers[last].acquireFenceFd = -1; in draw()
615 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in drawOverlap()
625 hwc_rect_t prevOvlap = list->hwLayers[prevOvlapIndex].displayFrame; in drawOverlap()
634 hwc_layer_1_t *layer = &list->hwLayers[i]; in drawOverlap()
639 if ((list->hwLayers[i].acquireFenceFd != -1)) { in drawOverlap()
641 if(sync_wait(list->hwLayers[i].acquireFenceFd, 1000) < 0) { in drawOverlap()
645 close(list->hwLayers[i].acquireFenceFd); in drawOverlap()
646 list->hwLayers[i].acquireFenceFd = -1; in drawOverlap()
1210 hnd[i] = list->hwLayers[i].handle; in updateCounts()