libcopybit: do not use GNU old-style field designators

Summary: Not using a GNU extension improves portability

Test Plan: verfied

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D660
libgralloc & libhwcomposer: do not use GNU old-style field designators

Summary:
Avoiding the use of gnu extensions improves code portability.
Somehow I had this locally, then missed it on my first pass of this repo.

Test Plan: verified.

Reviewers: synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D13
remove common_flags += -Werror to fix compile

Change-Id: I7aa8a8d37658a56460a08de51600e38daa1ecb47
libhwc: Lower optimization level
Fix explicit instantiations

Summary:
This fixes explicit instantiations of android::Singleton.

Test Plan: verify

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D619
caf: hwcomposer: build with gcc

Summary: Workaround tricky inline functions

Test Plan: verified

Reviewers: jriordan001, randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D657
HWC: fixup ailiasing violations, credit @bigrushdog for the fixup
fb: bring back reserved field usage

panel frame rate calculation is borked on some devices
Merge remote-tracking branch 'cm/cm-11.0' into update_cm
Merge branch 'cm-11.0' of github.com:CyanogenMod/android_hardware_qcom_display-caf into kk-devel-qcom
Merge remote-tracking branch 'cm/cm-11.0' into qcom_media

Conflicts:
	libhwcomposer/hwc_utils.cpp
Merge remote-tracking branch 'cfx/kk-devel' into HEAD

Conflicts:
	common.mk
	libhwcomposer/hwc_utils.cpp

Change-Id: Icc35f0f430dc27deb4a903a98547f24a7ccb1ace
HWC: Fix for use int reference in function call

To use the integer reference, declared integer
variable to get value directly in that variable.

Change-Id: I1fd1a45580be99dd95ccbc3495e28455a4c7de23

Conflicts:

	libhwcomposer/hwc_utils.cpp