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.2 by nigel, 2002-05-30T12:43:32Z vs.
Revision 1.6 by nigel, 2003-03-21T06:14:22Z

# Line 23 | Line 23
23   #import <video.h>
24  
25   /* Set the strategy for drawing the bitmap in the Mac OS X window */
26 < //#define CGIMAGEREF            15.05fps
27 < //#define CGDRAWBITMAP          15.2fps
28 < #define NSBITMAP                        15.1fps
26 > //#define CGDRAWBITMAP
27 > #define CGIMAGEREF
28 > //#define NSBITMAP
29 >
30 > // Using Core Graphics is fastest when rendering 32bit data. Rendering CGImageRefs
31 > // allows us to use all the bitmaps that BasiliskII supports. When both Basilisk II
32 > // and OS X are set to 'Thousands', it can achieve over 500fps in a 312x342 window!
33 >
34 > /* When the BasiliskII video driver respects the alpha bits, set this to let us use */
35 > /* kCGImageAlphaPremultipliedFirst, and to have nice rounded corners on the screen. */
36 > //#define CG_USE_ALPHA
37 > /* At the moment, it writes in the fill 32bits :-( */
38 >
39  
40   #define MIN_WIDTH       512
41 < #define MIN_HEIGHT      342
41 > #define MIN_HEIGHT      384
42 > #define MIN_HEIGHTC     342             // For classic emulation
43  
44   #define MAX_WIDTH       1240
45   #define MAX_HEIGHT      1024
# Line 46 | Line 57 | extern uint8   display_type,
57                                  frame_skip;
58   extern  uint16  init_width,
59                                  init_height,
60 <                                init_depth,
50 <                                screen_height;
60 >                                init_depth;
61  
52 extern  uint8   bits_from_depth         (const video_depth);
62   extern  bool    parse_screen_prefs      (const char *);
63   extern  void    resizeWinTo                     (const uint16, const uint16);
64  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines