3 ms·
Smooth animations and performance. Draw a big image with Win32 BitBlt it's painful slow, for example. Imagine that you are zooming an image in Photoshop and it
by samsaga2 4y ago
Smooth animations and performance. Draw a big image with Win32 BitBlt it's painful slow, for example. Imagine that you are zooming an image in Photoshop and it is laggy, the user experience would be horrible.
Also, the lag is an important issue in the user interface, even something so small like 100ms would be bad.
- tcfhgj 4y agoWhat about the winrt api?
- pjmlp 4y agoNee, Direct2D. Save yourself some pain. WinRT has gone through multiple reboots, who knows what will happen still. Better use the existing Win32/COM stuff.
- speed_spread 4y agoWhy not just use DirectX/*GL for those regions that need it and stick with platform UI for the rest? Blitting API still works just fine if you're drawing combo boxes, no?
- DeathArrow 4y agoYou can use ID2D1HwndRenderTarget::DrawBitmap or ID2D1RenderTarget::DrawBitmap instead.
- pjmlp 4y agoIf you're using BitBlt instead of Direct2D in anything post Vista, you're holding it wrong.