sdm: Add split rectangle support for split rotation.
1. Add support to split rectangle vertically and horizontally. 2. Add debug property to enable/disable split rotation. Change-Id: I4070e7e754c2a3a3a9ca4f4eab91037f7f9c88b7
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
d5eab0c7b3
commit
345081196a
@@ -45,6 +45,10 @@ namespace sdm {
|
||||
LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2);
|
||||
LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2);
|
||||
LayerRect Reposition(const LayerRect &rect1, const int &x_offset, const int &y_offset);
|
||||
void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
|
||||
LayerRect *out_rects);
|
||||
void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
|
||||
LayerRect *out_rects);
|
||||
} // namespace sdm
|
||||
|
||||
#endif // __RECT_H__
|
||||
|
||||
Reference in New Issue
Block a user