WinRT: don't compile DShow, Screen, BDA

They depend on GDI or DShow
configure: remove O4 compiler optimization level test

It is not a documented optimization level for gcc or clang.
This makes building with clang significantly less spammy.

Signed-off-by: Tristan Matthews <tmatth@videolan.org>
Revert "nativewindowpriv: use fence_fd"

fence_fd should stay in nativewindowpriv.c, no need to export it. It's not
needed by hw buffers (iomx-dr), and it's not used by gralloc until Android 5.0.

This reverts commit 06cb362f3aaa45f53de3f6a755961bc7dded5495.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
nativewindowpriv: fix call order

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
nativewindowpriv: use set_buffers_user_dimensions after jbmr2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
nativewindowpriv: cosmetics

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
nativewindowpriv: lockBuffer not needed after jbmr2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
nativewindowpriv: use only one call to lock/unlock sw buffers

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
nativewindowpriv: remove deprecated calls

After jbmr2, dequeueBuffer return a fence_fd, that is signaled when buffer is
ready.
For now, dequeue is still synchronous since it wait on fence_fd.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
nativewindowpriv: GRALLOC_USAGE_EXTERNAL_DISP only for hw

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
android_window: render picture on Display, and not via pool.pic_unlock

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
android_window: don't add min_undequeued in the pool size

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Win32: use winmm only on Win32-desktop
Win32: fix previous build commit
Win32: do not build GDI for text_renderers in WinRT
Don't build winGDI on WinRT
Win32: regroup gcc-mingw options together
Win32: don't build WM_* based plugins under WinRT
dmo: Be unicode agnostic
mft: Rename function pointer.

They collide with the actual functions