[vlc-devel] [PATCH 0/9] libvlc surface callbacks
Steve Lhomme
robux4 at ycbcr.xyz
Fri Jan 18 14:58:56 CET 2019
A new version of the patchset with working D3D9 and D3D11 sample apps.
Now the OpenGL has the boolean return value in the resize/update callback but
the result is ignored (for now?). The result of the same callback in D3D9 and
D3D11 is used accordingly (not to start rendering in dead resources). If this
return value is still litigious I propose that the technical comittee takes a
decision on it.
Steve Lhomme (9):
libvlc: add a bool return value to the resize callback
libvlc: add a callback to notify the host when the rendering
starts/ends
libvlc: add an engine context pointer to the callbacks structure
direct3d9: handle external callbacks to render into an external
surface
libvlc: add callbacks to render to an external D3D9 surface
doc: add a sample app to test the Direct3D9 host of libvlc
direct3d11: handle external callbacks to render into an external
surface
libvlc: add callbacks to render to an external D3D11 surface
doc: add a sample Win32 app to test the Direct3D11 host of libvlc
doc/libvlc/d3d11_player.cpp | 455 ++++++++++++++++++++++++
doc/libvlc/d3d9_player.c | 291 +++++++++++++++
doc/libvlc/sdl_opengl_player.cpp | 7 +-
include/vlc/libvlc_media_player.h | 74 +++-
lib/media_player.c | 24 ++
modules/video_output/vgl.c | 2 +-
modules/video_output/win32/direct3d11.c | 25 +-
modules/video_output/win32/direct3d9.c | 6 +
8 files changed, 874 insertions(+), 10 deletions(-)
create mode 100644 doc/libvlc/d3d11_player.cpp
create mode 100644 doc/libvlc/d3d9_player.c
--
2.17.1
More information about the vlc-devel
mailing list