[MPlayer-dev-eng] [PATCH] - No Reset of D3D device on resize

Georgi Petrov gogothebee at gmail.com
Fri Dec 12 10:28:52 CET 2008


>> but we need larger backbuffer allocation and changing of viewport later only for WinID >=0 case.
>
> You still haven't explained why you think that.

Because with WinID < 0 (which means MPlayer's own window), w32_common
code actually doesn't update the video window while the user is
resizing. The video freezes, so we don't need smooth resize handling.
When the user releases the window, the video continues. This enables
us to allocate only the needed backbuffer size and do a Reset on
resize, as it doesn't have any drawbacks. We save memory this way.



More information about the MPlayer-dev-eng mailing list