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

Comparing SheepShaver/src/include/video_defs.h (file contents):
Revision 1.2 by cebix, 2004-01-12T15:37:23Z vs.
Revision 1.4 by gbeauche, 2004-04-18T23:03:52Z

# Line 215 | Line 215 | enum { // VDSetEntry struct
215          csCount = 6
216   };
217  
218 < struct ColorSpec {
219 <        uint16  value;
220 <        uint16  red;
221 <        uint16  green;
222 <        uint16  blue;
218 > enum {  // ColorSpec table entry
219 >        csValue = 0,
220 >        csRed = 2,
221 >        csGreen = 4,
222 >        csBlue = 6
223   };
224  
225   enum {  // VDVideoParametersInfo struct
# Line 307 | Line 307 | enum { // CursorImage struct
307   *  Structures for graphics acceleration
308   */
309  
310 < typedef void *CTabHandle;
310 > typedef uint32 CTabHandle;
311  
312   // Parameter block passed to acceleration hooks
313   struct accl_params {
# Line 324 | Line 324 | struct accl_params {
324          uint32 unknown2[3];
325  
326          uint32 src_base_addr;
327 <        uint32 src_row_bytes;
327 >        int32 src_row_bytes;
328          int16 src_bounds[4];
329          uint32 src_unknown1;
330          uint32 src_pixel_type;
# Line 337 | Line 337 | struct accl_params {
337          uint32 src_unknown4;
338  
339          uint32 dest_base_addr;
340 <        uint32 dest_row_bytes;
340 >        int32 dest_row_bytes;
341          int16 dest_bounds[4];
342          uint32 dest_unknown1;
343          uint32 dest_pixel_type;
# Line 356 | Line 356 | struct accl_params {
356  
357          uint32 unknown4[38];
358  
359 <        void (*draw_proc)(accl_params *);
359 >        uint32 draw_proc;
360          // Argument for accl_sync_hook at offset 0x4f8
361   };
362  
363   // Hook info for NQDMisc
364   struct accl_hook_info {
365 <        bool (*draw_func)(accl_params *);
366 <        bool (*sync_func)(void *);
365 >        uint32 draw_func;
366 >        uint32 sync_func;
367          uint32 code;
368   };
369  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines