ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/video_macosx.h
(Generate patch)

Comparing BasiliskII/src/MacOSX/video_macosx.h (file contents):
Revision 1.6 by nigel, 2003-03-21T06:14:22Z vs.
Revision 1.12 by gbeauche, 2008-01-01T09:40:32Z

# Line 3 | Line 3
3   *
4   *      $Id$
5   *
6 < *  Basilisk II (C) 1997-2001 Christian Bauer
6 > *  Basilisk II (C) 1997-2008 Christian Bauer
7   *
8   *  This program is free software; you can redistribute it and/or modify
9   *  it under the terms of the GNU General Public License as published by
# Line 24 | Line 24
24  
25   /* Set the strategy for drawing the bitmap in the Mac OS X window */
26   //#define CGDRAWBITMAP
27 + #if defined __i386__
28 + //#define CGIMAGEREF
29 + #define NSBITMAP
30 + #else
31   #define CGIMAGEREF
32   //#define NSBITMAP
33 + #endif
34  
35 < // Using Core Graphics is fastest when rendering 32bit data. Rendering CGImageRefs
36 < // allows us to use all the bitmaps that BasiliskII supports. When both Basilisk II
37 < // and OS X are set to 'Thousands', it can achieve over 500fps in a 312x342 window!
35 > // Using Core Graphics is fastest when rendering 32bit data.
36 > // Using CGImageRefs allows us to use all the bitmaps that BasiliskII supports.
37 > // When both Basilisk II and OS X are set to 'Thousands', updating a 312x342
38 > // window happens at over 500fps under 10.2, and over 600fps on 10.3!
39  
40   /* When the BasiliskII video driver respects the alpha bits, set this to let us use */
41   /* kCGImageAlphaPremultipliedFirst, and to have nice rounded corners on the screen. */
42   //#define CG_USE_ALPHA
43 < /* At the moment, it writes in the fill 32bits :-( */
43 > /* At the moment, it writes in the full 32bits :-( */
44  
45  
46   #define MIN_WIDTH       512

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines