Commit Graph

4 Commits

Author SHA1 Message Date
Tatenda Chipeperekwa
a8668641ba sdm: Adjust the split if a horizontal flip is present
1. Split from right to left on the source to ensure that the
   width of the right split is aligned to the expected width
   alignment.
2. Split from bottom to top on the destination to ensure that the
   resultant y-offset is aligned correctly after the swap
   operation happens.

Change-Id: I7ddcc068e0ec14b66294b15e641b3e1c58f14a1b
2015-08-18 21:34:05 -07:00
Dileep Marchya
ee93e50467 sdm: Add a method to calculate union of a rectangle array.
- Add a method in rect utility which aggregates all rectangles
  contained in a rectangle array and unionizes them.

Change-Id: Ic825cafe644f00623af15711bd7f54a48d5cc66e
2015-08-05 11:43:28 -07:00
Ramkumar Radhakrishnan
345081196a 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
2015-06-24 12:06:17 -07:00
Dileep Marchya
73d002e57c sdm: Align to new SDM design.
- Align code base to new SDM design.

Change-Id: I38d7d138ae704cf036e2b96c16453aea63bc333f
2015-05-21 11:58:10 -07:00