#endif
#ifndef NDEBUG
+ msg_Dbg(vd, "DirectXUpdateRects souce"
+ " offset: %i,%i visible: %ix%i",
+ source->i_x_offset, source->i_y_offset,
+ source->i_visible_width, source->i_visible_height);
+ msg_Dbg(vd, "DirectXUpdateRects image_src"
+ " coords: %li,%li,%li,%li",
+ rect_src.left, rect_src.top,
+ rect_src.right, rect_src.bottom);
msg_Dbg(vd, "DirectXUpdateRects image_src_clipped"
" coords: %li,%li,%li,%li",
rect_src_clipped.left, rect_src_clipped.top,
rect_src_clipped.right, rect_src_clipped.bottom);
+ msg_Dbg(vd, "DirectXUpdateRects image_dst"
+ " coords: %li,%li,%li,%li",
+ rect_dest.left, rect_dest.top,
+ rect_dest.right, rect_dest.bottom);
+ msg_Dbg(vd, "DirectXUpdateRects image_dst_clipped"
+ " coords: %li,%li,%li,%li",
+ rect_dest_clipped.left, rect_dest_clipped.top,
+ rect_dest_clipped.right, rect_dest_clipped.bottom);
#endif
#ifdef MODULE_NAME_IS_directdraw
msg_Err(vd, "Failed to create picture surface. (hr=0x%lx)", hr);
return VLC_EGENERIC;
}
+
+#ifndef NDEBUG
+ msg_Dbg(vd, "Direct3D created offscreen surface: %ix%i",
+ fmt->i_visible_width, fmt->i_visible_height);
+#endif
+
/* fill surface with black color */
IDirect3DDevice9_ColorFill(d3ddev, surface, NULL, D3DCOLOR_ARGB(0xFF, 0, 0, 0));
return VLC_EGENERIC;
}
+#ifndef NDEBUG
+ msg_Dbg(vd, "Direct3D created texture: %ix%i",
+ fmt->i_visible_width, fmt->i_visible_height);
+#endif
+
/*
** Create a vertex buffer for use when rendering scene
*/