ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/video_x.cpp
(Generate patch)

Comparing SheepShaver/src/Unix/video_x.cpp (file contents):
Revision 1.47 by gbeauche, 2006-05-13T17:12:18Z vs.
Revision 1.48 by gbeauche, 2006-05-14T08:32:33Z

# Line 2557 | Line 2557 | static void *redraw_func(void *arg)
2557  
2558   void video_set_dirty_area(int x, int y, int w, int h)
2559   {
2560 <        // TBD
2560 >        VideoInfo const & mode = VModes[cur_mode];
2561 >        const int screen_width = VIDEO_MODE_X;
2562 >        const int screen_height = VIDEO_MODE_Y;
2563 >        const int bytes_per_row = VIDEO_MODE_ROW_BYTES;
2564 >
2565 > #ifdef ENABLE_VOSF
2566 >        if (use_vosf) {
2567 >                vosf_set_dirty_area(x, y, w, h, screen_width, screen_height, bytes_per_row);
2568 >                return;
2569 >        }
2570 > #endif
2571 >
2572 >        // XXX handle dirty bounding boxes for non-VOSF modes
2573   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines