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. CreateDIBSection

CreateDIBSection

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsperformancequestion
5 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.
  • P Offline
    P Offline
    pepe 0
    wrote on last edited by
    #1

    hello, Is it possible to have CreateDIBSection to allocate the bitmap in system memory rather than in video memory (without DDraw) ?

    T 1 Reply Last reply
    0
    • P pepe 0

      hello, Is it possible to have CreateDIBSection to allocate the bitmap in system memory rather than in video memory (without DDraw) ?

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      CreateDIBSection allocates bitmap data in 'system' memory, not in video memory. Tomasz Sowinski -- http://www.shooltz.com

      *** Vodka. Connecting people. ***

      P 1 Reply Last reply
      0
      • T Tomasz Sowinski

        CreateDIBSection allocates bitmap data in 'system' memory, not in video memory. Tomasz Sowinski -- http://www.shooltz.com

        *** Vodka. Connecting people. ***

        P Offline
        P Offline
        pepe 0
        wrote on last edited by
        #3

        The fourth parameter of CreateDIBSection (VOID **ppvBits) gives me values over 0x80000000, is it still system memory ?

        T 1 Reply Last reply
        0
        • P pepe 0

          The fourth parameter of CreateDIBSection (VOID **ppvBits) gives me values over 0x80000000, is it still system memory ?

          T Offline
          T Offline
          Tomasz Sowinski
          wrote on last edited by
          #4

          What's wrong with 0x80000000? Tomasz Sowinski -- http://www.shooltz.com

          *** Vodka. Connecting people. ***

          P 1 Reply Last reply
          0
          • T Tomasz Sowinski

            What's wrong with 0x80000000? Tomasz Sowinski -- http://www.shooltz.com

            *** Vodka. Connecting people. ***

            P Offline
            P Offline
            pepe 0
            wrote on last edited by
            #5

            It's just because I make memory access and they seem to be slow. Never mind, I'll do more tests. Thanks.

            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