Home
last modified time | relevance | path

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

12

/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 …]
Dhwc_virtual.cpp112 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in prepare()
153 hwc_layer_1_t *layer = &list->hwLayers[i]; in prepare()
168 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in set()
318 hwc_layer_1_t *layer = &list->hwLayers[i]; in prepare()
336 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in set()
359 hwc_layer_1_t *extLayer = &list->hwLayers[extOnlyLayerIndex]; in set()
Dhwc_fbupdate.cpp74 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; in prepareAndValidate()
133 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; in configure()
138 layer = &list->hwLayers[extOnlyLayerIndex]; in configure()
286 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; in configure()
291 layer = &list->hwLayers[extOnlyLayerIndex]; in configure()
426 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; in configure()
430 layer = &list->hwLayers[extOnlyLayerIndex]; in configure()
Dhwc.cpp140 if(list->hwLayers[layerIndex].compositionType != in setDMAState()
143 hwc_layer_1_t const* layer = &list->hwLayers[layerIndex]; in setDMAState()
211 if(list->hwLayers[j].compositionType != HWC_FRAMEBUFFER_TARGET) in reset()
212 list->hwLayers[j].compositionType = HWC_FRAMEBUFFER; in reset()
241 hwc_layer_1_t *layer = &list->hwLayers[i]; in scaleDisplayFrame()
317 hwc_layer_1_t *layer = &list->hwLayers[i]; in hwc_prepare_external()
558 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in hwc_set_primary()
590 hwc_layer_1_t *tempLayer = &list->hwLayers[index]; in hwc_set_primary()
638 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in hwc_set_external()
661 hwc_layer_1_t *extLayer = &list->hwLayers[extOnlyLayerIndex]; in hwc_set_external()
/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/intel/img/hwcomposer/ips/tangier/
DTngDisplayContext.cpp93 if (!display->hwLayers[i].handle) { in commitContents()
110 imgLayer->psLayer = &display->hwLayers[i]; in commitContents()
171 hwc_layer_1_t& layer = display->hwLayers[j]; in commitEnd()
182 hwc_layer_1_t& fbt = display->hwLayers[display->numHwLayers-1]; in commitEnd()
218 (uint32_t)displays[i]->hwLayers[j].handle, in commitEnd()
219 displays[i]->hwLayers[j].acquireFenceFd, in commitEnd()
220 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()
1198 if(list->hwLayers[i].blending == HWC_BLENDING_NONE) { in optimizeLayerRects()
1201 (hwc_rect_t&)list->hwLayers[i].displayFrame; in optimizeLayerRects()
1203 if(!needsScaling(&list->hwLayers[j])) { in optimizeLayerRects()
1204 hwc_layer_1_t* layer = (hwc_layer_1_t*)&list->hwLayers[j]; in optimizeLayerRects()
1240 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion()
[all …]
Dhwc_mdpcomp.cpp205 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
281 hnd[i] = list->hwLayers[i].handle; in cacheAll()
301 (hnd[i] != list->hwLayers[i].handle)){ in isSameFrame()
450 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
489 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
555 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
603 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
699 hwc_layer_1_t* layer = &list->hwLayers[i]; in tryFullFrame()
748 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp()
816 hwc_layer_1_t* layer = &list->hwLayers[i]; in cacheBasedComp()
[all …]
Dhwc_virtual.cpp101 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in prepare()
141 hwc_layer_1_t *layer = &list->hwLayers[i]; in prepare()
156 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in set()
279 hwc_layer_1_t *layer = &list->hwLayers[i]; in prepare()
298 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in set()
321 hwc_layer_1_t *extLayer = &list->hwLayers[extOnlyLayerIndex]; in set()
Dhwc_fbupdate.cpp67 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; in prepareAndValidate()
127 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; in configure()
132 layer = &list->hwLayers[extOnlyLayerIndex]; in configure()
280 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; in configure()
285 layer = &list->hwLayers[extOnlyLayerIndex]; in configure()
420 hwc_layer_1_t *layer = &list->hwLayers[list->numHwLayers - 1]; in configure()
424 layer = &list->hwLayers[extOnlyLayerIndex]; in configure()
Dhwc.cpp140 if(list->hwLayers[layerIndex].compositionType != in setDMAState()
143 hwc_layer_1_t const* layer = &list->hwLayers[layerIndex]; in setDMAState()
211 if(list->hwLayers[j].compositionType != HWC_FRAMEBUFFER_TARGET) in reset()
212 list->hwLayers[j].compositionType = HWC_FRAMEBUFFER; in reset()
246 hwc_layer_1_t *layer = &list->hwLayers[i]; in scaleDisplayFrame()
328 hwc_layer_1_t *layer = &list->hwLayers[i]; in hwc_prepare_external()
585 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in hwc_set_primary()
653 hwc_layer_1_t *fbLayer = &list->hwLayers[last]; in hwc_set_external()
676 hwc_layer_1_t *extLayer = &list->hwLayers[extOnlyLayerIndex]; in hwc_set_external()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp435 hwc_layer_1_t const* layer = &list->hwLayers[i]; in setListStats()
441 if(list->hwLayers[i].compositionType == HWC_FRAMEBUFFER_TARGET) { in setListStats()
444 } else if (isSkipLayer(&list->hwLayers[i])) { in setListStats()
609 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion()
611 nwr.left = list->hwLayers[0].displayFrame.left; in getNonWormholeRegion()
612 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
613 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion()
614 nwr.bottom = list->hwLayers[0].displayFrame.bottom; in getNonWormholeRegion()
617 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getNonWormholeRegion()
641 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()
166 hwc_layer_1_t *fbLayer = &list->hwLayers[fbLayerIndex]; in prepare()
187 private_handle_t *hnd = (private_handle_t *)list->hwLayers[i].handle; in prepare()
192 list->hwLayers[i].compositionType = HWC_OVERLAY; in prepare()
255 hwc_layer_1_t *layer = &list->hwLayers[i]; in draw()
261 if (list->hwLayers[i].acquireFenceFd != -1 ) { in draw()
263 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); in draw()
268 close(list->hwLayers[i].acquireFenceFd); in draw()
269 list->hwLayers[i].acquireFenceFd = -1; in draw()
[all …]
Dhwc_mdpcomp.cpp151 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
256 hnd[i] = list->hwLayers[i].handle; in cacheAll()
407 hwc_layer_1_t* layer = &list->hwLayers[i]; in isFullFrameDoable()
519 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in isOnlyVideoDoable()
615 if (mCachedFrame.hnd[i] == list->hwLayers[i].handle) { in updateLayerCache()
620 mCachedFrame.hnd[i] = list->hwLayers[i].handle; in updateLayerCache()
652 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in updateYUV()
685 hwc_layer_1_t* layer = &list->hwLayers[index]; in programMDP()
713 hwc_layer_1_t* layer = &list->hwLayers[index]; in programYUV()
837 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; 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()
277 hwc_layer_1_t *layer = &list->hwLayers[i]; in draw()
283 if (list->hwLayers[i].acquireFenceFd != -1 in draw()
286 ret = sync_wait(list->hwLayers[i].acquireFenceFd, 1000); in draw()
291 close(list->hwLayers[i].acquireFenceFd); in draw()
[all …]
Dhwc_mdpcomp.cpp169 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
233 hnd[i] = list->hwLayers[i].handle; in cacheAll()
394 hwc_layer_1_t* layer = &list->hwLayers[i]; in isFullFrameDoable()
450 hwc_layer_1_t* layer = &list->hwLayers[i]; in fullMDPComp()
504 hwc_layer_1_t* layer = &list->hwLayers[i]; in cacheBasedComp()
568 hwc_layer_1_t* layer = &list->hwLayers[j]; in loadBasedComp()
588 hwc_layer_1_t* layer = &list->hwLayers[i]; in loadBasedComp()
647 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex]; in isOnlyVideoDoable()
724 hwc_layer_1_t* layer = &list->hwLayers[i]; in batchLayers()
753 hwc_layer_1_t* layer = &list->hwLayers[i]; in updateLayerCache()
[all …]
Dhwc_utils.cpp377 hwc_layer_1_t const* layer = &list->hwLayers[i]; in setListStats()
391 if (isSkipLayer(&list->hwLayers[i])) { in setListStats()
563 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion()
565 nwr.left = list->hwLayers[0].displayFrame.left; in getNonWormholeRegion()
566 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
567 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion()
568 nwr.bottom = list->hwLayers[0].displayFrame.bottom; in getNonWormholeRegion()
571 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getNonWormholeRegion()
591 if(list->hwLayers[i].acquireFenceFd >= 0) { in closeAcquireFds()
592 close(list->hwLayers[i].acquireFenceFd); in closeAcquireFds()
[all …]

12