Commit cebb9635 by Jamie Madill

GN: Expose XCB surface extension on Linux.

ANGLE uses this extension instead of the Xlib extension. Bug: angleproject:3876 Bug: b/140251624 Change-Id: I4bc420ddc340b8c35eca20d894718c8c3db68a3a Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/36148Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarBen Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 44e6523d
......@@ -20,6 +20,7 @@ config("swiftshader_libvulkan_private_config") {
if (is_linux) {
defines = [
"VK_USE_PLATFORM_XLIB_KHR",
"VK_USE_PLATFORM_XCB_KHR",
"VK_EXPORT=__attribute__((visibility(\"default\")))",
]
} else if (is_fuchsia) {
......
......@@ -24,6 +24,8 @@ swiftshader_source_set("WSI") {
if (is_linux) {
sources += [
"XcbSurfaceKHR.cpp",
"XcbSurfaceKHR.hpp",
"XlibSurfaceKHR.cpp",
"XlibSurfaceKHR.hpp",
"libX11.cpp",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment