flat assembler
Message board for the users of flat assembler.

Index > Windows > Some ddraw library examples

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 23 Nov 2005, 18:48
Vid:
Your directdraw hardware drivers must not be set up properly then, even with microsoft using the com interface, adding an extra layer of foolishness, it still should be MUCH faster than anything you can make, even using every assembly optimization mmx/sse trick. Unless you are talking about your code being faster than directdraws software code, then I would say you most likely could make it faster than anything Microsoft can produce. Also if your system is stealing system ram for video graphics then that would produce a major bottleneck also. Also, none of my examples use the directdraw hardware blitter yet, so you can't use these to make a conclusion. One more comment, you WILL need speedy software drivers to do anything special, like rotations, and scaling, unforntunately, If you want any hardware acceleration, you'll have to use direct3d (Which I've just started hammering out in this version of my library Smile )...
Post 23 Nov 2005, 18:48
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 23 Nov 2005, 19:13
so you say ddraw can't use hardware acceleration?
Post 23 Nov 2005, 19:13
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 24 Nov 2005, 02:13
ddraw does simple hardware blits, FAST, but for scaling, rotation, and blending, unfortunatly, you'll have to write you own software functions.
Post 24 Nov 2005, 02:13
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 24 Nov 2005, 08:47
so why does it have structures and functions for it then? some oversighted future-compatibility? :]
Post 24 Nov 2005, 08:47
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 24 Nov 2005, 10:02
Microsoft dropped support for it to better focus on direct3d, and the other interfaces. So, any additional functionality that they had planned was most likely scrapped. The reason for the sturctures still being there.
Post 24 Nov 2005, 10:02
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.