Home
last modified time | relevance | path

Searched refs:hwc_rect_t (Results 1 – 25 of 171) sorted by relevance

1234567

/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.h99 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 …]
Dhwc_fbupdate.h42 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);
Dhwc_copybit.h72 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);
Dhwc_utils.cpp386 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 …]
Dhwc_fbupdate.cpp92 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 …]
Dhwc_mdpcomp.cpp352 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 …]
Dhwc_copybit.cpp161 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/
Dhwc_utils.h98 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 …]
Dhwc_fbupdate.h42 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);
Dhwc_utils.cpp371 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 …]
Dhwc_fbupdate.cpp85 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 …]
Dhwc_mdpcomp.cpp327 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/
Dhwc_utils.h108 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 …]
Dhwc_fbupdate.h42 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);
Dhwc_copybit.h72 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);
Dhwc_fbupdate.cpp90 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 …]
Dhwc_utils.cpp547 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 …]
Dhwc_copybit.cpp161 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/
Dcb_utils.cpp32 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/
Dcb_utils.cpp32 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/
Dcb_utils.cpp32 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/
Dacrylic_internal.h44 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/
DExynosLayer.h70 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/
Dhwc_utils.cpp363 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 …]
Dhwc_utils.h162 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()

1234567