Skip to content

RENDERER: improved vulkan renderer - dynamic renderer selection in the ui#401

Open
mgerhardy wants to merge 31 commits into
mainfrom
pr/vulkan
Open

RENDERER: improved vulkan renderer - dynamic renderer selection in the ui#401
mgerhardy wants to merge 31 commits into
mainfrom
pr/vulkan

Conversation

@mgerhardy

Copy link
Copy Markdown
Member

see issue #400

some older commits that I think might be useful here. It would be great if several people could test this before this is merged.

On the first pixel, pSrc and pDst point to the same address. pSrc[0] = pDst[2]
overwrites byte 0 before pSrc[2] = pDst[0] reads it.
Using SDL_WINDOW_FULLSCREEN instead of SDL_WINDOW_FULLSCREEN_DESKTOP prevents both renderers, OpenGL2 and Vulkan, to tab out on macOS
@mgerhardy

Copy link
Copy Markdown
Member Author

Need to link moltenvk on mac

...VKimp_SetMode()...
 bpp 32    SDL_PIXELFORMAT_ARGB8888    1920 x 1080, refresh_rate: 144Hz
 MODE: 3, 640 x 480, refresh rate: 60hz
^3 Couldn't create a window: Failed to load Vulkan Portability library
----- Client Shutdown (Client fatal crashed: VKimp_Init() - could not load Vulkan subsystem: Failed to load Vulkan Portability library) -----
Hunk_Clear: reset the hunk ok

but need to check why - SDL_Vulkan_LoadLibrary should do the dynamic loading for us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants