Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Should I use DirectDraw ?

Should I use DirectDraw ?

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsgame-devperformancequestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hanan888
    wrote on last edited by
    #1

    I'm developing a simple animated game and it must run on windows 2000 and above including vista. Some of us think: 1. Loading bitmaps (.png files) with DirectDraw7 will be MUCH faster than creating textures with DirectX 9. 2. Performance will be the same or better. 3. DirectX textures distorts the bitmap (.png files). 4. It will work on all windows OS because it's backward compatible. How wrong are we ?

    L 1 Reply Last reply
    0
    • H Hanan888

      I'm developing a simple animated game and it must run on windows 2000 and above including vista. Some of us think: 1. Loading bitmaps (.png files) with DirectDraw7 will be MUCH faster than creating textures with DirectX 9. 2. Performance will be the same or better. 3. DirectX textures distorts the bitmap (.png files). 4. It will work on all windows OS because it's backward compatible. How wrong are we ?

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Based only on what I have read, not experienced, if you intend to use the DirectDraw interfaces you don't want to use DirectX9 because DD is only exposed through a managed class and is therefore slower. If however you want to use the DX interfaces then DX9 appears to be faster than older versions. One specific thing I have frequently read is that the FPS is higher due to a faster fill rate.

      H 1 Reply Last reply
      0
      • L led mike

        Based only on what I have read, not experienced, if you intend to use the DirectDraw interfaces you don't want to use DirectX9 because DD is only exposed through a managed class and is therefore slower. If however you want to use the DX interfaces then DX9 appears to be faster than older versions. One specific thing I have frequently read is that the FPS is higher due to a faster fill rate.

        H Offline
        H Offline
        Hanan888
        wrote on last edited by
        #3

        Thank you very much Mike.

        led mike wrote:

        if you intend to use the DirectDraw interfaces you don't want to use DirectX9 because DD is only exposed through a managed class and is therefore slower

        If I understand you right: Using DirectDraw interfaces , with the ddraw.lib as part of the DirectX9 SDK is slower. But perhaps using ddraw.lib from any other sdk is less compatible ?

        L 1 Reply Last reply
        0
        • H Hanan888

          Thank you very much Mike.

          led mike wrote:

          if you intend to use the DirectDraw interfaces you don't want to use DirectX9 because DD is only exposed through a managed class and is therefore slower

          If I understand you right: Using DirectDraw interfaces , with the ddraw.lib as part of the DirectX9 SDK is slower. But perhaps using ddraw.lib from any other sdk is less compatible ?

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          Hanan888 wrote:

          But perhaps using ddraw.lib from any other sdk is less compatible ?

          That is certainly possible, I have not seen any noise in regards to compatibility. You might want to do some Googling yourself because I am not directly involved in any game development currently so I don't pay much attention. I know the net is full of noise about game development though. I also don't know anything about PC game dev, I was involved with the console platforms (XBox, PS) only.

          H 1 Reply Last reply
          0
          • L led mike

            Hanan888 wrote:

            But perhaps using ddraw.lib from any other sdk is less compatible ?

            That is certainly possible, I have not seen any noise in regards to compatibility. You might want to do some Googling yourself because I am not directly involved in any game development currently so I don't pay much attention. I know the net is full of noise about game development though. I also don't know anything about PC game dev, I was involved with the console platforms (XBox, PS) only.

            H Offline
            H Offline
            Hanan888
            wrote on last edited by
            #5

            I saw a lot of "do not use direct draw, unless you are crazy". Thanks.

            L 1 Reply Last reply
            0
            • H Hanan888

              I saw a lot of "do not use direct draw, unless you are crazy". Thanks.

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #6

              :laugh: Yeah I know, but I also have seen things like if you are just doing 2d you don't need the overhead of the DX interfaces and libs which have been designed for 3d.

              led mike

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups