use module_api_version instead of version_major

Change-Id: I9ad03126d409beb7f128670919ad408356c555cd
add atrace_tag_hal

Change-Id: Ia0f60a4759b329b54e22126a72499c0606b79ae2
gralloc: Add support for "RAW" and "BLOB" formats

The allocation is done as specified in system/graphics.h
Raw formats are 16 bit and aligned to 32 bytes, blob formats have
a height of 1 and the size of the buffer is equal to the width.

Change-Id: If762a34dde3b78f138689ced1077c9529020ebf0
gralloc: Add missing break statement

Change-Id: I5ac1b5d504a0d6d026c3cf8f73c5be99426f7e0f
Signed-off-by: Ed Tam <etam@google.com>
gralloc: Mark buffers used by HW Texture

Consumer of gralloc buffers need to distinguish between buffers
with different usage flags, such as HW_TEXTURE vs VIDEO_ENCODER.

Change-Id: Idc330390c184ea942c096b84d29afe7705c06e4d

Conflicts:
	libgralloc/gpu.cpp
	libgralloc/gralloc_priv.h