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. Slow Vista Drawing

Slow Vista Drawing

Scheduled Pinned Locked Moved C / C++ / MFC
graphicshelpcsharpvisual-studiogame-dev
4 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.
  • K Offline
    K Offline
    Koolski
    wrote on last edited by
    #1

    Hello All, I have a large legacy application that I will soon be updating with some new development. The new features will require a fair amount of owner draw stuff. My concern is that some of the application's current owner draw stuff runs slowly on Vista. Win2K and WinXP run great. I'm not sure what's causing the slowness on Vista, but I want to figure it out before the new development. I'm not sure whether it's poor programming (although it seems pretty adequate to me) or whether I need to swap out all the pDC->MoveTo() pDC->LineTo() etc... for some other methodology or switch to a Directx equivilent or something. I'm developing in Visual Studio 2003 so perhaps upgrading to VS2008 would fix the problem? Anyone have any similar experience? Any thoughts? Thanks in advance.

    S 1 Reply Last reply
    0
    • K Koolski

      Hello All, I have a large legacy application that I will soon be updating with some new development. The new features will require a fair amount of owner draw stuff. My concern is that some of the application's current owner draw stuff runs slowly on Vista. Win2K and WinXP run great. I'm not sure what's causing the slowness on Vista, but I want to figure it out before the new development. I'm not sure whether it's poor programming (although it seems pretty adequate to me) or whether I need to swap out all the pDC->MoveTo() pDC->LineTo() etc... for some other methodology or switch to a Directx equivilent or something. I'm developing in Visual Studio 2003 so perhaps upgrading to VS2008 would fix the problem? Anyone have any similar experience? Any thoughts? Thanks in advance.

      S Offline
      S Offline
      Sarath C
      wrote on last edited by
      #2

      Windows Vista graphics subsystem is designed to work with Direct3D. Existing graphics interfaces, such as GDI, GDI+, and older versions of Direct3D are still supported in Windows Vista, but are internally remapped where possible. So you will surely experience a performance hit. To compromise these things, you need high performance hardware. The operating system itself using lot of resources and running many background services than Windows XP. You need to have better computer components than previous. If your application is drawing intensive, you may need a good graphics card as well. Direct2D [^]is a new technology which is being developed by Microsoft to replace GDI and GDI+. It's currently supported in Windows 7 and it will be the future of 2D Drawing. Check Tim Anderson's Performance test [^]with Windows XP and Vista

      -Sarath. "Great hopes make everything great possible" - Benjamin Franklin

      My blog - Sharing My Thoughts

      K 2 Replies Last reply
      0
      • S Sarath C

        Windows Vista graphics subsystem is designed to work with Direct3D. Existing graphics interfaces, such as GDI, GDI+, and older versions of Direct3D are still supported in Windows Vista, but are internally remapped where possible. So you will surely experience a performance hit. To compromise these things, you need high performance hardware. The operating system itself using lot of resources and running many background services than Windows XP. You need to have better computer components than previous. If your application is drawing intensive, you may need a good graphics card as well. Direct2D [^]is a new technology which is being developed by Microsoft to replace GDI and GDI+. It's currently supported in Windows 7 and it will be the future of 2D Drawing. Check Tim Anderson's Performance test [^]with Windows XP and Vista

        -Sarath. "Great hopes make everything great possible" - Benjamin Franklin

        My blog - Sharing My Thoughts

        K Offline
        K Offline
        Koolski
        wrote on last edited by
        #3

        Thanks Sarath. These are quite helpful. Tim Anderson's article seemed to be expressing exactly what I have experienced. Since customers will be getting this software, I can't demand they upgrade their hardware so I will look into the Direct2D. Thanks again.

        1 Reply Last reply
        0
        • S Sarath C

          Windows Vista graphics subsystem is designed to work with Direct3D. Existing graphics interfaces, such as GDI, GDI+, and older versions of Direct3D are still supported in Windows Vista, but are internally remapped where possible. So you will surely experience a performance hit. To compromise these things, you need high performance hardware. The operating system itself using lot of resources and running many background services than Windows XP. You need to have better computer components than previous. If your application is drawing intensive, you may need a good graphics card as well. Direct2D [^]is a new technology which is being developed by Microsoft to replace GDI and GDI+. It's currently supported in Windows 7 and it will be the future of 2D Drawing. Check Tim Anderson's Performance test [^]with Windows XP and Vista

          -Sarath. "Great hopes make everything great possible" - Benjamin Franklin

          My blog - Sharing My Thoughts

          K Offline
          K Offline
          Koolski
          wrote on last edited by
          #4

          It occurs to me -- what's the support for Direct2D in Vista, XP and Win2K? Do you have any idea about this?

          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