Home
last modified time | relevance | path

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

123

/hardware/qcom/display/msm8994/libqdutils/
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()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_copybit.cpp94 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()
[all …]
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[]);
Dhwc_dump_layers.cpp91 logLayer(i, list->hwLayers); in dumpLayers()
92 dumpLayer(i, list->hwLayers); in dumpLayers()
218 void HwcDebug::logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in logLayer() argument
220 if (NULL == hwLayers) { in logLayer()
226 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in logLayer()
280 void HwcDebug::dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]) in dumpLayer() argument
301 if (NULL == hwLayers) { in dumpLayer()
307 hwc_layer_1_t *layer = &hwLayers[layerIndex]; in dumpLayer()
/hardware/qcom/display/msm8909/libqdutils/
Dcb_utils.cpp64 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in uiClearRegion()
80 if(((list->hwLayers[i].blending == HWC_BLENDING_NONE) && in uiClearRegion()
81 (list->hwLayers[i].planeAlpha == 0xFF)) || in uiClearRegion()
83 (list->hwLayers[i].flags & HWC_SKIP_HWC_COMPOSITION)) in uiClearRegion()
85 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in uiClearRegion()
94 if((list->hwLayers[i].blending != HWC_BLENDING_NONE) || in uiClearRegion()
95 (list->hwLayers[i].planeAlpha != 0xFF) || in uiClearRegion()
98 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in uiClearRegion()
/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.h120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
Dhwc_mdpcomp.cpp222 hwc_layer_1_t* layer = &(list->hwLayers[index]); in setMDPCompLayerFlags()
298 hnd[i] = list->hwLayers[i].handle; in cacheAll()
318 (hnd[i] != list->hwLayers[i].handle)){ in isSameFrame()
469 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
508 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
574 const hwc_layer_1_t* layer = &list->hwLayers[i]; in validateAndApplyROI()
622 hwc_layer_1_t* layer = &list->hwLayers[index]; in generateROI()
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()
[all …]
/hardware/qcom/display/msm8084/libqdutils/
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()
/hardware/qcom/display/msm8226/libqdutils/
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()
/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.h120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
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()
/hardware/qcom/display/sdm845/sdm/libs/hwc/
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()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
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()
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()
/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/intel/img/hwcomposer/merrifield/common/base/
DDisplayAnalyzer.cpp188 videoLayerExist = isVideoLayer(content->hwLayers[j]); in checkVideoExtMode()
190 if ((content->hwLayers[j].flags & HWC_SKIP_LAYER)) { in checkVideoExtMode()
193 videoHandle = content->hwLayers[j].handle; in checkVideoExtMode()
194 videoFullScreenOnPrimary = isVideoFullScreen(0, content->hwLayers[j]); in checkVideoExtMode()
215 if (content->hwLayers[j].handle == videoHandle) { in checkVideoExtMode()
216 isVideoLayerSkipped |= (content->hwLayers[j].flags & HWC_SKIP_LAYER); in checkVideoExtMode()
223 mVideoExtModeEligible = isVideoFullScreen(i, content->hwLayers[j]); in checkVideoExtMode()
598 layer = &content->hwLayers[j]; in blankSecondaryDevice()
727 if (isVideoLayer(content->hwLayers[j])) { in handleVideoCheckEvent()
728 videoHandles[i] = (intptr_t)content->hwLayers[j].handle; in handleVideoCheckEvent()
[all …]
/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.h120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
/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()

123