summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/utils.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-22 16:33:25 +0200
committerNiklas Haas <git@haasn.xyz>2017-09-22 16:33:25 +0200
commit2af2fa7a27586f6938f4db8f45e316212e18e442 (patch)
tree134a5cbf5707afecc09434257ffb1054204f8703 /video/out/gpu/utils.h
parentfab0448c5ebb163daf5a116eef6eb4c8596071d7 (diff)
downloadmpv-2af2fa7a27586f6938f4db8f45e316212e18e442.tar.bz2
mpv-2af2fa7a27586f6938f4db8f45e316212e18e442.tar.xz
vo_gpu: kill off FBOTEX_FUZZY
I've observed the garbage pixels in more scenarios. They also were never really needed to begin with, originally being a discovered work-around for bug that we fixed since then anyway. Doesn't really seem to even help resizing, since the OpenGL drivers are all smart enough to pool resources internally anyway. Fixes #1814
Diffstat (limited to 'video/out/gpu/utils.h')
-rw-r--r--video/out/gpu/utils.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/gpu/utils.h b/video/out/gpu/utils.h
index 04695f8085..9a52246ae7 100644
--- a/video/out/gpu/utils.h
+++ b/video/out/gpu/utils.h
@@ -101,10 +101,7 @@ struct fbotex {
void fbotex_uninit(struct fbotex *fbo);
bool fbotex_change(struct fbotex *fbo, struct ra *ra, struct mp_log *log,
- int w, int h, const struct ra_format *fmt, int flags);
-#define FBOTEX_FUZZY_W 1
-#define FBOTEX_FUZZY_H 2
-#define FBOTEX_FUZZY (FBOTEX_FUZZY_W | FBOTEX_FUZZY_H)
+ int w, int h, const struct ra_format *fmt);
// A wrapper around ra_timer that does result pooling, averaging etc.
struct timer_pool;