diff options
-rw-r--r-- | config.c | 6 | ||||
-rw-r--r-- | config.h | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.c,v 1.90 2010-05-21 12:44:22 phintuka Exp $ + * $Id: config.c,v 1.91 2010-05-26 11:53:13 phintuka Exp $ * */ @@ -569,6 +569,8 @@ config_t::config_t() { osd_scaling = OSD_SCALING_NEAREST; osd_spu_scaling = OSD_SCALING_NEAREST; hud_osd = 0; + opengl_always = 0; + opengl_hud = 0; osd_blending = OSD_BLENDING_SOFTWARE; osd_blending_lowresvideo = OSD_BLENDING_HARDWARE; @@ -792,6 +794,8 @@ bool config_t::SetupParse(const char *Name, const char *Value) else if (!strcasecmp(Name, "X11.WindowHeight")) height = atoi(Value); else if (!strcasecmp(Name, "X11.UseKeyboard")) use_x_keyboard = atoi(Value); else if (!strcasecmp(Name, "X11.HUDOSD")) hud_osd = atoi(Value); + else if (!strcasecmp(Name, "X11.OpenglAlways")) opengl_always = atoi(Value); + else if (!strcasecmp(Name, "X11.OpenglHUDOSD")) opengl_hud = atoi(Value); else if (!strcasecmp(Name, "Audio.Driver")) STRN0CPY(audio_driver, Value); else if (!strcasecmp(Name, "Audio.Port")) STRN0CPY(audio_port, Value); @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.h,v 1.69 2010-03-12 23:00:26 phintuka Exp $ + * $Id: config.h,v 1.70 2010-05-26 11:53:13 phintuka Exp $ * */ @@ -311,6 +311,8 @@ class config_t { int osd_scaling; // OSD scaling mode: off, nearest, bilinear int osd_spu_scaling; // SPU OSD scaling mode: off, nearest, bilinear int hud_osd; // head up display OSD + int opengl_always; // use opengl acceleration for video and HUD OSD + int opengl_hud; // use opengl acceleration for HUD OSD only int osd_blending; // OSD blending method int osd_blending_lowresvideo; // Use hardware blending for low-resolution video int alpha_correction; |