• Peng Huang's avatar
    viz: Create Vulkan instance and Vulkan GrContext with --enable-vulkan · cfc3180d
    Peng Huang authored
    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: default avatarAntoine Labour <piman@chromium.org>
    Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
    Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
    Commit-Queue: Peng Huang <penghuang@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#575438}
    cfc3180d
gpu_preferences_unittest.cc 8.07 KB