Create a buffer independent cb_handle_t base class

Since PLATFORM_SDK_VERSION is not available everywhere, we need
a generic API to get information about gralloc buffers like width or
the host handle. All such fields are moved to a separate class to used
by gralloc implementations.

Bug: 141385612
Test: boot, check the virtual scene camera
Change-Id: I9d5abe31731a354b502d8db86cc4eb013c2f026c
Signed-off-by: Roman Kiryanov <rkir@google.com>
9 files changed