I am trying to use the Direct2D RenderTarget property for C ++ Builder TDirect2DCanvas to test the operation of a bitmap using a GPU. This is most impressive compared to GDI. However, I cannot understand how to return the result to the processor memory, so I can use it to further process the processor. I read about using WIC, but apparently you have lost most of the hardware acceleration. Windows 8 seems to offer a new bitmap with map functionality, but I want to use the standard Windows 7. Also, C ++ Builder does not offer header files for these new features.
Given TDirect2DCanvas, or you want Direct2D RenderTarget or ID2D1Bitmap, how do I copy a bitmap back to processor memory?
c ++ windows delphi direct2d
Mike versteeg
source share