Revert "Revert "Split platform functions from entrypoints""

This reverts commit d18d55344f9c1133c6b4f41aa6defcde1c32c7f3.

Test: cts-tradefed run singleCommand cts -m CtsGpuToolsHostTestCases
Test: Chromium starts up
Test: deqp - EGL, GLES2, GLES3
Bug: 110883880
Change-Id: Id551cc0cdc9404c7c6a42c64693dedd217b18c7b
12 files changed