Use SkColorType/GL format to create raster SkSurfaces.

Skia is deprecating GrPixelConfig because it can be ambiguous. Instead
clients specify 3D API (GL, VK) formats when making GrBackendTextures
and then SkColorTypes when making SkSurface/SkImages.

Bug: skia:6718
Bug: skia:7533

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I3e7c72de549394761cbb46c60e9553b33ff6656a
Reviewed-on: https://chromium-review.googlesource.com/889861
Commit-Queue: Brian Salomon <[email protected]>
Reviewed-by: weiliangc <[email protected]>
Reviewed-by: Antoine Labour <[email protected]>
Cr-Commit-Position: refs/heads/master@{#534522}
34 files changed