display-caf: Convert liblight build barrier to Google nomenclature

Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>
hwc: support 8x26 variants

Add support for 8x26 variants (8x26v1, v2 etc..)

Change-Id: Ie316c1f77fdafb8021100f371c2ebc327e1c9da9
libhwcomposer: Optimize layer crops when possible.

With in hwc list of layers if a layer above is opaque,
deduct the opaque layers crops from all the layers below
in z-order if deduction is possible with out creating
any hole.

Change-Id: I6391a13b0501cb972b134f72b58514cb807c7613
(cherry picked from commit 34e5ca67a56585623ea748ca138d6ed7b22a7f44)
libexternal: remove mEDIDs string

Remove mEDIDs string from the External class as it not needed
after parsing the string

Change-Id: I0a624857894a0b5401b33408c09b32ceb4f8a0d4
CRs-fixed: 549578
(cherry picked from commit 3cd94a77a098102aee6dbe8d1dc85c2ae21e7ae0)
libhwcomposer: Make Rect utils generic.

Changes rect utility functions more generic.
Adds more sanity checks.

Change-Id: Ie935302592ac8eb5f7cfaffe03ac49da077a290d
(cherry picked from commit 77dab03bc671c6d4a46497eaecc594d17a4aee76)
hwc: Fix rotator size allocation to max buffer size

When using the metadata for calculating the rotator destination
buffer size, the allocation happens frequently in the smooth
streaming use case leading to fragmentation of rotator memory.
Base the calculation of this buffer size on the actual width and
height of the buffer instead of the metadata.

Change-Id: Ic551a2b1eb7418cb0b03251b26bbf55d612822fd

Conflicts:
	libhwcomposer/hwc_utils.cpp
overlay: Account for transform in size calculation

If we have a transform of 90, we need to swap the width and
height in the origWhf to make sure we get the right size
calculation of the output buffer with all alignment requirements.

Change-Id: I90f4da9cf7d9c56a43058f99c6d406a72e1d3efc
hwc: Do not punt secure layers for non integral crops

GPU cannot handle secure layers so a black screen is seen when we
punt secure layers with non integral source crops.

Bug:11156948
Change-Id: Ie19c631aab55dc8e7c1ad5e1f42162e833f49222