viz: Create Vulkan instance and Vulkan GrContext with --enable-vulkan
This CL will create Vulkan instance and Vulkan GrContext when --enable-vulkan is specified. And SkiaOutputSurfaceImpl and SkiaOutputSurfaceImplOnGpu will use the Vulkan GrContext to renderer to replay the SkDDL. Known issues: * RasterDecoder still produces GL textures, it should use the GrContext from GpuServiceImpl. * Media still produce GL textures. * WebGL still produce GL textures. * Browser UI doesn't use RasterDecoder. Bug: 838899 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I1026c70e0916d25a9878767336b106299b9dbce7 Reviewed-on: https://chromium-review.googlesource.com/1126166Reviewed-by:Antoine Labour <piman@chromium.org> Reviewed-by:
Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#575438}
Showing
This diff is collapsed.
Please register or sign in to comment