Hello, I am rewriting my game engine (using GDI BitBlt only) and doing my first steps now with Direct2D rendering and using TDirect2DCanvas and RenderTarget + rendering bitmaps.
When rendering one frame is the correct way to go as follows?
1. Canvas.BeginDraw
2. Paint my stuff
3. Canvas.EndDraw

I noticed that step 2 is very fast, but the combined steps 1+2+3 together are slow.
How to speed up this? What is the best strategy?

Thank you.