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:
Ramkumar Radhakrishnan
2015-05-28 19:02:05 -07:00
committed by Gerrit - the friendly Code Review server
parent d5eab0c7b3
commit 345081196a
4 changed files with 50 additions and 0 deletions

View File

@@ -113,5 +113,12 @@ bool Debug::IsRotatorUbwcDisabled() {
return (value == 1);
}
bool Debug::IsRotatorSplitDisabled() {
int value = 0;
debug_.debug_handler_->GetProperty("sdm.debug.disable_rotator_split", &value);
return (value == 1);
}
} // namespace sdm