OpenGL-Specific Options


gl_forcepow2texture
Description This option forces Mame's OpenGL renderer to only use textures that are sized by the power of two.
Full Command -gl_forcepow2texture
Alt. Command none
Reverse Command -nogl_forcepow2texture
Example mame64 pacman -video opengl -gl_forcepow2texture
Mame.ini Command gl_forcepow2texture
Command Default 0
Argument Format none

gl_notexturerect
Description This option forces Mame's OpenGL renderer to not use the GL_ARB_texture_rectangle command.
Full Command -gl_notexturerect
Alt. Command none
Reverse Command -nogl_notexturerect
Example mame64 pacman -video opengl -gl_notexturerect
Mame.ini Command gl_notexturerect
Command Default 0
Argument Format none

gl_vbo
Description This option forces Mame's OpenGL renderer to use Vertex Buffer Objects to store information.
Full Command -gl_vbo
Alt. Command none
Reverse Command -nogl_vbo
Example mame64 pacman -video opengl -nogl_vbo
Mame.ini Command gl_vbo
Command Default 1
Argument Format none

gl_pbo
Description This option forces Mame's OpenGL renderer to use Pixel Buffer Objects to store information.
Full Command -gl_pbo
Alt. Command none
Reverse Command -nogl_pbo
Example mame64 pacman -video opengl -nogl_pbo
Mame.ini Command gl_pbo
Command Default 1
Argument Format none

gl_glsl
Description This option enables Mame's OpenGL shader language sub-system to increase performance and allow special screen rendering effects.
Full Command -gl_glsl
Alt. Command none
Reverse Command -nogl_glsl
Example mame64 pacman -video opengl -gl_glsl
Mame.ini Command gl_glsl
Command Default 0
Argument Format none

gl_glsl_filter
Description This option enables Mame's OpenGL shader language bitmap texture filter. 0 is plain and 1 is bilinear filtering.
Full Command -gl_glsl_filter <integer>
Alt. Command none
Reverse Command none
Example mame64 pacman -video opengl -gl_glsl -gl_glsl_filter 0
Mame.ini Command gl_glsl_filter
Command Default 1
Argument Format <integer>

glsl_shader_mame(0-9)
Description This option adds an OpenGL GLSL shader effect to the internal system screen drawn by Mame. Some help and examples can be found here.
Full Command -glsl_shader_mame<integer> <file>
Alt. Command none
Reverse Command none
Example mame64 pacman -video opengl -glsl -glsl_shader_mame0 gaussx -glsl_shader_mame1 gaussy -glsl_shader_mame2 CRT-geom-halation
Mame.ini Command glsl_shader_mame(0-9)
Command Default none
Argument Format <integer> <file>

glsl_shader_screen(0-9)
Description This option adds an OpenGL GLSL shader effect to the whole scaled up output screen rendered by your graphics card. Some help and examples can be found here.
Full Command -glsl_shader_screen<integer> <file>
Alt. Command none
Reverse Command none
Example mame64 pacman -video opengl -glsl -glsl_shader_screen0 gaussx -glsl_shader_screen1 gaussy -glsl_shader_screen2 CRT-geom-halation
Mame.ini Command glsl_shader_screen(0-9)
Command Default none
Argument Format <integer> <file>