[vlc-commits] Direct3D: implement HLSL pixel shading in the rendering pipeline
Felix Abecassis
git at videolan.org
Sat Feb 8 14:47:01 CET 2014
vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Fri Feb 7 17:26:18 2014 +0000| [27d6d6fd5eff764b8d36f9abeb33ed069da713b3] | committer: Jean-Baptiste Kempf
Direct3D: implement HLSL pixel shading in the rendering pipeline
The user can choose to apply a builtin shader using a selection list
in the options of the Direct3D vout module. A custom shader function
can also be loaded by specifying the path of the shader file.
Many changes since the latest patch proposal: we are not compiling
"shader techniques" anymore but now shader functions using the "main"
entrypoint. All the shaders previously in pixelShader.fx are now
builtins.
Based on the code by Sasha Koruga for GSoC 2010.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27d6d6fd5eff764b8d36f9abeb33ed069da713b3
---
NEWS | 1 +
modules/video_output/Modules.am | 2 +-
modules/video_output/msw/builtin_shaders.h | 150 ++++++++++++++++++
modules/video_output/msw/common.h | 3 +
modules/video_output/msw/direct3d.c | 234 +++++++++++++++++++++++++++-
5 files changed, 387 insertions(+), 3 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=27d6d6fd5eff764b8d36f9abeb33ed069da713b3
More information about the vlc-commits
mailing list