Sat, 21 Nov 2009 08:42:42 +0000Added support for QNX default font. Backspace and Return keys now handled.
Mike Gorchak <lestat@i.com.ua> [Sat, 21 Nov 2009 08:42:42 +0000] rev 3478
Added support for QNX default font. Backspace and Return keys now handled.

Sat, 21 Nov 2009 07:59:19 +0000We want to be strict on software renderer tests and opaque tests, but give a decent margin for blending inaccuracy for the blended tests.
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Nov 2009 07:59:19 +0000] rev 3477
We want to be strict on software renderer tests and opaque tests, but give a decent margin for blending inaccuracy for the blended tests.

Sat, 21 Nov 2009 07:46:12 +0000Increased tolerance a little bit more for multiple blending passes accumulating error.
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Nov 2009 07:46:12 +0000] rev 3476
Increased tolerance a little bit more for multiple blending passes accumulating error.

Sat, 21 Nov 2009 07:26:52 +0000Added comment for pixel-perfect line workaround.
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Nov 2009 07:26:52 +0000] rev 3475
Added comment for pixel-perfect line workaround.

Sat, 21 Nov 2009 07:22:59 +0000Of COURSE that trick wouldn't work on all renderers. Fall back to something for now, hopefully figure out a better way to do this later.
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Nov 2009 07:22:59 +0000] rev 3474
Of COURSE that trick wouldn't work on all renderers. Fall back to something for now, hopefully figure out a better way to do this later.

If we have to, we can use vertical line and horizontal line textures for vertical and horizontal lines, and then create custom textures for diagonal lines and software render those. It's terrible, but at least it would be pixel perfect.

Sat, 21 Nov 2009 07:14:21 +0000This is terrible, but the OpenGL standard says that lines are half open, which means that one endpoint is not covered so adjoining lines don't overlap. It also doesn't define which end is open, and indeed Mac OS X and Linux differ. Mac OS X seems to leave the second endpoint open, but Linux uses the right-most endpoint for x major lines and the bottom-most endpoint for y major lines.
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Nov 2009 07:14:21 +0000] rev 3473
This is terrible, but the OpenGL standard says that lines are half open, which means that one endpoint is not covered so adjoining lines don't overlap. It also doesn't define which end is open, and indeed Mac OS X and Linux differ. Mac OS X seems to leave the second endpoint open, but Linux uses the right-most endpoint for x major lines and the bottom-most endpoint for y major lines.

Sat, 21 Nov 2009 06:34:43 +0000Fixed the coordinates for pixel coverage in blits
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Nov 2009 06:34:43 +0000] rev 3472
Fixed the coordinates for pixel coverage in blits

Sat, 21 Nov 2009 06:28:25 +0000Use 45 degree lines for the diagonal test to avoid aliasing errors in line drawing.
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Nov 2009 06:28:25 +0000] rev 3471
Use 45 degree lines for the diagonal test to avoid aliasing errors in line drawing.

Sat, 21 Nov 2009 06:19:34 +0000It's not the last pixel, it's the rightmost pixel, or if they're both the same x coordinate, the bottommost pixel.
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Nov 2009 06:19:34 +0000] rev 3470
It's not the last pixel, it's the rightmost pixel, or if they're both the same x coordinate, the bottommost pixel.

Sat, 21 Nov 2009 06:17:50 +0000RenderReadPixels and RenderWritePixels functions work with back buffer now and all asynchronous operations are flushed before reading or writing to backbuffer. Thanks Sam for clarification of this.
Mike Gorchak <lestat@i.com.ua> [Sat, 21 Nov 2009 06:17:50 +0000] rev 3469
RenderReadPixels and RenderWritePixels functions work with back buffer now and all asynchronous operations are flushed before reading or writing to backbuffer. Thanks Sam for clarification of this.