Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Enable Skia's Vulkan backend on all non-mobile platforms, and… #29794

Closed
wants to merge 1 commit into from

Conversation

cbracken
Copy link
Member

… test SwiftShader Vulkan on all GL unittests platforms (#29520)"

Causes the following build breakage (Win32):

[19/1564] CXX obj/flutter/vulkan/vulkan.vulkan_window.obj
FAILED: obj/flutter/vulkan/vulkan.vulkan_window.obj
ninja -t msvc -e environment.x64 --
../../buildtools/windows-x64/clang/bin/clang-cl.exe  /nologo
/showIncludes @obj/flutter/vulkan/vulkan.vulkan_window.obj.rsp /c
../../flutter/vulkan/vulkan_window.cc
 /Foobj/flutter/vulkan/vulkan.vulkan_window.obj
 /Fdobj/flutter/vulkan/vulkan_cc.pdb
 ../../flutter/vulkan/vulkan_window.cc(125,24): error: no member named
 'MakeVulkan' in 'GrDirectContext'
       GrDirectContext::MakeVulkan(backend_context, options);
             ~~~~~~~~~~~~~~~~~^
             1 error generated.

This reverts commit bba38c0.

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.

List which issues are fixed by this PR. You must list at least one issue.

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

… test SwiftShader Vulkan on all GL unittests platforms (flutter#29520)"

Causes the following build breakage (Win32):

    [19/1564] CXX obj/flutter/vulkan/vulkan.vulkan_window.obj
    FAILED: obj/flutter/vulkan/vulkan.vulkan_window.obj
    ninja -t msvc -e environment.x64 --
    ../../buildtools/windows-x64/clang/bin/clang-cl.exe  /nologo
    /showIncludes @obj/flutter/vulkan/vulkan.vulkan_window.obj.rsp /c
    ../../flutter/vulkan/vulkan_window.cc
     /Foobj/flutter/vulkan/vulkan.vulkan_window.obj
     /Fdobj/flutter/vulkan/vulkan_cc.pdb
     ../../flutter/vulkan/vulkan_window.cc(125,24): error: no member named
     'MakeVulkan' in 'GrDirectContext'
           GrDirectContext::MakeVulkan(backend_context, options);
                 ~~~~~~~~~~~~~~~~~^
                 1 error generated.

This reverts commit bba38c0.
@cbracken
Copy link
Member Author

A clean build fixed this for me.

@cbracken cbracken closed this Nov 17, 2021
@cbracken cbracken deleted the revert-vulkan branch November 17, 2021 20:23
@knopp
Copy link
Member

knopp commented Nov 18, 2021

I think this might have been due to missing skia_enable_vulkan = true in args.gn? I had same problem on macOS.

@cbracken
Copy link
Member Author

Yep, that was exactly the reason. I should have left a note for anyone else who hits this bug by searching for the error message. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants