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#
  4. WPF hardware acceleration

WPF hardware acceleration

Scheduled Pinned Locked Moved C#
csharpcsswpfcomhardware
4 Posts 4 Posters 1 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.
  • B Offline
    B Offline
    Bartosz Bien
    wrote on last edited by
    #1

    Hello All, If I add certain Shapes (e.g. Polylines) to a WPF Grid (placed inside a WPF window), would they be rendered with hardware acceleration?

    Best regards, BB http://bartoszbien.com

    C P 2 Replies Last reply
    0
    • B Bartosz Bien

      Hello All, If I add certain Shapes (e.g. Polylines) to a WPF Grid (placed inside a WPF window), would they be rendered with hardware acceleration?

      Best regards, BB http://bartoszbien.com

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I know that you can actually write code that tells you if hardware acceleration is being used. I believe the answer is 'yes, if you have a good enough graphics card'

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      C 1 Reply Last reply
      0
      • B Bartosz Bien

        Hello All, If I add certain Shapes (e.g. Polylines) to a WPF Grid (placed inside a WPF window), would they be rendered with hardware acceleration?

        Best regards, BB http://bartoszbien.com

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        Bartosz Bien wrote:

        would they be rendered with hardware acceleration?

        I think they should. Not 100% certain though.

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        1 Reply Last reply
        0
        • C Christian Graus

          I know that you can actually write code that tells you if hardware acceleration is being used. I believe the answer is 'yes, if you have a good enough graphics card'

          Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          C Offline
          C Offline
          CKnig
          wrote on last edited by
          #4

          You can use the "rendering tier" to get a feeling for the caps of the videocard: int tier = (System.Media.Rendercapability.Tier >> 16); 0 is bad - only software emulation 1 is ok - the card supports partial accel (DirectX 7 - DirectX 8) 2 is state of the art with full accel

          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