mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
gl_video: add some alpha FBO formats
This commit is contained in:
parent
8099cbe9dd
commit
a0e2f7113b
@ -398,7 +398,8 @@ opengl
|
||||
Selects the internal format of textures used for FBOs. The format can
|
||||
influence performance and quality of the video output. (FBOs are not
|
||||
always used, and typically only when using extended scalers.)
|
||||
fmt can be one of: rgb, rgba, rgb8, rgb10, rgb16, rgb16f, rgb32f
|
||||
fmt can be one of: rgb, rgba, rgb8, rgb10, rgb16, rgb16f, rgb32f,
|
||||
rgba12, rgba16, rgba16f, rgba32f.
|
||||
Default: rgb.
|
||||
|
||||
gamma
|
||||
|
@ -251,7 +251,11 @@ const struct m_sub_options gl_video_conf = {
|
||||
{"rgb10", GL_RGB10},
|
||||
{"rgb16", GL_RGB16},
|
||||
{"rgb16f", GL_RGB16F},
|
||||
{"rgb32f", GL_RGB32F})),
|
||||
{"rgb32f", GL_RGB32F},
|
||||
{"rgba12", GL_RGBA12},
|
||||
{"rgba16", GL_RGBA16},
|
||||
{"rgba16f", GL_RGBA16F},
|
||||
{"rgba32f", GL_RGBA32F})),
|
||||
OPT_INTRANGE("dither-depth", dither_depth, 0, -1, 16),
|
||||
OPT_FLAG("alpha", enable_alpha, 0),
|
||||
{0}
|
||||
|
Loading…
Reference in New Issue
Block a user