https://bugs.kde.org/show_bug.cgi?id=466454
--- Comment #19 from Mark Richardson <oldkentuckym...@gmail.com> --- (In reply to David Edmundson from comment #18) > > I don't see a cross platform way to set the swapchain size, unless kwin > > gives a surface of either 1px-16384px like it does on wayland, or exactly > > matching the window size like on xwayland with no scaling active. > > We've got a few crossed paths: > > - kwin isn't setting this surface capabilities sizes, this all comes from > mesa and this 721px values is based on the current window size > we can change mesa. > > - from the output it strongly suggests kwin is resizing the window (which > is a silly rounding bug we need to fix) but that would be the same if the > user resized things by dragging a corner and resized a window > > The crossplatform way to do things is to make sure clients build your > swapchain size is also based on the *current* window size, watching for the > window being resized as external factors can resize things. All SDL window queries say the window size is 1280x720 with a min/max swapchain extant of 1280x721 to 1280x721. SDL_GetWindowSize(); SDL_GetWindowSizeInPixels(); SDL_Vulkan_GetDrawableSize(); However on native wayland, the max extant is always 16k. not what I would call optimal usage. -- You are receiving this mail because: You are watching all bug changes.