A-O-A,
I have written a display device driver and has given support for overlay.
Let us take the case when My device is Primary on a PC with more than one
Display Devices and WinDVD is running on it. When WinDVD window is on my
device display area, overlay is used and Video is shown properly. When I
drag this WinDVD Window to the secondary device display area, randering
still continues on my device overlay memory i.e. DdFlip continued to be
called with valid pointers. Although nothing is shown on the secondary
device and as we know it should not be, but if I display my device’s overlay
surface\memory at this time, it contains valid video. Is there any way we
can restrict WinDVD or any other application to not rander on the overlay
memory when its window is not on the primary device. My display driver is
not recieving any call or change in parameters in this case. So I have no
event on which I can stop randering.
Same case occurs when I minimize the window.
I need some urgent reply.
Thanks in advance
Regards,
Asif