summaryrefslogtreecommitdiffstats
path: root/options/m_option.c
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2016-04-12 15:55:48 +0200
committerwm4 <wm4@nowhere>2016-04-12 16:26:53 +0200
commite3e03d0f34de86085d18f92a3dceab337c3220b6 (patch)
tree169b28ddfa12e9fc938c8748d3372da77cd8b9bc /options/m_option.c
parentf4142ab9ad1d929b60ff134754f482754b63043a (diff)
downloadmpv-e3e03d0f34de86085d18f92a3dceab337c3220b6.tar.bz2
mpv-e3e03d0f34de86085d18f92a3dceab337c3220b6.tar.xz
vo_opengl: simplify and improve up scale=oversample
Since what we're doing is a linear blend of the four colors, we can just do it for free by using GPU sampling. This requires significantly fewer texture fetches and calculations to compute the final color, making it much more efficient. The code is also much shorter and simpler.
Diffstat (limited to 'options/m_option.c')
0 files changed, 0 insertions, 0 deletions