~ubuntu-branches/ubuntu/maverick/vice/maverick

« back to all changes in this revision

Viewing changes to src/video.h

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2005-02-01 11:30:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050201113026-3eyakzsmmheclvjg
Tags: 1.16-1
* New upstream version
* Fixes crash on 64-bit architectures (closes: #287640)
* x128 working again (closes: #286767)
* Works fine with /dev/dsp in use (not in the main changelog, but tested
  on my local machine as working).  Presumably, this also takes care of
  the issue with dsp being held.  I'm not sure if this is because I'm
  testing it on a 2.6 kernel now -- if you are still having problems
  with /dev/dsp, please reopen the bugs. (closes: #152952, #207942)
* Don't kill Makefile.in on clean

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#define _VIDEO_H
29
29
 
30
30
#include "types.h"
31
 
#include "viewport.h"
32
31
 
33
32
 
34
33
/* These constants are used to configure the video output.  */
98
97
    unsigned int dsize_limit_width;
99
98
    unsigned int dsize_limit_height;
100
99
    unsigned int dscan_allowed;
 
100
    unsigned int hwscale_allowed;
101
101
    unsigned int scale2x_allowed;
102
102
    unsigned int internal_palette_allowed;
103
103
    unsigned int palemulation_allowed;
114
114
    int doublesizex;               /* Doublesizex enabled?  */
115
115
    int doublesizey;               /* Doublesizey enabled?  */
116
116
    int doublescan;                /* Doublescan enabled?  */
 
117
    int hwscale;                   /* Hardware scaling enabled? */
117
118
    int scale2x;                   /* Scale2x enabled?  */
118
119
    DWORD physical_colors[256];
119
120
    unsigned int external_palette; /* Use an external palette?  */
168
169
extern void video_viewport_resize(struct video_canvas_s *canvas);
169
170
extern void video_viewport_title_set(struct video_canvas_s *canvas,
170
171
                                     const char *title);
171
 
extern void video_viewport_title_free(viewport_t *viewport);
 
172
extern void video_viewport_title_free(struct viewport_s *viewport);
172
173
 
173
174
typedef struct video_draw_buffer_callback_s {
174
175
    int (*draw_buffer_alloc)(struct video_canvas_s *canvas, BYTE **draw_buffer,