Mercurial > sdl-ios-xcode
annotate src/main/beos/exports/SDL.exp @ 689:5bb080d35049
Date: Tue, 19 Aug 2003 17:57:00 +0200
From: Stephane Marchesin
Subject: Re: [SDL] [patch] MMX alpha blit patches with MMX detection
I think everything is correct now. I've done as much testing as I could,
but some real-world testing wouldn't hurt, I think.
The patch is here : http://icps.u-strasbg.fr/~marchesin/sdl_mmxblit.patch
If you do byte-by-byte comparison of the output between C and MMX
functions, you'll notice that the results for 555 and 565 RGB alpha
blits aren't exactly the same. This is because MMX functions for 555 and
565 RGB have an higher accuracy. If you want the exact same behaviour
that's possible by masking the three lower alpha bits in the MMX
functions. Just ask !
I removed one MMX function because after I fixed it to match its C
equivalent, it revealed to be slower than the C version on a PIII
(although a bit faster on an Athlon XP).
I've also added MMX and PIII replacements for SDL_memcpy. Those provide
some speed up in testvidinfo -benchmark (at least for me, under linux &
X11).
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 22 Aug 2003 05:51:19 +0000 |
parents | 12a21d82a060 |
children | 51b5e0be61c3 |
rev | line source |
---|---|
0 | 1 _SDL_Init |
2 _SDL_InitSubSystem | |
3 _SDL_QuitSubSystem | |
4 _SDL_WasInit | |
5 _SDL_Quit | |
6 _SDL_GetAppState | |
7 _SDL_AudioInit | |
8 _SDL_AudioQuit | |
9 _SDL_AudioDriverName | |
10 _SDL_OpenAudio | |
11 _SDL_GetAudioStatus | |
12 _SDL_PauseAudio | |
13 _SDL_LoadWAV_RW | |
14 _SDL_FreeWAV | |
15 _SDL_BuildAudioCVT | |
16 _SDL_ConvertAudio | |
17 _SDL_MixAudio | |
18 _SDL_LockAudio | |
19 _SDL_UnlockAudio | |
20 _SDL_CloseAudio | |
21 _SDL_CDNumDrives | |
22 _SDL_CDName | |
23 _SDL_CDOpen | |
24 _SDL_CDStatus | |
25 _SDL_CDPlayTracks | |
26 _SDL_CDPlay | |
27 _SDL_CDPause | |
28 _SDL_CDResume | |
29 _SDL_CDStop | |
30 _SDL_CDEject | |
31 _SDL_CDClose | |
32 _SDL_ReadLE16 | |
33 _SDL_ReadBE16 | |
34 _SDL_ReadLE32 | |
35 _SDL_ReadBE32 | |
36 _SDL_ReadLE64 | |
37 _SDL_ReadBE64 | |
38 _SDL_WriteLE16 | |
39 _SDL_WriteBE16 | |
40 _SDL_WriteLE32 | |
41 _SDL_WriteBE32 | |
42 _SDL_WriteLE64 | |
43 _SDL_WriteBE64 | |
44 _SDL_SetError | |
45 _SDL_GetError | |
46 _SDL_ClearError | |
47 _SDL_PumpEvents | |
48 _SDL_PeepEvents | |
49 _SDL_PollEvent | |
50 _SDL_WaitEvent | |
51 _SDL_PushEvent | |
52 _SDL_SetEventFilter | |
53 _SDL_GetEventFilter | |
54 _SDL_EventState | |
55 _SDL_NumJoysticks | |
56 _SDL_JoystickName | |
57 _SDL_JoystickOpen | |
58 _SDL_JoystickOpened | |
59 _SDL_JoystickIndex | |
60 _SDL_JoystickNumAxes | |
61 _SDL_JoystickNumBalls | |
62 _SDL_JoystickNumHats | |
63 _SDL_JoystickNumButtons | |
64 _SDL_JoystickUpdate | |
65 _SDL_JoystickEventState | |
66 _SDL_JoystickGetAxis | |
67 _SDL_JoystickGetHat | |
68 _SDL_JoystickGetBall | |
69 _SDL_JoystickGetButton | |
70 _SDL_JoystickClose | |
71 _SDL_EnableUNICODE | |
72 _SDL_EnableKeyRepeat | |
73 _SDL_GetKeyState | |
74 _SDL_GetModState | |
75 _SDL_SetModState | |
76 _SDL_GetKeyName | |
648
12a21d82a060
Exposed SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() APIs
Sam Lantinga <slouken@libsdl.org>
parents:
296
diff
changeset
|
77 _SDL_LoadObject |
12a21d82a060
Exposed SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() APIs
Sam Lantinga <slouken@libsdl.org>
parents:
296
diff
changeset
|
78 _SDL_LoadFunction |
12a21d82a060
Exposed SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() APIs
Sam Lantinga <slouken@libsdl.org>
parents:
296
diff
changeset
|
79 _SDL_UnloadObject |
292
eadc0746dfaf
Added SDL_LockRect() and SDL_UnlockRect()
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
80 _SDL_SetModuleHandle |
0 | 81 _SDL_RegisterApp |
82 _SDL_InitQuickDraw | |
83 _SDL_GetMouseState | |
84 _SDL_GetRelativeMouseState | |
85 _SDL_WarpMouse | |
86 _SDL_CreateCursor | |
87 _SDL_SetCursor | |
88 _SDL_GetCursor | |
89 _SDL_FreeCursor | |
90 _SDL_ShowCursor | |
91 _SDL_CreateMutex | |
92 _SDL_mutexP | |
93 _SDL_mutexV | |
94 _SDL_DestroyMutex | |
95 _SDL_CreateSemaphore | |
96 _SDL_DestroySemaphore | |
97 _SDL_SemWait | |
98 _SDL_SemTryWait | |
99 _SDL_SemWaitTimeout | |
100 _SDL_SemPost | |
101 _SDL_SemValue | |
102 _SDL_CreateCond | |
103 _SDL_DestroyCond | |
104 _SDL_CondSignal | |
105 _SDL_CondBroadcast | |
106 _SDL_CondWait | |
107 _SDL_CondWaitTimeout | |
108 _SDL_RWFromFile | |
109 _SDL_RWFromFP | |
110 _SDL_RWFromMem | |
111 _SDL_AllocRW | |
112 _SDL_FreeRW | |
113 _SDL_GetWMInfo | |
114 _SDL_CreateThread | |
115 _SDL_ThreadID | |
116 _SDL_GetThreadID | |
117 _SDL_WaitThread | |
118 _SDL_KillThread | |
119 _SDL_GetTicks | |
120 _SDL_Delay | |
121 _SDL_SetTimer | |
122 _SDL_AddTimer | |
123 _SDL_RemoveTimer | |
124 _SDL_Linked_Version | |
125 _SDL_VideoInit | |
126 _SDL_VideoQuit | |
127 _SDL_VideoDriverName | |
128 _SDL_GetVideoSurface | |
129 _SDL_GetVideoInfo | |
130 _SDL_VideoModeOK | |
131 _SDL_ListModes | |
132 _SDL_SetVideoMode | |
133 _SDL_UpdateRects | |
134 _SDL_UpdateRect | |
135 _SDL_Flip | |
136 _SDL_SetGamma | |
137 _SDL_SetGammaRamp | |
138 _SDL_GetGammaRamp | |
139 _SDL_SetColors | |
140 _SDL_SetPalette | |
141 _SDL_MapRGB | |
142 _SDL_MapRGBA | |
143 _SDL_GetRGB | |
144 _SDL_GetRGBA | |
145 _SDL_CreateRGBSurface | |
146 _SDL_CreateRGBSurfaceFrom | |
147 _SDL_FreeSurface | |
148 _SDL_LockSurface | |
149 _SDL_UnlockSurface | |
150 _SDL_LoadBMP_RW | |
151 _SDL_SaveBMP_RW | |
152 _SDL_SetColorKey | |
153 _SDL_SetAlpha | |
154 _SDL_SetClipRect | |
155 _SDL_GetClipRect | |
156 _SDL_ConvertSurface | |
157 _SDL_UpperBlit | |
158 _SDL_LowerBlit | |
159 _SDL_FillRect | |
160 _SDL_DisplayFormat | |
161 _SDL_DisplayFormatAlpha | |
162 _SDL_CreateYUVOverlay | |
163 _SDL_LockYUVOverlay | |
164 _SDL_UnlockYUVOverlay | |
165 _SDL_DisplayYUVOverlay | |
166 _SDL_FreeYUVOverlay | |
167 _SDL_GL_LoadLibrary | |
168 _SDL_GL_GetProcAddress | |
169 _SDL_GL_SetAttribute | |
170 _SDL_GL_GetAttribute | |
171 _SDL_GL_SwapBuffers | |
172 _SDL_GL_UpdateRects | |
173 _SDL_GL_Lock | |
174 _SDL_GL_Unlock | |
175 _SDL_WM_SetCaption | |
176 _SDL_WM_GetCaption | |
177 _SDL_WM_SetIcon | |
178 _SDL_WM_IconifyWindow | |
179 _SDL_WM_ToggleFullScreen | |
180 _SDL_WM_GrabInput | |
292
eadc0746dfaf
Added SDL_LockRect() and SDL_UnlockRect()
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
181 _SDL_SoftStretch |