Commit Graph

4 Commits

Author SHA1 Message Date
Dileep Marchya
52e51e4e83 sdm: Add DynLib utility for dynamic library lifecycle management.
- Add DynLib utility to automatically unload libraries upon
  destruction of the utility object.

CRs-Fixed: 1029997
Change-Id: I4e13ad984949db170498fe1ec5c133fa4a798bdd
2016-06-16 19:49:06 +05:30
Arun Kumar K.R
3bd31efc6f sdm: hwc: Add support for GetVisibleDisplayRect
Support the binder API to get the display visible rectangle
which is the union of all the app layer's displayframe.

Change-Id: I05d750c80dda5b735bac5938410ddeeeb8823dd1
2015-09-16 16:08:43 -07:00
Naseer Ahmed
e6c7d30657 sdm: Set default values in class definition
C++11 allows setting default values of member variables in the
class definition. This allows us to have a cleaner initializer
list. Values in the constructor initializer list still take
precedence.

Change-Id: I2a39aca2ed5033bef2eaa0937807a4d466b42fea
2015-07-28 19:02:21 -04:00
Saurabh Shah
909c9796c6 sdm: Add support for CPU hint
- Set the hint when there is only one updating layer, which helps
  in reducing CPU clock and thus power.
- This feature is enabled with the property sdm.perf_hint_window,
  which is set to a positive value, which will be the window of frames
  to skip before the hint is set.

CRs-fixed: 853602
Change-Id: I1af21551510f99752c0b6bbfec3e5c75880c3ab2
2015-07-08 14:47:50 -07:00