As I read, BitBlt() function from winGDI from winAPI is the fastest to put some image on the screen. But "blitting" only copies a memory from one source to a destination.
So I was wondering, why we can't just have two bitmaps (buffers) and just switching the pointers that will point to the current buffer if it is complete. Like Double Buffering. It would be faster than mem copiyng.
Is it possible in winAPI?
https://stackoverflow.com/questions/66092618/switching-pointers-instead-of-using-bitblt-in-winapi February 08, 2021 at 04:09AM
没有评论:
发表评论