Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-11331

Implement D3DKMTCreateDCFromMemory

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 0.4.6
    • 3D Graphics

    Description

      To sync d3d dll's with wine-staging we need to implement the vista+ api D3DKMTCreateDCFromMemory.

      As a base, the wine test + partial implementation can be used:
      http://source.winehq.org/git/wine.git/blob/81c700e0f8f8670f9c3b05a4baab2b2cffaeff89:/dlls/gdi32/tests/bitmap.c#l5651
      http://source.winehq.org/git/wine.git/blob/81c700e0f8f8670f9c3b05a4baab2b2cffaeff89:/dlls/gdi32/dib.c#l1593

      However for the implementation, the code that actually creates the bitmap / color palette would need to be rewritten so that it works in reactos.

      Attachments

        1. bitmap.c.patch
          2 kB
          Mark Jansen
        2. D3DKMTCreateDCFromMemory.patch
          17 kB
          sebastian.gasiorek
        3. D3DKMTCreateDCFromMemory.patch
          17 kB
          sebastian.gasiorek
        4. D3DKMTCreateDCFromMemory.patch
          15 kB
          sebastian.gasiorek
        5. D3DKMTCreateDCFromMemory.txt
          11 kB
          sebastian.gasiorek
        6. KCHOA5.jpg
          114 kB
          Daniel Reimer
        7. KCHOA5.png
          114 kB
          hbelusca

        Issue Links

          Activity

            People

              ThePhysicist Timo Kreuzer
              learn_more Mark Jansen
              Votes:
              6 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: