surfaceflinger: Allow gpu to render widevine level3

Allow gpu to render widevine level3 but keep
blocking screen shots.

CRs-fixed: 428647,424769,421767

Change-Id: I914232a062acbb7b17901dbf2b414973230e59d9

Conflicts:
	services/surfaceflinger/Layer.cpp
Init display orientation according to panel orientation

   - Initialize the display default orientation to panel orientation.
   - honor the panel orientation only after the end of boot animation
     or the new orientation is as same as panel orientation.

Change-Id: Ieece097ff7c3710e379f47028900aed59a96c8d5
frameworks/native: Reset update buffer geometry

Reset update buffer geometry when setBuffersGeometry is invoked to
reallocate the buffer for the new resolution.

Change-Id: I5da0bc8739af5e7c619ee6185b33712015112672