/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.h | 99 hwc_rect_t mDstRect; 134 hwc_rect_t lRoi; //left ROI 135 hwc_rect_t rRoi; //right ROI. Unused in single DSI panels. 145 hwc_rect_t displayFrame[MAX_PTOR_LAYERS]; 169 static void setBwc(const hwc_rect_t& crop, 170 const hwc_rect_t& dst, const int& transform, 229 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() 230 hwc_rect_t cropI = {0,0,0,0}; in integerizeSourceCrop() 256 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 257 const hwc_rect_t& scissor, int orient); [all …]
|
D | hwc_fbupdate.h | 42 hwc_rect_t fbUpdatingRect, int fbZorder) = 0; 67 hwc_rect_t fbUpdatingRect, int fbZorder); 72 hwc_rect_t fbUpdatingRect, int fbZorder); 76 hwc_rect_t& sourceCrop, 88 hwc_rect_t fbUpdatingRect, int fbZorder); 94 hwc_rect_t fbUpdatingRect, int fbZorder); 106 hwc_rect_t fbUpdatingRect, int fbZorder);
|
D | hwc_copybit.h | 72 hwc_rect_t FbdirtyRect[NUM_RENDER_BUFFERS]; 76 void insertAndUpdateFbCache(hwc_rect_t dirtyRect); 77 int getUnchangedFbDRCount(hwc_rect_t dirtyRect); 90 private_handle_t *renderBuffer, hwc_rect_t overlap, 91 hwc_rect_t destRect); 114 int clear (private_handle_t* hnd, hwc_rect_t& rect);
|
D | hwc_utils.cpp | 386 void getActionSafePosition(hwc_context_t *ctx, int dpy, hwc_rect_t& rect) { in getActionSafePosition() 453 hwc_rect_t& inRect, hwc_rect_t& outRect) { in getAspectRatioPosition() 470 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition() 512 hwc_rect_t r = {0, 0, 0, 0}; in getAspectRatioPosition() 584 hwc_rect_t& sourceCrop, in calcExtDisplayPosition() 585 hwc_rect_t& displayFrame, in calcExtDisplayPosition() 686 hwc_rect_t displayFrame = layer->displayFrame; in isDownscaleRequired() 687 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in isDownscaleRequired() 701 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() 702 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScaling() [all …]
|
D | hwc_fbupdate.cpp | 92 hwc_rect_t& sourceCrop, in preRotateExtDisplay() 119 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 131 hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 171 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() 172 hwc_rect_t displayFrame = layer->displayFrame; in configure() 271 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 284 hwc_display_contents_1 *list, hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 309 hwc_rect_t sourceCrop = fbUpdatingRect; in configure() 310 hwc_rect_t displayFrame = fbUpdatingRect; in configure() 341 hwc_rect_t cropL = sourceCrop; in configure() [all …]
|
D | hwc_mdpcomp.cpp | 352 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in isValidDimension() 353 hwc_rect_t dst = layer->displayFrame; in isValidDimension() 448 void MDPCompNonSplit::trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect) { in trimAgainstROI() 449 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() 460 hwc_rect_t visibleRect = ctx->listStats[mDpy].lRoi; in validateAndApplyROI() 470 hwc_rect_t dstRect = layer->displayFrame; in validateAndApplyROI() 471 hwc_rect_t res = getIntersection(visibleRect, dstRect); in validateAndApplyROI() 511 hwc_rect_t dst = layer->displayFrame; in generateROI() 512 hwc_rect_t updatingRect = dst; in generateROI() 517 hwc_rect_t src = integerizeSourceCrop(layer->sourceCropf); in generateROI() [all …]
|
D | hwc_copybit.cpp | 161 hwc_rect_t dirtyRect = list->hwLayers[changingLayerIndex].displayFrame; in getLayersChanging() 168 hwc_rect_t displayFrame = list->hwLayers[k].displayFrame; in getLayersChanging() 169 hwc_rect_t result = getIntersection(displayFrame,dirtyRect); in getLayersChanging() 230 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in prepareOverlap() 318 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in prepare() 385 int CopyBit::clear (private_handle_t* hnd, hwc_rect_t& rect) in clear() 442 hwc_rect_t displayFrame = in drawUsingAppBufferComposition() 445 hwc_rect_t tmpDisplayFrame = list->hwLayers[i].displayFrame; in drawUsingAppBufferComposition() 446 hwc_rect_t result = getIntersection(displayFrame,tmpDisplayFrame); in drawUsingAppBufferComposition() 529 hwc_rect_t clearRegion = {0,0,0,0}; in draw() [all …]
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.h | 98 hwc_rect_t mDstRect; 129 hwc_rect_t lRoi; //left ROI 130 hwc_rect_t rRoi; //right ROI. Unused in single DSI panels. 144 static void setBwc(const hwc_rect_t& crop, 145 const hwc_rect_t& dst, const int& transform, 204 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() 205 hwc_rect_t cropI = {0,0,0,0}; in integerizeSourceCrop() 229 hwc_rect_t calculateDisplayViewFrame(hwc_context_t *ctx, int dpy); 236 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 237 const hwc_rect_t& scissor, int orient); [all …]
|
D | hwc_fbupdate.h | 42 hwc_rect_t fbUpdatingRect, int fbZorder) = 0; 67 hwc_rect_t fbUpdatingRect, int fbZorder); 72 hwc_rect_t fbUpdatingRect, int fbZorder); 76 hwc_rect_t& sourceCrop, 88 hwc_rect_t fbUpdatingRect, int fbZorder); 94 hwc_rect_t fbUpdatingRect, int fbZorder); 106 hwc_rect_t fbUpdatingRect, int fbZorder);
|
D | hwc_utils.cpp | 371 void getActionSafePosition(hwc_context_t *ctx, int dpy, hwc_rect_t& rect) { in getActionSafePosition() 437 int srcHeight, hwc_rect_t& rect) { in getAspectRatioPosition() 466 hwc_rect_t& inRect, hwc_rect_t& outRect) { in getAspectRatioPosition() 483 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition() 525 hwc_rect_t r = {0, 0, 0, 0}; in getAspectRatioPosition() 597 hwc_rect_t& sourceCrop, in calcExtDisplayPosition() 598 hwc_rect_t& displayFrame, in calcExtDisplayPosition() 699 hwc_rect_t displayFrame = layer->displayFrame; in isDownscaleRequired() 700 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in isDownscaleRequired() 714 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() [all …]
|
D | hwc_fbupdate.cpp | 85 hwc_rect_t& sourceCrop, in preRotateExtDisplay() 113 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 125 hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 165 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() 166 hwc_rect_t displayFrame = layer->displayFrame; in configure() 265 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 278 hwc_display_contents_1 *list, hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 303 hwc_rect_t sourceCrop = fbUpdatingRect; in configure() 304 hwc_rect_t displayFrame = fbUpdatingRect; in configure() 335 hwc_rect_t cropL = sourceCrop; in configure() [all …]
|
D | hwc_mdpcomp.cpp | 327 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in isValidDimension() 328 hwc_rect_t dst = layer->displayFrame; in isValidDimension() 421 hwc_rect_t MDPComp::calculateDirtyRect(const hwc_layer_1_t* layer, in calculateDirtyRect() 422 hwc_rect_t& scissor) { in calculateDirtyRect() 424 hwc_rect_t src = integerizeSourceCrop(layer->sourceCropf); in calculateDirtyRect() 425 hwc_rect_t dst = layer->displayFrame; in calculateDirtyRect() 429 hwc_rect_t updatingRect = dst; in calculateDirtyRect() 437 hwc_rect_t intersect = getIntersection(updatingRect, scissor); in calculateDirtyRect() 447 void MDPCompNonSplit::trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect) { in trimAgainstROI() 448 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.h | 108 hwc_rect_t mDstRect; 138 hwc_rect_t lRoi; //left ROI 139 hwc_rect_t rRoi; //right ROI. Unused in single DSI panels. 155 hwc_rect_t displayFrame[MAX_PTOR_LAYERS]; 181 const hwc_rect_t& crop, const hwc_rect_t& dst, 279 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() 280 hwc_rect_t cropI = {0,0,0,0}; in integerizeSourceCrop() 306 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 307 const hwc_rect_t& scissor, int orient); 309 hwc_rect_t& nwr); [all …]
|
D | hwc_fbupdate.h | 42 hwc_rect_t fbUpdatingRect, int fbZorder) = 0; 67 hwc_rect_t fbUpdatingRect, int fbZorder); 72 hwc_rect_t fbUpdatingRect, int fbZorder); 76 hwc_rect_t& sourceCrop, 88 hwc_rect_t fbUpdatingRect, int fbZorder); 94 hwc_rect_t fbUpdatingRect, int fbZorder); 106 hwc_rect_t fbUpdatingRect, int fbZorder);
|
D | hwc_copybit.h | 72 hwc_rect_t FbdirtyRect[NUM_RENDER_BUFFERS]; 76 void insertAndUpdateFbCache(hwc_rect_t dirtyRect); 77 int getUnchangedFbDRCount(hwc_rect_t dirtyRect); 90 private_handle_t *renderBuffer, hwc_rect_t overlap, 91 hwc_rect_t destRect); 114 int clear (private_handle_t* hnd, hwc_rect_t& rect);
|
D | hwc_fbupdate.cpp | 90 hwc_rect_t& sourceCrop, in preRotateExtDisplay() 117 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 129 hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 165 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() 166 hwc_rect_t displayFrame = layer->displayFrame; in configure() 263 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 276 hwc_display_contents_1 *list, hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 297 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() 298 hwc_rect_t displayFrame = layer->displayFrame; in configure() 358 hwc_rect_t cropL = sourceCrop; in configure() [all …]
|
D | hwc_utils.cpp | 547 void getActionSafePosition(hwc_context_t *ctx, int dpy, hwc_rect_t& rect) { in getActionSafePosition() 614 hwc_rect_t& inRect, hwc_rect_t& outRect) { in getAspectRatioPosition() 631 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition() 673 hwc_rect_t r = {0, 0, 0, 0}; in getAspectRatioPosition() 750 hwc_rect_t& sourceCrop, in calcExtDisplayPosition() 751 hwc_rect_t& displayFrame, in calcExtDisplayPosition() 861 hwc_rect_t displayFrame = layer->displayFrame; in isDownscaleRequired() 862 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in isDownscaleRequired() 876 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() 877 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScaling() [all …]
|
D | hwc_copybit.cpp | 161 hwc_rect_t dirtyRect = list->hwLayers[changingLayerIndex].displayFrame; in getLayersChanging() 168 hwc_rect_t displayFrame = list->hwLayers[k].displayFrame; in getLayersChanging() 169 hwc_rect_t result = getIntersection(displayFrame,dirtyRect); in getLayersChanging() 230 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in prepareOverlap() 325 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in prepare() 394 int CopyBit::clear (private_handle_t* hnd, hwc_rect_t& rect) in clear() 451 hwc_rect_t displayFrame = in drawUsingAppBufferComposition() 454 hwc_rect_t tmpDisplayFrame = list->hwLayers[i].displayFrame; in drawUsingAppBufferComposition() 455 hwc_rect_t result = getIntersection(displayFrame,tmpDisplayFrame); in drawUsingAppBufferComposition() 539 hwc_rect_t clearRegion = {0,0,0,0}; in draw() [all …]
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() 45 hwc_rect_t &clearWormholeRect, LayerProp *layerProp) { in getuiClearRegion() 48 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion() 59 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 71 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 86 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() 45 hwc_rect_t &clearWormholeRect, LayerProp *layerProp) { in getuiClearRegion() 48 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion() 59 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 71 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 86 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | cb_utils.cpp | 32 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() 45 hwc_rect_t &clearWormholeRect, LayerProp *layerProp) { in getuiClearRegion() 48 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion() 60 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 73 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 88 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
|
/hardware/google/graphics/common/libacryl/ |
D | acrylic_internal.h | 44 static inline int32_t get_width(hwc_rect_t &rect) in get_width() 49 static inline int32_t get_height(hwc_rect_t &rect) in get_height() 74 static inline bool operator==(hw2d_rect_t r1, hwc_rect_t r2) 82 static inline bool operator==(hwc_rect_t r1, hw2d_rect_t r2) 87 static inline bool operator!=(hw2d_rect_t r1, hwc_rect_t r2) 92 static inline bool operator!=(hwc_rect_t r1, hw2d_rect_t r2)
|
/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | ExynosLayer.h | 70 hwc_rect_t displayFrame; 203 android::Vector <hwc_rect_t> mDamageRects; 213 hwc_rect_t mDisplayFrame; 238 hwc_rect_t mBlockingRect; 351 virtual int32_t setLayerDisplayFrame(hwc_rect_t frame); 475 int32_t setLayerBlockingRegion(const std::vector<hwc_rect_t>& blockingRegion);
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 363 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() 364 hwc_rect_t sourceCrop = layer->sourceCrop; in needsScaling() 554 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, in calculate_crop_rects() 555 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() 607 hwc_rect_t& nwr) in getNonWormholeRegion() 610 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion() 618 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getNonWormholeRegion() 780 hwc_rect_t& crop, hwc_rect_t& dst) { in trimLayer() 785 hwc_rect_t scissor = {0, 0, hw_w, hw_h }; in trimLayer() 893 const eTransform& orient, const hwc_rect_t& crop, in configMdp() [all …]
|
D | hwc_utils.h | 162 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 163 const hwc_rect_t& scissor, int orient); 165 hwc_rect_t& nwr); 191 hwc_rect_t& crop, hwc_rect_t& dst); 274 hwc_rect_t displayFrame = layer->displayFrame; in getLayerResolution()
|