Lecrapouille / gdcef

[Plugin][Version 0.10.0][Functional] Chromium Embedded Framework Webview for Godot 3 and 4
https://discord.gg/EckEwy7S5U
MIT License
222 stars 26 forks source link

Vulkan issue: Godot shall be in "compatibility" mode instead of "forward+" mode #57

Open Lecrapouille opened 3 months ago

Lecrapouille commented 3 months ago

loading the cef shared library into Godot seems to cause it to be unable to use Vulkan so the main forward+ renderer can't be used... I wonder if instead of passing a window handle which needs a GL context we can use the offscreen renderer with GPU disabled and copy the texture to an image that can be loaded in the Vulkan renderer?

Lecrapouille commented 3 months ago

ERROR: Required extension VK_KHR_xlib_surface not found, is a driver installed?

Lecrapouille commented 3 months ago

Workaround is not to used CEF's libvulkan.so

Same idea for libEGL.so libGLESv2.so ?

Lecrapouille commented 3 months ago

// https://magpcss.org/ceforum/viewtopic.php?f=17&t=18970 command_line->AppendSwitchWithValue("use-gl", "angle"); command_line->AppendSwitchWithValue("use-angle", "swiftshader”);