[vlc-commits] direct3d11: let the GPU handle the texture border interpolation on the visible area
Steve Lhomme
git at videolan.org
Wed May 11 16:05:36 CEST 2016
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed May 11 16:01:21 2016 +0200| [2f15a3be71f882fe8d666fcb8ad46435fe4616ed] | committer: Jean-Baptiste Kempf
direct3d11: let the GPU handle the texture border interpolation on the visible area
Using a texture of the decoder size means the GPU doesn't know some pixels are
not meant to be displayed and uses that for linear interpolation (CLAMP) on
the texture borders.
Hardware decoding is not affected as it provides the textures in visible size.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2f15a3be71f882fe8d666fcb8ad46435fe4616ed
---
modules/video_output/win32/common.h | 4 +
modules/video_output/win32/direct3d11.c | 178 ++++++++++++++++++++-----------
2 files changed, 118 insertions(+), 64 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=2f15a3be71f882fe8d666fcb8ad46435fe4616ed
More information about the vlc-commits
mailing list