ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/include/video.h
(Generate patch)

Comparing SheepShaver/src/include/video.h (file contents):
Revision 1.4 by gbeauche, 2004-04-13T22:22:22Z vs.
Revision 1.14 by gbeauche, 2008-01-01T09:47:39Z

# Line 1 | Line 1
1   /*
2   *  video.h - Video/graphics emulation
3   *
4 < *  SheepShaver (C) 1997-2004 Marc Hellwig and Christian Bauer
4 > *  SheepShaver (C) 1997-2008 Marc Hellwig and Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 24 | Line 24
24   extern bool VideoActivated(void);
25   extern bool VideoSnapshot(int xsize, int ysize, uint8 *p);
26  
27 < extern int16 VideoDoDriverIO(void *spaceID, void *commandID, void *commandContents, uint32 commandCode, uint32 commandKind);
27 > extern int16 VideoDoDriverIO(uint32 spaceID, uint32 commandID, uint32 commandContents, uint32 commandCode, uint32 commandKind);
28  
29   // System specific and internal functions/data
30   struct VideoInfo {
# Line 90 | Line 90 | enum { // viAppleID
90          APPLE_1152x900,
91          APPLE_1280x1024,
92          APPLE_1600x1200,
93 +        APPLE_CUSTOM,
94          APPLE_ID_MIN = APPLE_640x480,
95 <        APPLE_ID_MAX = APPLE_1600x1200
95 >        APPLE_ID_MAX = APPLE_CUSTOM
96   };
97  
98   enum {  // Display type
# Line 108 | Line 109 | extern rgb_color mac_pal[256];
109   extern uint8 remap_mac_be[256];
110   extern uint8 MacCursor[68];
111  
111 struct GammaTbl;
112
112   struct VidLocals{
113          uint16  saveMode;
114          uint32  saveData;
115          uint16  savePage;
116          uint32  saveBaseAddr;
117 <        GammaTbl *gammaTable;           // Current gamma table
117 >        uint32  gammaTable;                     // Mac address of gamma tble
118          uint32  maxGammaTableSize;      // Biggest gamma table allocated
119          uint32  saveVidParms;
120          bool    luminanceMapping;       // Luminance mapping on/off
# Line 125 | Line 124 | struct VidLocals{
124          uint32  cursorSet;
125          uint32  vslServiceID;           // VSL interrupt service ID
126          bool    interruptsEnabled;      // VBL interrupts on/off
127 <        uint32  regEntryID[4];
127 >        uint32  regEntryID;                     // Mac address of the service owner
128   };
129  
130   extern VidLocals *private_data; // Pointer to driver local variables (there is only one display, so this is ok)
# Line 138 | Line 137 | extern void VideoQuitFullScreen(void);
137  
138   extern void video_set_palette(void);
139   extern void video_set_cursor(void);
140 + extern bool video_can_change_cursor(void);
141   extern int16 video_mode_change(VidLocals *csSave, uint32 ParamPtr);
142 + extern void video_set_dirty_area(int x, int y, int w, int h);
143  
144   extern int16 VSLDoInterruptService(uint32 arg1);
145 < extern void NQDMisc(uint32 arg1, void *arg2);
145 > extern void NQDMisc(uint32 arg1, uintptr arg2);
146 >
147 > // Native QuickDraw acceleration callbacks
148 > extern bool NQD_sync_hook(uint32);
149 > extern bool NQD_bitblt_hook(uint32);
150 > extern bool NQD_fillrect_hook(uint32);
151 > extern bool NQD_unknown_hook(uint32);
152 > extern void NQD_bitblt(uint32);
153 > extern void NQD_invrect(uint32);
154 > extern void NQD_fillrect(uint32);
155  
156   extern bool keyfile_valid;
157  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines