annotate test/.cvsignore @ 1544:ab1e4c41ab71

Fixed bug #33 Mike Frysinger wrote: > with libsdl-1.2.9, some games (like bomberclone) started > segfaulting in Gentoo [...snip...] > the last change in the last hunk: [...snip...] > if i change the statement to read: > (table[which].blit_features & GetBlitFeatures()) == GetBlitFeatures() > bomberclone no longer segfaults on my box Alex Volkov wrote: > The test "(table[which].blit_features & GetBlitFeatures()) == > table[which].blit_features)" is correct, and the previous > "(table[which].cpu_mmx == SDL_HasMMX())" was actually broken. I think there is potentially a slightly different cause of the above problem. During the introduction of the Altivec code, the blit_table struct field 'alpha' got changed from a straightforward enum to a bitmask, which makes perfect sense by itself. However, now the table driven blitter selection code in SDL_CalculateBlitN() can choose the wrong blitters when searching for a NO_ALPHA blitter because of the following code: int a_need = 0; ... (a_need & table[which].alpha) == a_need && When searching through the normal_blit_2[] table, a SET_ALPHA blitter (like Blit_RGB565_ARGB8888) can now be selected instead of a NO_ALPHA one, causing alpha channel bits to appear in a non-alpha destination surface. I suppose this could theoretically be an indirect cause of the segfault mentioned above. I *think* this can be fixed by changing to int a_need = NO_ALPHA;
author Sam Lantinga <slouken@libsdl.org>
date Wed, 15 Mar 2006 15:47:49 +0000
parents 7b4b31075f67
children
rev   line source
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents: 1285
diff changeset
1 aclocal.m4
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents: 1285
diff changeset
2 autom4te*
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
3 config.cache
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
4 config.log
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
5 config.status
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents: 1285
diff changeset
6 configure
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents: 1285
diff changeset
7 Makefile
1285
c9ae23d221ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1249
diff changeset
8 SDL.dll
c9ae23d221ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1249
diff changeset
9 stdout.txt
c9ae23d221ea *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1249
diff changeset
10 stderr.txt
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
11 checkkeys
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
12 graywin
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
13 loopwave
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
14 testalpha
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
15 testbitmap
1249
e6a82dcdce09 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 817
diff changeset
16 testblitspeed
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
17 testcdrom
1249
e6a82dcdce09 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 817
diff changeset
18 testdyngl
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
19 testerror
1484
b2b476a4a73c Added documentation on how to build a completely useless SDL library. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1380
diff changeset
20 testfile
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
21 testgamma
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
22 testgl
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
23 testhread
1504
7b4b31075f67 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1485
diff changeset
24 testiconv
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
25 testjoystick
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
26 testkeys
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
27 testlock
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
28 testoverlay
676
8b58eeef4576 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 416
diff changeset
29 testoverlay2
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
30 testpalette
1484
b2b476a4a73c Added documentation on how to build a completely useless SDL library. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1380
diff changeset
31 testplatform
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
32 testsem
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
33 testsprite
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
34 testtimer
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
35 testver
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
36 testvidinfo
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
37 testwin
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
38 testwm
1485
e507811313ee *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1484
diff changeset
39 threadwin
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents: 1285
diff changeset
40 torturethread