Stretching the Output of a Renderer Full-Screen (Windows Embedded CE 6.0)

1/6/2010

After trying the first three options, the final option for implementing full-screen support is to pick a filter enabled by IVideoWindow and stretch its window full-screen, regardless of the resulting poor performance.

Essentially, the first filter in the filter graph that is enabled by the IVideoWindow interface becomes the nominated filter.

This filter is then used in the same manner as if it was a filter that could be stretched full-screen without sacrificing performance (that is, the owner is reset, the styles changed, and the window position changed to match the display extents).

The cost of stretching a window full-screen where there is an implicit performance penalty varies, depending on the resolution currently displayed.

The worst scenario is one in which the user is using a relatively high resolution (for example, 1024 × 768) and the images must be stretched by the renderer using GDI. This is likely to provide very low frame throughput and is used only as a last resort.

See Also

Concepts

Full-Screen Video Renderer