/hardware/qcom/display/msm8994/libqdutils/ |
D | cb_utils.cpp | 48 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/msm8226/libqdutils/ |
D | cb_utils.cpp | 48 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/msm8084/libqdutils/ |
D | cb_utils.cpp | 48 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/libhwcomposer/ |
D | hwc_copybit.cpp | 123 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 …]
|
D | hwc_dump_layers.h | 120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]); 129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
|
D | hwc_dump_layers.cpp | 86 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()
|
D | hwc_mdpcomp.cpp | 222 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 …]
|
D | hwc_utils.cpp | 806 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() 1192 if(list->hwLayers[i].blending == HWC_BLENDING_NONE) { in optimizeLayerRects() 1195 (hwc_rect_t&)list->hwLayers[i].displayFrame; in optimizeLayerRects() 1197 if(!needsScaling(&list->hwLayers[j])) { in optimizeLayerRects() 1198 hwc_layer_1_t* layer = (hwc_layer_1_t*)&list->hwLayers[j]; in optimizeLayerRects() 1234 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_copybit.cpp | 123 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 …]
|
D | hwc_dump_layers.h | 120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]); 129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
|
D | hwc_dump_layers.cpp | 90 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()
|
D | hwc_mdpcomp.cpp | 288 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/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display_null.cpp | 77 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()
|
D | hwc_color_manager.cpp | 179 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/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display_null.cpp | 77 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()
|
D | hwc_color_manager.cpp | 179 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/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display_null.cpp | 77 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()
|
D | hwc_color_manager.cpp | 179 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/qcom/display/msm8084/libhwcomposer/ |
D | hwc_copybit.cpp | 123 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 …]
|
D | hwc_dump_layers.h | 120 void logLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]); 129 void dumpLayer(size_t layerIndex, hwc_layer_1_t hwLayers[]);
|
D | hwc_dump_layers.cpp | 86 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()
|
D | hwc_utils.cpp | 819 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/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 437 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 …]
|
D | hwc_copybit.cpp | 125 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()
|
D | hwc_mdpcomp.cpp | 151 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 …]
|