diff options
author | Niklas Haas <git@nand.wakku.to> | 2016-04-12 15:55:48 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-12 16:26:53 +0200 |
commit | e3e03d0f34de86085d18f92a3dceab337c3220b6 (patch) | |
tree | 169b28ddfa12e9fc938c8748d3372da77cd8b9bc /video/out/w32_common.c | |
parent | f4142ab9ad1d929b60ff134754f482754b63043a (diff) | |
download | mpv-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 'video/out/w32_common.c')
0 files changed, 0 insertions, 0 deletions