Continue to isolate graphics classes by introducing C API

This CL adds an initial C API to show how we should proceed
with limiting the symbols the graphics library will expose to the
framework.

Refactor Surface and TextureView to have no dependencies on the
graphics classes outside of the exposed C API.

Test: CtsUiRenderingTestCases
Bug: 137655431
Change-Id: Ic10aaba00388a47ca97f156fcaebc1ea7676dfb2
8 files changed