3 |
|
* |
4 |
|
* $Id$ |
5 |
|
* |
6 |
< |
* Basilisk II (C) 1997-2004 Christian Bauer |
6 |
> |
* Basilisk II (C) 1997-2005 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 |
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! |
30 |
> |
// Using Core Graphics is fastest when rendering 32bit data. |
31 |
> |
// Using CGImageRefs allows us to use all the bitmaps that BasiliskII supports. |
32 |
> |
// When both Basilisk II and OS X are set to 'Thousands', updating a 312x342 |
33 |
> |
// window happens at over 500fps under 10.2, and over 600fps on 10.3! |
34 |
|
|
35 |
|
/* When the BasiliskII video driver respects the alpha bits, set this to let us use */ |
36 |
|
/* kCGImageAlphaPremultipliedFirst, and to have nice rounded corners on the screen. */ |
37 |
|
//#define CG_USE_ALPHA |
38 |
< |
/* At the moment, it writes in the fill 32bits :-( */ |
38 |
> |
/* At the moment, it writes in the full 32bits :-( */ |
39 |
|
|
40 |
|
|
41 |
|
#define MIN_WIDTH 512 |