[vlc-devel] [PATCH] Direct3D shader support (HLSL)

Sasha Koruga skoruga at gmail.com
Sat Aug 14 12:51:38 CEST 2010


Thank you, Xxcv. I did not at all mean to take that one line out. I
added that line back, removed the trailing spaces, and recompiled
everything again into 1 big patch (attached).
Oh, and as for D3DXFX_NOT_CLONEABLE, thank you for requesting the
mingw-w64 group to add that. For now, I added:
#ifndef D3DXFX_NOT_CLONEABLE
#define D3DXFX_NOT_CLONEABLE    (1 << 11)
#endif

Best Regards,
Sasha

On Sat, Aug 14, 2010 at 3:20 AM, xxcv <xxcv07 at gmail.com> wrote:
> Hi,
>>
>> @@ -833,14 +1098,15 @@ static int Direct3DCreatePool(vout_display_t *vd,
>> video_format_t *fmt)
>>         return VLC_ENOMEM;
>>     }
>>     rsc->p_sys->surface = surface;
>> -    rsc->p_sys->fallback = NULL;
>> -    for (int i = 0; i < PICTURE_PLANE_MAX; i++) {
>> +    for (int i = 0; i < PICTURE_PLANE_MAX; i++)
>
> Oh, I forgot to tell you that there are a lot of trailing spaces in the
> patch for example on the above line.
>>
>> +    {
>>         rsc->p[i].p_pixels = NULL;
>>         rsc->p[i].i_pitch = 0;
>>         rsc->p[i].i_lines = fmt->i_height / (i > 0 ? 2 : 1);
>>     }
>>     picture_t *picture = picture_NewFromResource(fmt, rsc);
>> -    if (!picture) {
>> +    if (!picture)
>
> Also here, and on other lines as well.
>>
>> +    {
>>         IDirect3DSurface9_Release(surface);
>>         free(rsc->p_sys);
>>         return VLC_ENOMEM;
>
>
> Regards,
>
> --
> My VLC, My Way, My Style~
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-Direct3D-shader-HLSL-support-and-GUI.patch
Type: application/octet-stream
Size: 40975 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100814/0e149775/attachment.obj>


More information about the vlc-devel mailing list