Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 558246 Details for
Bug 673110
dev-util/vulkan-tools - add vktrace/vkreplay/vktrace_viewer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-vkreplay_vkdisplay.patch
0001-vkreplay_vkdisplay.patch (text/plain), 1.66 KB, created by
Anton Romanov
on 2018-12-21 08:47:36 UTC
(
hide
)
Description:
0001-vkreplay_vkdisplay.patch
Filename:
MIME Type:
Creator:
Anton Romanov
Created:
2018-12-21 08:47:36 UTC
Size:
1.66 KB
patch
obsolete
>diff --git a/vktrace/vktrace_replay/vkreplay_vkdisplay.cpp b/vktrace/vktrace_replay/vkreplay_vkdisplay.cpp >index 836bb7911..00fa0cd98 100644 >--- a/vktrace/vktrace_replay/vkreplay_vkdisplay.cpp >+++ b/vktrace/vktrace_replay/vkreplay_vkdisplay.cpp >@@ -36,6 +36,7 @@ > int GetDisplayImplementation(const char *displayServer, vktrace_replay::ReplayDisplayImp **ppDisp) { > #if defined(PLATFORM_LINUX) && !defined(ANDROID) > // On linux, the option -ds will choose a display server >+#if defined(VK_USE_PLATFORM_XCB_KHR) > if (strcasecmp(displayServer, "xcb") == 0) { > // Attempt to load libvkdisplay_xcb and constructor > auto xcb_handle = dlopen("libvkdisplay_xcb.so", RTLD_NOW); >@@ -45,7 +46,8 @@ int GetDisplayImplementation(const char *displayServer, vktrace_replay::ReplayDi > } > auto CreateVkDisplayXcb = reinterpret_cast<vkDisplayXcb *(*)()>(dlsym(xcb_handle, "CreateVkDisplayXcb")); > *ppDisp = CreateVkDisplayXcb(); >- } else if (strcasecmp(displayServer, "wayland") == 0) { >+#elif defined(VK_USE_PLATFORM_WAYLAND_KHR) >+ if (strcasecmp(displayServer, "wayland") == 0) { > // Attempt to load libvkdisplay_wayland and constructor > auto wayland_handle = dlopen("libvkdisplay_wayland.so", RTLD_NOW); > if (dlerror()) { >@@ -54,6 +56,7 @@ int GetDisplayImplementation(const char *displayServer, vktrace_replay::ReplayDi > } > auto CreateVkDisplayWayland = reinterpret_cast<vkDisplayWayland *(*)()>(dlsym(wayland_handle, "CreateVkDisplayWayland")); > *ppDisp = CreateVkDisplayWayland(); >+#endif > } else { > vktrace_LogError("Invalid display server. Valid options are: xcb, wayland"); > return -1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 673110
:
558244
| 558246 |
558248
|
558250
|
558252
|
558412