Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

directx 7 directdraw question

3 views
Skip to first unread message

markf78

unread,
Oct 19, 2009, 12:01:34 PM10/19/09
to
first, let me start by saying yes i realize that directdraw is
deprecated but unfortunately due to project requirements I must use
directx 7 for my accelerated 2D drawing.

that said, i am trying to use a dual view setup in windowed mode
(DDSCL_NORMAL) with an nvidia graphics card. the API documentation
specifies that the displays must be enumerated using
DirectDrawEnumerateEx() to get the GUIDs and then a separate
DirectDraw object must be created with those GUIDs for each dualview
display.

my program works correctly on the primary display (it blits a YUV
offscreen plain surface to an RGB offscreen plain surface ; then
another blit from the RGB offscreen surface to the primary surface)
but as soon as i drag the window to the secondary display the image
fails to draw even though both blits are still returning S_OK.

any ideas?

p.s. if i run the dxdiag directdraw tests on the secondary display,
the tests all work correctly.

Phil Taylor

unread,
Oct 29, 2009, 7:20:01 PM10/29/09
to
what does the DX7 DDraw SDK sample MultiNut do?

iirc, the Donut sample was also multi-mon aware so its code may be of some
use.
--
Phil Taylor
http://www.futuregpu.net
now Intel Larrabee Native Title Czar
ex-Aces Core Lead PM, D3D SDK PM
somewhat D3D knowledgeable :-)


"markf78" wrote:

> .
>

0 new messages