summaryrefslogtreecommitdiffstats
path: root/sdm/include/utils/rect.h
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-09-01 18:42:58 -0600
committerLinux Build Service Account <lnxbuild@localhost>2016-09-01 18:42:58 -0600
commit57aaa5e09827b47df67e08ec165173327a7e6ed8 (patch)
tree9322ba200099a7920bc2d97647489582b9877e10 /sdm/include/utils/rect.h
parent9cc01011e580a2a55ebabd39c62e042f3f9d5dde (diff)
parentbee9c1acdd3a6910d5f4e57d39c4fe4d0ea9909d (diff)
downloadhardware_qcom_display-57aaa5e09827b47df67e08ec165173327a7e6ed8.tar.gz
hardware_qcom_display-57aaa5e09827b47df67e08ec165173327a7e6ed8.tar.bz2
hardware_qcom_display-57aaa5e09827b47df67e08ec165173327a7e6ed8.zip
Promotion of display.lnx.2.0-00048.
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1040942 I28d757af4178f581e6a83dc06198106c85fc7262 hwc: Store real buffer resolution in private handle. 1040942 Ic4c03cc5779418959732332d26b8ecb59c2483b5 sdm: Add rect mapping and interface to store actual reso Change-Id: I96c075e51d992f1db521b2f8649913c152439798 CRs-Fixed: 1040942
Diffstat (limited to 'sdm/include/utils/rect.h')
-rw-r--r--sdm/include/utils/rect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdm/include/utils/rect.h b/sdm/include/utils/rect.h
index c19864560..7153f2b47 100644
--- a/sdm/include/utils/rect.h
+++ b/sdm/include/utils/rect.h
@@ -49,6 +49,8 @@ namespace sdm {
bool flip_horizontal, LayerRect *out_rects);
void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
bool flip_horizontal, LayerRect *out_rects);
+ void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
+ LayerRect *out_rect);
} // namespace sdm
#endif // __RECT_H__