• Home
  • Raw
  • Download

Lines Matching refs:hwLayers

94             hwc_rect_t displayFrame = list->hwLayers[i].displayFrame;  in isSmartBlitPossible()
97 list->hwLayers[i].displayFrame); in isSmartBlitPossible()
100 private_handle_t *hnd =(private_handle_t *)list->hwLayers[i].handle; in isSmartBlitPossible()
102 layer0_transform = list->hwLayers[i].transform; in isSmartBlitPossible()
105 layer1_transform = list->hwLayers[i].transform; in isSmartBlitPossible()
106 private_handle_t *hnd =(private_handle_t *)list->hwLayers[i].handle; in isSmartBlitPossible()
176 private_handle_t *hnd = (private_handle_t *)list->hwLayers[i].handle; in getRGBRenderingArea()
179 getLayerResolution(&list->hwLayers[i], w, h); in getRGBRenderingArea()
189 if((mLayerCache.hnd[k] != list->hwLayers[k].handle) || in isLayerChanging()
192 list->hwLayers[k].displayFrame.left) || in isLayerChanging()
194 list->hwLayers[k].displayFrame.top) || in isLayerChanging()
196 list->hwLayers[k].displayFrame.right) || in isLayerChanging()
198 list->hwLayers[k].displayFrame.bottom)) { in isLayerChanging()
226 hwc_layer_1_t layer = list->hwLayers[k]; in prepareSwapRect()
252 private_handle_t *hnd =(private_handle_t *)list->hwLayers[k].handle; in prepareSwapRect()
253 if(needsScaling(&list->hwLayers[k])||( hnd && isYuvBuffer(hnd)) || in prepareSwapRect()
254 (list->hwLayers[k].transform & HAL_TRANSFORM_ROT_90)) { in prepareSwapRect()
307 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in prepareOverlap()
385 mDirtyRect = list->hwLayers[last].displayFrame; in prepare()
406 hwc_layer_1_t *layer = (hwc_layer_1_t *) &list->hwLayers[i]; in prepare()
480 list->hwLayers[i].compositionType = HWC_BLIT; in prepare()
483 list->hwLayers[i].compositionType = HWC_OVERLAY; in prepare()
514 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in drawUsingAppBufferComposition()
526 hwc_layer_1_t *tmpLayer = &list->hwLayers[0]; in drawUsingAppBufferComposition()
549 list->hwLayers[abcRenderBufIdx].displayFrame; in drawUsingAppBufferComposition()
551 hwc_rect_t tmpDisplayFrame = list->hwLayers[i].displayFrame; in drawUsingAppBufferComposition()
560 (private_handle_t *)list->hwLayers[abcRenderBufIdx].handle; in drawUsingAppBufferComposition()
562 if(list->hwLayers[abcRenderBufIdx].acquireFenceFd >=0){ in drawUsingAppBufferComposition()
564 list->hwLayers[abcRenderBufIdx].acquireFenceFd); in drawUsingAppBufferComposition()
569 &(list->hwLayers[i]),renderBuffer, 0); in drawUsingAppBufferComposition()
576 close(list->hwLayers[last].acquireFenceFd); in drawUsingAppBufferComposition()
577 list->hwLayers[last].acquireFenceFd = -1; in drawUsingAppBufferComposition()
611 renderBuffer = (private_handle_t *)list->hwLayers[last].handle; in draw()
632 if(list->hwLayers[last].acquireFenceFd >=0) { in draw()
634 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); in draw()
658 if (list->hwLayers[i].acquireFenceFd != -1 in draw()
661 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); in draw()
666 close(list->hwLayers[i].acquireFenceFd); in draw()
667 list->hwLayers[i].acquireFenceFd = -1; in draw()
669 retVal = drawLayerUsingCopybit(ctx, &(list->hwLayers[i]), in draw()
687 ) && list->hwLayers[last].acquireFenceFd >= 0) { in draw()
688 close(list->hwLayers[last].acquireFenceFd); in draw()
689 list->hwLayers[last].acquireFenceFd = -1; in draw()
720 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in drawOverlap()
730 hwc_rect_t prevOvlap = list->hwLayers[prevOvlapIndex].displayFrame; in drawOverlap()
739 hwc_layer_1_t *layer = &list->hwLayers[i]; in drawOverlap()
744 if ((list->hwLayers[i].acquireFenceFd != -1)) { in drawOverlap()
746 if(sync_wait(list->hwLayers[i].acquireFenceFd, 1000) < 0) { in drawOverlap()
750 close(list->hwLayers[i].acquireFenceFd); in drawOverlap()
751 list->hwLayers[i].acquireFenceFd = -1; in drawOverlap()
1342 hnd[i] = list->hwLayers[i].handle; in updateCounts()
1343 displayFrame[i] = list->hwLayers[i].displayFrame; in updateCounts()