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

Implement D3DKMTCreateDCFromMemory

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: 0.5
    • Component/s: 3D Graphics
    • Labels:

      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
        2. D3DKMTCreateDCFromMemory.patch
          17 kB
        3. D3DKMTCreateDCFromMemory.patch
          17 kB
        4. D3DKMTCreateDCFromMemory.patch
          15 kB
        5. D3DKMTCreateDCFromMemory.txt
          11 kB
        6. KCHOA5.jpg
          KCHOA5.jpg
          114 kB
        7. KCHOA5.png
          KCHOA5.png
          114 kB

          Issue Links

            Activity

              People

              • Assignee:
                ThePhysicist Timo Kreuzer
                Reporter:
                learn_more Mark Jansen
              • Votes:
                4 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: