]> git.sesse.net Git - vlc/blobdiff - modules/video_output/msw/common.h
Direct2D video output module
[vlc] / modules / video_output / msw / common.h
index e023ef4315481cb8665e7290c25c1f28530caa87..3a67c7d11759edcde7492927aa29dc727216cabd 100644 (file)
@@ -157,6 +157,13 @@ struct vout_display_sys_t
     vout_display_opengl_t vgl;
 #endif
 
+#ifdef MODULE_NAME_IS_direct2d
+    HINSTANCE              d2_dll;            /* handle of the opened d2d1 dll */
+    ID2D1Factory           *d2_factory;                         /* D2D factory */
+    ID2D1HwndRenderTarget  *d2_render_target;          /* D2D rendering target */
+    ID2D1Bitmap            *d2_bitmap;                            /* D2 bitmap */
+#endif
+
 #ifdef MODULE_NAME_IS_direct3d
     bool allow_hw_yuv;    /* Should we use hardware YUV->RGB conversions */
     /* show video on desktop window ? */