Home
last modified time | relevance | path

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

123

/hardware/qcom/display/msm8994/libqdutils/
Dcb_utils.cpp47 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion()
54 if(((list->hwLayers[i].blending == HWC_BLENDING_NONE) && in getuiClearRegion()
55 (list->hwLayers[i].planeAlpha == 0xFF)) || 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()
69 (list->hwLayers[i].planeAlpha != 0xFF) || in getuiClearRegion()
72 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_copybit.cpp123 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()
[all …]
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()
Dhwc_dump_layers.h122 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
131 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
Dhwc_mdpcomp.cpp214 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
290 hnd[i] = list->hwLayers[i].handle; in cacheAll()
310 (hnd[i] != list->hwLayers[i].handle)){ in isSameFrame()
461 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
500 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
566 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
614 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
711 hwc_layer_1_t* layer = &list->hwLayers[i]; in tryFullFrame()
762 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp()
817 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPCompWithPTOR()
[all …]
Dhwc_utils.cpp806 hwc_layer_1_t *layer = &list->hwLayers[i]; in trimList()
809 list->hwLayers[i].transform, in trimList()
811 (hwc_rect_t&)list->hwLayers[i].displayFrame); in trimList()
842 hwc_layer_1_t const* layer = &list->hwLayers[i]; in setListStats()
865 if (isSkipLayer(&list->hwLayers[i])) { in setListStats()
1191 if(list->hwLayers[i].blending == HWC_BLENDING_NONE) { in optimizeLayerRects()
1194 (hwc_rect_t&)list->hwLayers[i].displayFrame; in optimizeLayerRects()
1196 if(!needsScaling(&list->hwLayers[j])) { in optimizeLayerRects()
1197 hwc_layer_1_t* layer = (hwc_layer_1_t*)&list->hwLayers[j]; in optimizeLayerRects()
1233 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion()
[all …]
/hardware/qcom/display/msm8084/libqdutils/
Dcb_utils.cpp47 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion()
54 if((list->hwLayers[i].blending == HWC_BLENDING_NONE) || in getuiClearRegion()
56 (list->hwLayers[i].flags & HWC_SKIP_HWC_COMPOSITION)) in getuiClearRegion()
58 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
67 if((list->hwLayers[i].blending != HWC_BLENDING_NONE) || in getuiClearRegion()
70 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp47 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion()
54 if((list->hwLayers[i].blending == HWC_BLENDING_NONE) || in getuiClearRegion()
56 (list->hwLayers[i].flags & HWC_SKIP_HWC_COMPOSITION)) in getuiClearRegion()
58 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
67 if((list->hwLayers[i].blending != HWC_BLENDING_NONE) || in getuiClearRegion()
70 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_copybit.cpp123 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()
[all …]
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()
Dhwc_dump_layers.h122 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
131 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
Dhwc_mdpcomp.cpp288 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
375 hwc_layer_1_t const* layer = &list->hwLayers[i]; in isSameFrame()
570 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
610 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
675 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
724 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
827 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()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
DTngDisplayContext.cpp92 if (!display->hwLayers[i].handle) { in commitContents()
109 imgLayer->psLayer = &display->hwLayers[i]; in commitContents()
170 hwc_layer_1_t& layer = display->hwLayers[j]; in commitEnd()
181 hwc_layer_1_t& fbt = display->hwLayers[display->numHwLayers-1]; in commitEnd()
217 (uint32_t)displays[i]->hwLayers[j].handle, in commitEnd()
218 displays[i]->hwLayers[j].acquireFenceFd, in commitEnd()
219 displays[i]->hwLayers[j].releaseFenceFd); in commitEnd()
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngDisplayContext.cpp92 if (!display->hwLayers[i].handle) { in commitContents()
109 imgLayer->psLayer = &display->hwLayers[i]; in commitContents()
170 hwc_layer_1_t& layer = display->hwLayers[j]; in commitEnd()
181 hwc_layer_1_t& fbt = display->hwLayers[display->numHwLayers-1]; in commitEnd()
217 displays[i]->hwLayers[j].handle, in commitEnd()
218 displays[i]->hwLayers[j].acquireFenceFd, in commitEnd()
219 displays[i]->hwLayers[j].releaseFenceFd); in commitEnd()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_copybit.cpp123 private_handle_t *hnd = (private_handle_t *)list->hwLayers[i].handle; in getRGBRenderingArea()
126 getLayerResolution(&list->hwLayers[i], w, h); in getRGBRenderingArea()
177 hwc_layer_1_t *layer = (hwc_layer_1_t *) &list->hwLayers[i]; in prepare()
237 list->hwLayers[i].compositionType = HWC_BLIT; in prepare()
240 list->hwLayers[i].compositionType = HWC_OVERLAY; in prepare()
281 renderBuffer = (private_handle_t *)list->hwLayers[last].handle; in draw()
298 if(list->hwLayers[last].acquireFenceFd >=0) { in draw()
300 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); in draw()
311 hwc_layer_1_t *layer = &list->hwLayers[i]; in draw()
320 if (list->hwLayers[i].acquireFenceFd != -1 in draw()
[all …]
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()
Dhwc_dump_layers.h122 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
131 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
Dhwc_utils.cpp819 hwc_layer_1_t *layer = &list->hwLayers[i]; in trimList()
822 list->hwLayers[i].transform, in trimList()
824 (hwc_rect_t&)list->hwLayers[i].displayFrame); in trimList()
882 hwc_layer_1_t const* layer = &list->hwLayers[i]; in setListStats()
905 if (isSkipLayer(&list->hwLayers[i])) { in setListStats()
1204 if(list->hwLayers[i].blending == HWC_BLENDING_NONE) { in optimizeLayerRects()
1207 (hwc_rect_t&)list->hwLayers[i].displayFrame; in optimizeLayerRects()
1209 if(!needsScaling(&list->hwLayers[j])) { in optimizeLayerRects()
1210 hwc_layer_1_t* layer = (hwc_layer_1_t*)&list->hwLayers[j]; in optimizeLayerRects()
1246 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion()
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/base/
DDisplayAnalyzer.cpp197 videoLayerExist = isVideoLayer(content->hwLayers[j]); in checkVideoExtMode()
199 if ((content->hwLayers[j].flags & HWC_SKIP_LAYER)) { in checkVideoExtMode()
202 videoHandle = content->hwLayers[j].handle; in checkVideoExtMode()
203 videoFullScreenOnPrimary = isVideoFullScreen(0, content->hwLayers[j]); in checkVideoExtMode()
224 if (content->hwLayers[j].handle == videoHandle) { in checkVideoExtMode()
225 isVideoLayerSkipped |= (content->hwLayers[j].flags & HWC_SKIP_LAYER); in checkVideoExtMode()
232 mVideoExtModeEligible = isVideoFullScreen(i, content->hwLayers[j]); in checkVideoExtMode()
607 layer = &content->hwLayers[j]; in blankSecondaryDevice()
736 if (isVideoLayer(content->hwLayers[j])) { in handleVideoCheckEvent()
737 videoHandles[i] = (intptr_t)content->hwLayers[j].handle; in handleVideoCheckEvent()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp437 hwc_layer_1_t const* layer = &list->hwLayers[i]; in setListStats()
444 if(list->hwLayers[i].compositionType == HWC_FRAMEBUFFER_TARGET) { in setListStats()
447 } else if (isSkipLayer(&list->hwLayers[i])) { in setListStats()
610 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion()
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()
618 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getNonWormholeRegion()
642 if(list->hwLayers[i].acquireFenceFd >= 0) { in closeAcquireFds()
[all …]
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()
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()
612 if (mCachedFrame.hnd[i] == list->hwLayers[i].handle) { in updateLayerCache()
617 mCachedFrame.hnd[i] = list->hwLayers[i].handle; in updateLayerCache()
649 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in updateYUV()
682 hwc_layer_1_t* layer = &list->hwLayers[index]; in programMDP()
710 hwc_layer_1_t* layer = &list->hwLayers[index]; in programYUV()
861 hwc_layer_1_t* layer = &list->hwLayers[index]; in allocLayerPipes()
[all …]
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_copybit.cpp120 private_handle_t *hnd = (private_handle_t *)list->hwLayers[i].handle; in getRGBRenderingArea()
123 getLayerResolution(&list->hwLayers[i], w, h); in getRGBRenderingArea()
166 hwc_layer_1_t *fbLayer = &list->hwLayers[fbLayerIndex]; in prepare()
176 hwc_layer_1_t *layer = (hwc_layer_1_t *) &list->hwLayers[i]; in prepare()
206 private_handle_t *hnd = (private_handle_t *)list->hwLayers[i].handle; in prepare()
211 list->hwLayers[i].compositionType = HWC_OVERLAY; in prepare()
282 if (list->hwLayers[i].acquireFenceFd != -1 in draw()
285 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); in draw()
290 close(list->hwLayers[i].acquireFenceFd); in draw()
291 list->hwLayers[i].acquireFenceFd = -1; in draw()
[all …]
Dhwc_utils.cpp377 hwc_layer_1_t const* layer = &list->hwLayers[i]; in setListStats()
391 if (isSkipLayer(&list->hwLayers[i])) { in setListStats()
561 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion()
563 nwr.left = list->hwLayers[0].displayFrame.left; in getNonWormholeRegion()
564 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
565 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion()
566 nwr.bottom = list->hwLayers[0].displayFrame.bottom; in getNonWormholeRegion()
569 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getNonWormholeRegion()
589 if(list->hwLayers[i].acquireFenceFd >= 0) { in closeAcquireFds()
590 close(list->hwLayers[i].acquireFenceFd); in closeAcquireFds()
[all …]
Dhwc_mdpcomp.cpp169 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
233 hnd[i] = list->hwLayers[i].handle; in cacheAll()
392 hwc_layer_1_t* layer = &list->hwLayers[i]; in isFullFrameDoable()
448 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp()
502 hwc_layer_1_t* layer = &list->hwLayers[i]; in cacheBasedComp()
566 hwc_layer_1_t* layer = &list->hwLayers[j]; in loadBasedComp()
586 hwc_layer_1_t* layer = &list->hwLayers[i]; in loadBasedComp()
645 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in isOnlyVideoDoable()
722 hwc_layer_1_t* layer = &list->hwLayers[i]; in batchLayers()
751 if (mCachedFrame.hnd[i] == list->hwLayers[i].handle) { in updateLayerCache()
[all …]

123