Thread: DirectX 10 Run Speed

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    27

    DirectX 10 Run Speed

    I just got a simple animation working, only to discover that even without any implanted delays in code, it runs at about 1.1 fps!!! I narrowed the bulk of it down to the Render() function that I use to draw. I AM using the EMULATED device drivers rather than direct hardware access as the hardware on my laptop does not appear to be compatible with DX10. Any other ideas off the top of your heads as to things that could slow the program down? When I did an animation in DirectX 8 I had no problems whatsoever, in fact I used a for loop of like 300 million increments just to slow it down enough to be visible. When I have a little more time I will post the snippets of code so you can see that too.

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Emulated or software emulation is the problem.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    673
    Modern graphics API's are far to advanced(and way too bloated) to be used with emulated devices.

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Software emulation is the problem, as noted. The only thing you can do if your hardware doesnt support the features you need is to upgrade your computer to either support those features, or to execute the emulation faster.

  5. #5
    Registered User
    Join Date
    Jan 2007
    Posts
    330
    You could post the code to see if there's nothing weird being done that slows it down needlessly

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Well, it won't matter unless hardware acceleration is turned on anyway. This is the thief that's bogging everything down. It's 99% responsible, I'd say.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectX 10 not compatible with XP
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-01-2006, 04:42 AM
  2. Bowling again.
    By fatty acid in forum C Programming
    Replies: 4
    Last Post: 11-30-2005, 02:12 AM
  3. Heaps...
    By Nutshell in forum C Programming
    Replies: 14
    Last Post: 04-23-2002, 08:54 AM
  4. Formatting Output
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 03-26-2002, 01:33 AM
  5. Questions on Speed of Execution
    By wavering in forum C Programming
    Replies: 22
    Last Post: 01-20-2002, 02:04 PM