Home
last modified time | relevance | path

Searched refs:hwLayers (Results 1 – 25 of 66) sorted by relevance

123

/aosp12/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp436 list->hwLayers[layer].compositionType, in hwcTestDisplayList()
443 list->hwLayers[layer].hints, in hwcTestDisplayList()
450 list->hwLayers[layer].flags, in hwcTestDisplayList()
451 (list->hwLayers[layer].flags & HWC_SKIP_LAYER) in hwcTestDisplayList()
455 list->hwLayers[layer].handle); in hwcTestDisplayList()
460 list->hwLayers[layer].transform, in hwcTestDisplayList()
469 list->hwLayers[layer].blending, in hwcTestDisplayList()
482 (float) (list->hwLayers[layer].sourceCrop.right in hwcTestDisplayList()
507 list->hwLayers[layer].compositionType, in hwcTestDisplayListPrepareModifiable()
513 list->hwLayers[layer].hints, in hwcTestDisplayListPrepareModifiable()
[all …]
/aosp12/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_copybit.cpp409 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in drawUsingAppBufferComposition()
421 hwc_layer_1_t *tmpLayer = &list->hwLayers[0]; in drawUsingAppBufferComposition()
462 &(list->hwLayers[i]),renderBuffer, 0); in drawUsingAppBufferComposition()
514 if(list->hwLayers[last].acquireFenceFd >=0) { in draw()
544 if (list->hwLayers[i].acquireFenceFd != -1 in draw()
552 close(list->hwLayers[i].acquireFenceFd); in draw()
553 list->hwLayers[i].acquireFenceFd = -1; in draw()
570 list->hwLayers[last].acquireFenceFd = -1; in draw()
599 hwc_layer_1_t *layer = &list->hwLayers[i]; in drawOverlap()
611 list->hwLayers[i].acquireFenceFd = -1; in drawOverlap()
[all …]
H A Dhwc_dump_layers.cpp86 logLayer(i, list->hwLayers); in dumpLayers()
87 dumpLayer(i, list->hwLayers); in dumpLayers()
213 void HwcDebug::logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in logLayer() argument
215 if (NULL == hwLayers) { in logLayer()
221 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in logLayer()
275 void HwcDebug::dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in dumpLayer() argument
296 if (NULL == hwLayers) { in dumpLayer()
302 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in dumpLayer()
H A Dhwc_mdpcomp.cpp298 hnd[i] = list->hwLayers[i].handle; in cacheAll()
318 (hnd[i] != list->hwLayers[i].handle)){ in isSameFrame()
719 hwc_layer_1_t* layer = &list->hwLayers[i]; in tryFullFrame()
770 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp()
825 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
846 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
909 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
947 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
1068 hwc_layer_1_t* layer = &list->hwLayers[i]; in loadBasedComp()
1372 hwc_layer_1_t* layer = &list->hwLayers[i]; in markLayersForCaching()
[all …]
H A Dhwc_utils.cpp806 hwc_layer_1_t *layer = &list->hwLayers[i]; in trimList()
809 list->hwLayers[i].transform, in trimList()
865 if (isSkipLayer(&list->hwLayers[i])) { in setListStats()
1197 if(!needsScaling(&list->hwLayers[j])) { in optimizeLayerRects()
1236 nwr.left = list->hwLayers[0].displayFrame.left; in getNonWormholeRegion()
1237 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
1238 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion()
1259 if(list->hwLayers[i].acquireFenceFd >= 0) { in closeAcquireFds()
1261 list->hwLayers[i].acquireFenceFd = -1; in closeAcquireFds()
1408 list->hwLayers[i].releaseFenceFd = -1; in hwc_sync()
[all …]
/aosp12/hardware/qcom/display/msm8994/libqdutils/
H A Dcb_utils.cpp48 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion()
55 if(((list->hwLayers[i].blending == HWC_BLENDING_NONE) && in getuiClearRegion()
56 (list->hwLayers[i].planeAlpha == 0xFF)) || in getuiClearRegion()
58 (list->hwLayers[i].flags & HWC_SKIP_HWC_COMPOSITION)) in getuiClearRegion()
60 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
69 if((list->hwLayers[i].blending != HWC_BLENDING_NONE) || in getuiClearRegion()
70 (list->hwLayers[i].planeAlpha != 0xFF) || in getuiClearRegion()
73 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_copybit.cpp418 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in drawUsingAppBufferComposition()
430 hwc_layer_1_t *tmpLayer = &list->hwLayers[0]; in drawUsingAppBufferComposition()
471 &(list->hwLayers[i]),renderBuffer, 0); in drawUsingAppBufferComposition()
524 if(list->hwLayers[last].acquireFenceFd >=0) { in draw()
557 if (list->hwLayers[i].acquireFenceFd != -1 in draw()
565 close(list->hwLayers[i].acquireFenceFd); in draw()
566 list->hwLayers[i].acquireFenceFd = -1; in draw()
584 list->hwLayers[last].acquireFenceFd = -1; in draw()
634 hwc_layer_1_t *layer = &list->hwLayers[i]; in drawOverlap()
646 list->hwLayers[i].acquireFenceFd = -1; in drawOverlap()
[all …]
H A Dhwc_dump_layers.cpp90 logLayer(i, list->hwLayers); in dumpLayers()
91 dumpLayer(i, list->hwLayers); in dumpLayers()
217 void HwcDebug::logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in logLayer() argument
219 if (NULL == hwLayers) { in logLayer()
225 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in logLayer()
279 void HwcDebug::dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in dumpLayer() argument
300 if (NULL == hwLayers) { in dumpLayer()
306 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in dumpLayer()
H A Dhwc_mdpcomp.cpp827 hwc_layer_1_t* layer = &list->hwLayers[i]; in tryFullFrame()
871 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp()
926 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
947 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
993 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
1063 layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
1098 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
1226 hwc_layer_1_t* layer = &list->hwLayers[i]; in loadBasedComp()
1648 hwc_layer_1_t* layer = &list->hwLayers[i]; in markLayersForCaching()
2269 hwc_layer_1_t *layer = &list->hwLayers[i]; in draw()
[all …]
H A Dhwc_dump_layers.h120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
/aosp12/hardware/qcom/display/msm8084/libqdutils/
H A Dcb_utils.cpp48 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion()
55 if((list->hwLayers[i].blending == HWC_BLENDING_NONE) || in getuiClearRegion()
57 (list->hwLayers[i].flags & HWC_SKIP_HWC_COMPOSITION)) in getuiClearRegion()
59 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
68 if((list->hwLayers[i].blending != HWC_BLENDING_NONE) || in getuiClearRegion()
71 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
/aosp12/hardware/qcom/display/msm8226/libqdutils/
H A Dcb_utils.cpp48 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion()
55 if((list->hwLayers[i].blending == HWC_BLENDING_NONE) || in getuiClearRegion()
57 (list->hwLayers[i].flags & HWC_SKIP_HWC_COMPOSITION)) in getuiClearRegion()
59 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
68 if((list->hwLayers[i].blending != HWC_BLENDING_NONE) || in getuiClearRegion()
71 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
/aosp12/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_copybit.cpp126 getLayerResolution(&list->hwLayers[i], w, h); in getRGBRenderingArea()
237 list->hwLayers[i].compositionType = HWC_BLIT; in prepare()
240 list->hwLayers[i].compositionType = HWC_OVERLAY; in prepare()
298 if(list->hwLayers[last].acquireFenceFd >=0) { in draw()
311 hwc_layer_1_t *layer = &list->hwLayers[i]; in draw()
320 if (list->hwLayers[i].acquireFenceFd != -1 in draw()
328 close(list->hwLayers[i].acquireFenceFd); in draw()
329 list->hwLayers[i].acquireFenceFd = -1; in draw()
344 list->hwLayers[last].acquireFenceFd >= 0) { in draw()
345 close(list->hwLayers[last].acquireFenceFd); in draw()
[all …]
H A Dhwc_dump_layers.cpp86 logLayer(i, list->hwLayers); in dumpLayers()
87 dumpLayer(i, list->hwLayers); in dumpLayers()
213 void HwcDebug::logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in logLayer() argument
215 if (NULL == hwLayers) { in logLayer()
221 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in logLayer()
275 void HwcDebug::dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in dumpLayer() argument
296 if (NULL == hwLayers) { in dumpLayer()
302 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in dumpLayer()
H A Dhwc_utils.cpp819 hwc_layer_1_t *layer = &list->hwLayers[i]; in trimList()
822 list->hwLayers[i].transform, in trimList()
905 if (isSkipLayer(&list->hwLayers[i])) { in setListStats()
1209 if(!needsScaling(&list->hwLayers[j])) { in optimizeLayerRects()
1248 nwr.left = list->hwLayers[0].displayFrame.left; in getNonWormholeRegion()
1249 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
1250 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion()
1271 if(list->hwLayers[i].acquireFenceFd >= 0) { in closeAcquireFds()
1273 list->hwLayers[i].acquireFenceFd = -1; in closeAcquireFds()
1404 list->hwLayers[i].releaseFenceFd = -1; in hwc_sync()
[all …]
H A Dhwc_dump_layers.h120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc/
H A Dhwc_display_null.cpp77 if (content_list->hwLayers[i].compositionType == HWC_FRAMEBUFFER_TARGET || in Prepare()
78 content_list->hwLayers[i].compositionType == HWC_BACKGROUND) { in Prepare()
82 content_list->hwLayers[i].compositionType = HWC_OVERLAY; in Prepare()
92 content_list->hwLayers[i].releaseFenceFd = -1; in Commit()
H A Dhwc_color_manager.cpp179 solid_fill_layers_->hwLayers[1] = layer_list->hwLayers[layer_list->numHwLayers - 1]; in SolidFillLayersPrepare()
187 hwc_layer_1_t *layer = &layer_list->hwLayers[i]; in SolidFillLayersPrepare()
211 int &fence_fd = layer_list->hwLayers[i].acquireFenceFd; in SolidFillLayersSet()
219 int &fence_fd = solid_fill_layers_->hwLayers[i].releaseFenceFd; in SolidFillLayersSet()
263 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; in CreateSolidFillLayers()
273 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; in CreateSolidFillLayers()
303 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; in DestroySolidFillLayers()
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
H A Dhwc_display_null.cpp77 if (content_list->hwLayers[i].compositionType == HWC_FRAMEBUFFER_TARGET || in Prepare()
78 content_list->hwLayers[i].compositionType == HWC_BACKGROUND) { in Prepare()
82 content_list->hwLayers[i].compositionType = HWC_OVERLAY; in Prepare()
92 content_list->hwLayers[i].releaseFenceFd = -1; in Commit()
H A Dhwc_color_manager.cpp179 solid_fill_layers_->hwLayers[1] = layer_list->hwLayers[layer_list->numHwLayers - 1]; in SolidFillLayersPrepare()
187 hwc_layer_1_t *layer = &layer_list->hwLayers[i]; in SolidFillLayersPrepare()
211 int &fence_fd = layer_list->hwLayers[i].acquireFenceFd; in SolidFillLayersSet()
219 int &fence_fd = solid_fill_layers_->hwLayers[i].releaseFenceFd; in SolidFillLayersSet()
263 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; in CreateSolidFillLayers()
273 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; in CreateSolidFillLayers()
303 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; in DestroySolidFillLayers()
/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc/
H A Dhwc_display_null.cpp77 if (content_list->hwLayers[i].compositionType == HWC_FRAMEBUFFER_TARGET || in Prepare()
78 content_list->hwLayers[i].compositionType == HWC_BACKGROUND) { in Prepare()
82 content_list->hwLayers[i].compositionType = HWC_OVERLAY; in Prepare()
92 content_list->hwLayers[i].releaseFenceFd = -1; in Commit()
H A Dhwc_color_manager.cpp179 solid_fill_layers_->hwLayers[1] = layer_list->hwLayers[layer_list->numHwLayers - 1]; in SolidFillLayersPrepare()
187 hwc_layer_1_t *layer = &layer_list->hwLayers[i]; in SolidFillLayersPrepare()
211 int &fence_fd = layer_list->hwLayers[i].acquireFenceFd; in SolidFillLayersSet()
219 int &fence_fd = solid_fill_layers_->hwLayers[i].releaseFenceFd; in SolidFillLayersSet()
263 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; in CreateSolidFillLayers()
273 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; in CreateSolidFillLayers()
303 hwc_layer_1_t &layer = solid_fill_layers_->hwLayers[0]; in DestroySolidFillLayers()
/aosp12/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.cpp437 hwc_layer_1_t const* layer = &list->hwLayers[i]; in setListStats()
447 } else if (isSkipLayer(&list->hwLayers[i])) { in setListStats()
612 nwr.left = list->hwLayers[0].displayFrame.left; in getNonWormholeRegion()
613 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
614 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion()
615 nwr.bottom = list->hwLayers[0].displayFrame.bottom; in getNonWormholeRegion()
642 if(list->hwLayers[i].acquireFenceFd >= 0) { in closeAcquireFds()
643 close(list->hwLayers[i].acquireFenceFd); in closeAcquireFds()
644 list->hwLayers[i].acquireFenceFd = -1; in closeAcquireFds()
724 } else if(list->hwLayers[i].acquireFenceFd >= 0) in hwc_sync()
[all …]
H A Dhwc_copybit.cpp125 private_handle_t *hnd = (private_handle_t *)list->hwLayers[i].handle; in getRGBRenderingArea()
128 getLayerResolution(&list->hwLayers[i], w, h); in getRGBRenderingArea()
171 hwc_layer_1_t *fbLayer = &list->hwLayers[fbLayerIndex]; in prepare()
192 private_handle_t *hnd = (private_handle_t *)list->hwLayers[i].handle; in prepare()
197 list->hwLayers[i].compositionType = HWC_OVERLAY; in prepare()
265 if (list->hwLayers[i].acquireFenceFd != -1 ) { in draw()
267 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); in draw()
272 close(list->hwLayers[i].acquireFenceFd); in draw()
273 list->hwLayers[i].acquireFenceFd = -1; in draw()
275 retVal = drawLayerUsingCopybit(ctx, &(list->hwLayers[i]), in draw()
H A Dhwc_mdpcomp.cpp151 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
255 hnd[i] = list->hwLayers[i].handle; in cacheAll()
404 hwc_layer_1_t* layer = &list->hwLayers[i]; in isFullFrameDoable()
516 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in isOnlyVideoDoable()
649 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in updateYUV()
682 hwc_layer_1_t* layer = &list->hwLayers[index]; in programMDP()
861 hwc_layer_1_t* layer = &list->hwLayers[index]; in allocLayerPipes()
914 hwc_layer_1_t *layer = &list->hwLayers[i]; in draw()
968 hwc_layer_1_t* layer = &list->hwLayers[i]; in pipesNeeded()
1034 hwc_layer_1_t* layer = &list->hwLayers[index]; in allocLayerPipes()
[all …]

123