[vlc-commits] d3d11: split the generic part of shaders into its own code
Steve Lhomme
git at videolan.org
Wed Feb 10 11:06:49 UTC 2021
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Feb 9 15:52:52 2021 +0100| [f29736471563c2a7cbaac6899cce26f941a357f1] | committer: Steve Lhomme
d3d11: split the generic part of shaders into its own code
We use a generic d3d_quad_t with only the parts necessary to handle pixel/vertex
shaders.
Now the d3d11_shaders code is just responsible for creating the D3D11 shader
objects. The d3d11_quad code is also responsible for D3D11 specific objects
to handle a d3d_quad.
No functional changes.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f29736471563c2a7cbaac6899cce26f941a357f1
---
modules/video_output/win32/d3d11_quad.c | 859 +---------------
modules/video_output/win32/d3d11_quad.h | 15 -
modules/video_output/win32/d3d11_shaders.c | 657 +-----------
modules/video_output/win32/d3d11_shaders.h | 59 +-
modules/video_output/win32/d3d_shaders.c | 1512 +++++++++++++++++++++++++++-
modules/video_output/win32/d3d_shaders.h | 95 ++
modules/video_output/win32/direct3d11.c | 88 +-
7 files changed, 1710 insertions(+), 1575 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=f29736471563c2a7cbaac6899cce26f941a357f1
More information about the vlc-commits
mailing list