Dropped ddraw renderer (nw)

This commit is contained in:
Miodrag Milanovic 2016-02-17 09:57:26 +01:00
parent c1aac01a96
commit a661821aa5
6 changed files with 0 additions and 1336 deletions

File diff suppressed because it is too large Load Diff

View File

@ -181,9 +181,6 @@ struct osd_video_config
int fullstretch; // FXIME: implement in windows!
// ddraw options
int hwstretch; // stretch using the hardware
// d3d, accel, opengl
int filter; // enable filtering
//int filter; // enable filtering, disabled if glsl_filter>0

View File

@ -373,8 +373,6 @@ void windows_osd_interface::extract_video_config()
video_config.mode = VIDEO_MODE_D3D;
else if (strcmp(stemp, "auto") == 0)
video_config.mode = VIDEO_MODE_D3D;
else if (strcmp(stemp, "ddraw") == 0)
video_config.mode = VIDEO_MODE_DDRAW;
else if (strcmp(stemp, "gdi") == 0)
video_config.mode = VIDEO_MODE_GDI;
else if (strcmp(stemp, "bgfx") == 0)
@ -399,9 +397,6 @@ void windows_osd_interface::extract_video_config()
video_config.triplebuf = options().triple_buffer();
video_config.switchres = options().switch_res();
// ddraw options: extract the data
video_config.hwstretch = options().hwstretch();
if (video_config.prescale < 1 || video_config.prescale > 3)
{
osd_printf_warning("Invalid prescale option, reverting to '1'\n");

View File

@ -21,7 +21,6 @@
enum {
VIDEO_MODE_NONE,
VIDEO_MODE_GDI,
VIDEO_MODE_DDRAW,
VIDEO_MODE_BGFX,
#if (USE_OPENGL)
VIDEO_MODE_OPENGL,
@ -178,9 +177,6 @@ struct osd_video_config
int fullstretch; // FXIME: implement in windows!
// ddraw options
int hwstretch; // stretch using the hardware
// d3d, accel, opengl
int filter; // enable filtering
//int filter; // enable filtering, disabled if glsl_filter>0

View File

@ -36,7 +36,6 @@
extern int drawnone_init(running_machine &machine, osd_draw_callbacks *callbacks);
extern int drawgdi_init(running_machine &machine, osd_draw_callbacks *callbacks);
extern int drawdd_init(running_machine &machine, osd_draw_callbacks *callbacks);
extern int drawd3d_init(running_machine &machine, osd_draw_callbacks *callbacks);
extern int drawbgfx_init(running_machine &machine, osd_draw_callbacks *callbacks);
#if (USE_OPENGL)
@ -219,11 +218,6 @@ bool windows_osd_interface::window_init()
if (drawd3d_init(machine(), &draw))
video_config.mode = VIDEO_MODE_GDI;
}
if (video_config.mode == VIDEO_MODE_DDRAW)
{
if (drawdd_init(machine(), &draw))
video_config.mode = VIDEO_MODE_GDI;
}
if (video_config.mode == VIDEO_MODE_GDI)
drawgdi_init(machine(), &draw);
if (video_config.mode == VIDEO_MODE_BGFX)

View File

@ -526,7 +526,6 @@ windows_osd_interface::~windows_osd_interface()
void windows_osd_interface::video_register()
{
video_options_add("gdi", NULL);
video_options_add("ddraw", NULL);
video_options_add("d3d", NULL);
video_options_add("bgfx", NULL);
//video_options_add("auto", NULL); // making d3d video default one