Rendering rewrite for aspect correction and vga vertical stretching
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1411
This commit is contained in:
parent
7b36937c81
commit
a1e279829b
6 changed files with 302 additions and 785 deletions
|
@ -23,23 +23,13 @@ enum RENDER_Operation {
|
|||
OP_Shot,
|
||||
OP_Normal2x,
|
||||
OP_AdvMame2x,
|
||||
OP_Blit,
|
||||
};
|
||||
|
||||
enum {
|
||||
DoubleNone= 0x00,
|
||||
DoubleWidth= 0x01,
|
||||
DoubleHeight= 0x02,
|
||||
DoubleBoth= 0x03
|
||||
};
|
||||
|
||||
|
||||
|
||||
typedef void (* RENDER_Part_Handler)(Bit8u * src,Bitu x,Bitu y,Bitu dx,Bitu dy);
|
||||
typedef void (* RENDER_Draw_Handler)(RENDER_Part_Handler part_handler);
|
||||
|
||||
void RENDER_DoUpdate(void);
|
||||
|
||||
void RENDER_SetSize(Bitu width,Bitu height,Bitu bpp,Bitu pitch,float ratio,Bitu flags,RENDER_Draw_Handler draw_handler);
|
||||
void RENDER_SetSize(Bitu width,Bitu height,Bitu bpp,Bitu pitch,double ratio,Bitu scalew,Bitu scaleh,RENDER_Draw_Handler draw_handler);
|
||||
|
||||
void RENDER_SetPal(Bit8u entry,Bit8u red,Bit8u green,Bit8u blue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue