You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 2014-07-17 11:49:09 +0000, Damian Kaczmarek wrote:
Created attachment 1769
Example showing the problem
Updated test case to show problems when rendering the texture at x < 0
On 2014-07-18 21:02:38 +0000, Melker Narikka wrote:
Created attachment 1774
SetLogicalSize patch - v2
Here's an updated patch that should work, mostly at the very least. There's a weird offset issue with this patch with RenderCopyEx and rotated surfaces though, where I'm getting results that are (1px, 2px) off. This might be due to lossy integer arithmetic.
On 2014-07-18 22:21:52 +0000, Damian Kaczmarek wrote:
Thanks for the latest patch. It is much better but I still find a lot of issues .. need to think how to update the test code.
On 2014-07-18 22:33:42 +0000, Damian Kaczmarek wrote:
Created attachment 1775
Example showing the problem
Two problems, first see the difference of rendering at the beginning of the rendering code. The rectangle is displayed well .. kind of shifted at the beginning. Second problem is triggered by playing with the size of the window with the mouse, lots of artifacts are being created when resizing the software windows with the mouse.
On 2014-07-18 23:04:33 +0000, Melker Narikka wrote:
Created attachment 1776
SetLogicalSize patch - v3
I was supposed to make the if/elif/else blocks if+if/else. Hmm, here I thought I had done just that. Anyway, that addresses the shifted rectangle issue, which was caused by ignoring some fairly important offsets when the rectangle was rendered at negative coordinates.
As for the visual artifact issue, I think that's due to not clearing the renderer between frames. I'm getting some really nasty window damage when resizing the hardware-backed renderer[1]. Curiously enough, the software renderer doesn't do this on my system...
Is this similar to what you're seeing?
On 2014-07-18 23:11:49 +0000, Damian Kaczmarek wrote:
I confirm the newest patch fixes the shift. For me hardware renderer works properly and only software leaves the window damage [1] I am using NVIDIA blob drivers.
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Example showing the problem (sdl_software_renderer_logical_size_problems.cpp, text/x-c++src, 2014-07-16 10:40:08 +0000, 3914 bytes)Example showing the problem (sdl_software_renderer_logical_size_problems.cpp, text/x-c++src, 2014-07-16 11:50:54 +0000, 3928 bytes)SetLogicalSize patch (sdl-sw-logicalsize.patch, text/plain, 2014-07-17 10:49:05 +0000, 7756 bytes)Example showing the problem (sdl_software_renderer_logical_size_problems.cpp, text/plain, 2014-07-17 11:49:09 +0000, 3949 bytes)SetLogicalSize patch - v2 (sdl-sw-logicalsize.patch, text/plain, 2014-07-18 21:02:38 +0000, 8402 bytes)SetLogicalSize patch - v3 (sdl-sw-logicalsize.patch, text/plain, 2014-07-18 23:04:33 +0000, 8418 bytes)Patch for current SDL2 version (patch_for_2646.diff, text/plain, 2016-04-03 00:33:50 +0000, 754 bytes)Reported in version: HG 2.0
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2014-07-16 10:40:08 +0000, Damian Kaczmarek wrote:
On 2014-07-16 11:50:54 +0000, Damian Kaczmarek wrote:
On 2014-07-16 11:52:11 +0000, Damian Kaczmarek wrote:
On 2014-07-17 10:49:05 +0000, Melker Narikka wrote:
On 2014-07-17 11:49:09 +0000, Damian Kaczmarek wrote:
On 2014-07-18 21:02:38 +0000, Melker Narikka wrote:
On 2014-07-18 22:21:52 +0000, Damian Kaczmarek wrote:
On 2014-07-18 22:33:42 +0000, Damian Kaczmarek wrote:
On 2014-07-18 23:04:33 +0000, Melker Narikka wrote:
On 2014-07-18 23:11:49 +0000, Damian Kaczmarek wrote:
On 2014-07-19 16:52:45 +0000, Melker Narikka wrote:
On 2016-04-03 00:33:50 +0000, Roberto Prieto wrote:
On 2016-04-03 00:44:32 +0000, Roberto Prieto wrote:
On 2017-08-14 05:50:41 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: