Blt between two primary surface.

Started by
4 comments, last by qwedcxza 21 years, 4 months ago
I have two display card. now I can create two primary surface for each display but can''t blt them from one to other. is that Blt can''t support primary surface to primary surface?
Advertisement
Hardware blitting is done by moving bytes inside the videocard, which is impossible with 2 separate cards.
Only thing you can do is blit from a surface in system memory, which is slow, obviously.
I tryed blt from device No.1 in system memory surface( that created by No.1 ), but I can''t blt that in device No.2, except directly memory copy.
The best way to do this is to simply store your sprites in standard arrays and just do your own blitting to DirectDraw.

- JQ
Full Speed Games. Are back.
~phil

That is not using for game, actually I want use DirectDraw copy content from primary display to secondary display.
Well, you''ll have to read out from video memory, do a memcopy to the other card then. Note that reads from video memory are extremely slow, and should be avoided if at all possible.

- JQ
Full Speed Games. Are back.
~phil

This topic is closed to new replies.

Advertisement