annotate mangle.h @ 10578:b9d289fd8a57
10000l, the old code was slow as hell, copying stuff extra times and
actually broken -- blanking the whole screen at each 'page flip' with
-dr enabled. benchmarks:
before:
56% cpu for decode
56% cpu for vo with no -dr
25% cpu for vo with -dr
after:
56% cpu for decode
25% cpu for vo without -dr
0% cpu for vo with -dr
if vo_fbdev is going to do pageflip, it needs to do it for REAL, using
vertical scroll registers (like g2), not copying a temp buffer (which
will shear anyway and is super-slow).
author |
rfelker |
date |
Tue, 12 Aug 2003 08:24:24 +0000 |
parents |
4e2d477981e2 |
children |
7b408d60de9e |
rev |
line source |
4243
|
1 /* mangle.h - This file has some CPP macros to deal with different symbol
|
|
2 * mangling across binary formats.
|
|
3 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
|
|
4 * File licensed under the GPL, see http://www.fsf.org/ for more info.
|
|
5 */
|
|
6
|
|
7 #ifndef __MANGLE_H
|
|
8 #define __MANGLE_H
|
|
9
|
|
10 /* Feel free to add more to the list, eg. a.out IMO */
|
9762
|
11 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
|
8249
|
12 (defined(__OpenBSD__) && !defined(__ELF__))
|
4243
|
13 #define MANGLE(a) "_" #a
|
|
14 #else
|
|
15 #define MANGLE(a) #a
|
|
16 #endif
|
|
17
|
|
18 #endif /* !__MANGLE_H */
|
|
19
|