Home
last modified time | relevance | path

Searched refs:displayFrame (Results 1 – 25 of 38) sorted by relevance

12

/hardware/qcom/display/msm8084/libqdutils/
Dcb_utils.cpp47 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion()
58 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() local
59 Rect tmpRect(displayFrame.left,displayFrame.top, in getuiClearRegion()
60 displayFrame.right,displayFrame.bottom); in getuiClearRegion()
70 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() local
71 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion()
72 displayFrame.bottom); in getuiClearRegion()
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp47 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion()
58 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() local
59 Rect tmpRect(displayFrame.left,displayFrame.top, in getuiClearRegion()
60 displayFrame.right,displayFrame.bottom); in getuiClearRegion()
70 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() local
71 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion()
72 displayFrame.bottom); in getuiClearRegion()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_fbupdate.cpp72 hwc_rect_t displayFrame = layer->displayFrame; in configure() local
76 getBufferSizeAndDimensions(displayFrame.right - displayFrame.left, in configure()
77 displayFrame.bottom - displayFrame.top, in configure()
133 displayFrame = sourceCrop; in configure()
134 ovutils::Dim dpos(displayFrame.left, in configure()
135 displayFrame.top, in configure()
136 displayFrame.right - displayFrame.left, in configure()
137 displayFrame.bottom - displayFrame.top); in configure()
196 hwc_rect_t displayFrame = layer->displayFrame; in configure() local
200 getBufferSizeAndDimensions(displayFrame.right - displayFrame.left, in configure()
[all …]
Dhwc_copybit.cpp179 ((layer->displayFrame.bottom - layer->displayFrame.top) % 16 || in prepare()
180 (layer->displayFrame.right - layer->displayFrame.left) % 16)) in prepare()
352 hwc_rect_t displayFrame = layer->displayFrame; in drawLayerUsingCopybit() local
353 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit()
354 displayFrame.right, in drawLayerUsingCopybit()
355 displayFrame.bottom}; in drawLayerUsingCopybit()
367 int32_t screen_w = displayFrame.right - displayFrame.left; in drawLayerUsingCopybit()
368 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit()
542 hwc_rect_t displayFrame = layer->displayFrame; in getLayerResolution() local
544 width = displayFrame.right - displayFrame.left; in getLayerResolution()
[all …]
Dhwc_utils.cpp307 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() local
309 trimLayer(ctx, dpy, layer->transform, sourceCrop, displayFrame); in needsScaling()
311 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
312 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
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() local
[all …]
Dhwc_utils.h327 hwc_rect_t displayFrame = layer->displayFrame; in getLayerResolution() local
328 width = displayFrame.right - displayFrame.left; in getLayerResolution()
329 height = displayFrame.bottom - displayFrame.top; in getLayerResolution()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_fbupdate.cpp108 hwc_rect_t displayFrame = sourceCrop; in configure() local
109 ovutils::Dim dpos(displayFrame.left, in configure()
110 displayFrame.top, in configure()
111 displayFrame.right - displayFrame.left, in configure()
112 displayFrame.bottom - displayFrame.top); in configure()
237 hwc_rect_t displayFrame = sourceCrop; in configure() local
240 ovutils::Dim dposL(displayFrame.left, in configure()
241 displayFrame.top, in configure()
242 (displayFrame.right - displayFrame.left) / 2, in configure()
243 displayFrame.bottom - displayFrame.top); in configure()
[all …]
Dhwc_copybit.cpp329 hwc_rect_t displayFrame = layer->displayFrame; in drawLayerUsingCopybit() local
330 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit()
331 displayFrame.right, in drawLayerUsingCopybit()
332 displayFrame.bottom}; in drawLayerUsingCopybit()
344 int32_t screen_w = displayFrame.right - displayFrame.left; in drawLayerUsingCopybit()
345 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit()
489 hwc_rect_t displayFrame = layer->displayFrame; in getLayerResolution() local
491 width = displayFrame.right - displayFrame.left; in getLayerResolution()
492 height = displayFrame.bottom - displayFrame.top; in getLayerResolution()
Dhwc_utils.cpp364 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() local
367 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
368 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
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() local
618 nwr.left = min(nwr.left, displayFrame.left); in getNonWormholeRegion()
[all …]
Dhwc_utils.h274 hwc_rect_t displayFrame = layer->displayFrame; in getLayerResolution() local
275 width = displayFrame.right - displayFrame.left; in getLayerResolution()
276 height = displayFrame.bottom - displayFrame.top; in getLayerResolution()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_copybit.cpp161 hwc_rect_t dirtyRect = list->hwLayers[changingLayerIndex].displayFrame; in getLayersChanging()
168 hwc_rect_t displayFrame = list->hwLayers[k].displayFrame; in getLayersChanging() local
169 hwc_rect_t result = getIntersection(displayFrame,dirtyRect); in getLayersChanging()
230 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in prepareOverlap()
241 ptorInfo->displayFrame[i].top = (finalH - in prepareOverlap()
245 ptorInfo->displayFrame[i].right = ptorInfo->displayFrame[i].left + in prepareOverlap()
247 ptorInfo->displayFrame[i].bottom = ptorInfo->displayFrame[i].top + in prepareOverlap()
327 dst_h = layer->displayFrame.bottom - layer->displayFrame.top; in prepare()
328 dst_w = layer->displayFrame.right - layer->displayFrame.left; in prepare()
442 hwc_rect_t displayFrame = in drawUsingAppBufferComposition() local
[all …]
Dhwc_fbupdate.cpp75 mModeOn = prepare(ctx, list, layer->displayFrame, fbZorder) && in prepareAndValidate()
172 hwc_rect_t displayFrame = layer->displayFrame; in configure() local
179 displayFrame = fbUpdatingRect; in configure()
195 sourceCrop = layer->displayFrame; in configure()
203 displayFrame = sourceCrop; in configure()
206 calcExtDisplayPosition(ctx, NULL, mDpy, sourceCrop, displayFrame, in configure()
209 ctx->dpyAttr[mDpy].mDstRect = displayFrame; in configure()
227 if(configMdp(ctx->mOverlay, parg, orient, sourceCrop, displayFrame, in configure()
310 hwc_rect_t displayFrame = fbUpdatingRect; in configure() local
320 if(displayFrame.left < lSplit) { in configure()
[all …]
Dhwc_utils.cpp585 hwc_rect_t& displayFrame, in calcExtDisplayPosition() argument
601 srcHeight, displayFrame); in calcExtDisplayPosition()
606 sourceCrop = displayFrame; in calcExtDisplayPosition()
607 displayFrame.left = 0; in calcExtDisplayPosition()
608 displayFrame.top = 0; in calcExtDisplayPosition()
609 displayFrame.right = dstWidth; in calcExtDisplayPosition()
610 displayFrame.bottom = dstHeight; in calcExtDisplayPosition()
629 displayFrame.left = int(wRatio*(float)displayFrame.left); in calcExtDisplayPosition()
630 displayFrame.top = int(hRatio*(float)displayFrame.top); in calcExtDisplayPosition()
631 displayFrame.right = int(wRatio*(float)displayFrame.right); in calcExtDisplayPosition()
[all …]
Dhwc.cpp242 hwc_rect_t& displayFrame = layer->displayFrame; in scaleDisplayFrame() local
244 uint32_t layerWidth = displayFrame.right - displayFrame.left; in scaleDisplayFrame()
245 uint32_t layerHeight = displayFrame.bottom - displayFrame.top; in scaleDisplayFrame()
246 displayFrame.left = (int)(xresRatio * (float)displayFrame.left); in scaleDisplayFrame()
247 displayFrame.top = (int)(yresRatio * (float)displayFrame.top); in scaleDisplayFrame()
248 displayFrame.right = (int)((float)displayFrame.left + in scaleDisplayFrame()
250 displayFrame.bottom = (int)((float)displayFrame.top + in scaleDisplayFrame()
Dhwc_dump_layers.cpp223 hwc_rect_t displayFrame = layer->displayFrame; in logLayer() local
248 displayFrame.left, displayFrame.top, in logLayer()
249 displayFrame.right, displayFrame.bottom, in logLayer()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_copybit.cpp189 dst_h = layer->displayFrame.bottom - layer->displayFrame.top; in prepare()
190 dst_w = layer->displayFrame.right - layer->displayFrame.left; in prepare()
428 hwc_rect_t displayFrame = layer->displayFrame; in drawLayerUsingCopybit() local
429 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit()
430 displayFrame.right, in drawLayerUsingCopybit()
431 displayFrame.bottom}; in drawLayerUsingCopybit()
443 int32_t screen_w = displayFrame.right - displayFrame.left; in drawLayerUsingCopybit()
444 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit()
626 hwc_rect_t displayFrame = layer->displayFrame; in fillColorUsingCopybit() local
627 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in fillColorUsingCopybit()
[all …]
Dhwc_fbupdate.cpp68 mModeOn = prepare(ctx, list, layer->displayFrame, fbZorder) && in prepareAndValidate()
166 hwc_rect_t displayFrame = layer->displayFrame; in configure() local
173 displayFrame = fbUpdatingRect; in configure()
189 sourceCrop = layer->displayFrame; in configure()
197 displayFrame = sourceCrop; in configure()
200 calcExtDisplayPosition(ctx, NULL, mDpy, sourceCrop, displayFrame, in configure()
203 ctx->dpyAttr[mDpy].mDstRect = displayFrame; in configure()
221 if(configMdp(ctx->mOverlay, parg, orient, sourceCrop, displayFrame, in configure()
304 hwc_rect_t displayFrame = fbUpdatingRect; in configure() local
314 if(displayFrame.left < lSplit) { in configure()
[all …]
Dhwc_utils.cpp598 hwc_rect_t& displayFrame, in calcExtDisplayPosition() argument
614 srcHeight, displayFrame); in calcExtDisplayPosition()
619 sourceCrop = displayFrame; in calcExtDisplayPosition()
620 displayFrame.left = 0; in calcExtDisplayPosition()
621 displayFrame.top = 0; in calcExtDisplayPosition()
622 displayFrame.right = dstWidth; in calcExtDisplayPosition()
623 displayFrame.bottom = dstHeight; in calcExtDisplayPosition()
642 displayFrame.left = int(wRatio*(float)displayFrame.left); in calcExtDisplayPosition()
643 displayFrame.top = int(hRatio*(float)displayFrame.top); in calcExtDisplayPosition()
644 displayFrame.right = int(wRatio*(float)displayFrame.right); in calcExtDisplayPosition()
[all …]
Dhwc.cpp247 hwc_rect_t& displayFrame = layer->displayFrame; in scaleDisplayFrame() local
249 uint32_t layerWidth = displayFrame.right - displayFrame.left; in scaleDisplayFrame()
250 uint32_t layerHeight = displayFrame.bottom - displayFrame.top; in scaleDisplayFrame()
258 displayFrame.left = (int)(xresRatio * (float)displayFrame.left); in scaleDisplayFrame()
259 displayFrame.top = (int)(yresRatio * (float)displayFrame.top); in scaleDisplayFrame()
260 displayFrame.right = (int)((float)displayFrame.left + in scaleDisplayFrame()
262 displayFrame.bottom = (int)((float)displayFrame.top + in scaleDisplayFrame()
Dhwc_dump_layers.cpp223 hwc_rect_t displayFrame = layer->displayFrame; in logLayer() local
248 displayFrame.left, displayFrame.top, in logLayer()
249 displayFrame.right, displayFrame.bottom, in logLayer()
/hardware/intel/img/hwcomposer/common/base/
DHwcLayer.cpp244 mPlane->setPosition(layer->displayFrame.left, in update()
245 layer->displayFrame.top, in update()
246 layer->displayFrame.right - layer->displayFrame.left, in update()
247 layer->displayFrame.bottom - layer->displayFrame.top); in update()
293 mDisplayFrame != mLayer->displayFrame || in setupAttributes()
304 mDisplayFrame = mLayer->displayFrame; in setupAttributes()
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp164 l->displayFrame.left, in dump_layer()
165 l->displayFrame.top, in dump_layer()
166 l->displayFrame.right, in dump_layer()
167 l->displayFrame.bottom); in dump_layer()
247 return WIDTH(layer.displayFrame) != WIDTH(layer.sourceCrop) || in is_scaled()
248 HEIGHT(layer.displayFrame) != HEIGHT(layer.sourceCrop); in is_scaled()
357 return (layer.displayFrame.left % pixel_alignment) == 0 && in is_x_aligned()
358 (layer.displayFrame.right % pixel_alignment) == 0; in is_x_aligned()
386 dest_w = HEIGHT(layer.displayFrame); in exynos5_supports_gscaler()
387 dest_h = WIDTH(layer.displayFrame); in exynos5_supports_gscaler()
[all …]
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp64 l->displayFrame.left, in dump_layer()
65 l->displayFrame.top, in dump_layer()
66 l->displayFrame.right, in dump_layer()
67 l->displayFrame.bottom); in dump_layer()
/hardware/intel/img/hwcomposer/ips/tangier/
DTngDisplayContext.cpp134 imgLayer->psLayer->displayFrame.left, in commitContents()
135 imgLayer->psLayer->displayFrame.top, in commitContents()
136 imgLayer->psLayer->displayFrame.right - imgLayer->psLayer->displayFrame.left, in commitContents()
137 imgLayer->psLayer->displayFrame.bottom - imgLayer->psLayer->displayFrame.top, in commitContents()
/hardware/ti/omap4-aah/hwc/
Drgz_2d.c247 l->displayFrame.left, in dump_layer()
248 l->displayFrame.top, in dump_layer()
249 l->displayFrame.right, in dump_layer()
250 l->displayFrame.bottom); in dump_layer()
310 res_rect->left = layer->displayFrame.left; in rgz_get_displayframe_rect()
311 res_rect->top = layer->displayFrame.top; in rgz_get_displayframe_rect()
312 res_rect->bottom = layer->displayFrame.bottom; in rgz_get_displayframe_rect()
313 res_rect->right = layer->displayFrame.right; in rgz_get_displayframe_rect()
556 srcregion.left = max(0, l->displayFrame.left); in rgz_out_bvcmd_paint()
557 srcregion.top = max(0, l->displayFrame.top); in rgz_out_bvcmd_paint()
[all …]

12