[vlc-devel] [PATCH] vout: allow creating a pool of D3D9 GPU surfaces picture_t
robux4 at videolabs.io
Wed Apr 29 08:19:37 CEST 2015
On Tue, Apr 28, 2015 at 10:42 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On 28 Apr, Steve Lhomme wrote :
>> +if HAVE_DIRECTX
>> +if !HAVE_WINSTORE
>> +SOURCES_libvlc_win32 += \
>> + win32/direct3d9_pool.c \
>> + win32/direct3d9_pool.h \
>> + $(NULL)
> I don't really like this solution, tbh.
>> +picture_pool_t *AllocPoolD3D9( vlc_object_t *obj, const video_format_t *p_fmt, unsigned pool_size );
>> +picture_pool_t *AllocPoolD3D9Ex(vlc_object_t *obj, LPDIRECT3DDEVICE9 d3ddev,
>> + const video_format_t *fmt, unsigned pool_size);
> What is the meaning of the Ex function?
I didn't know how to name it. It's the same as above but forcing the
D3D9 device. AllocPoolD3D9() uses AllocPoolD3D9Ex().
More information about the vlc-devel