21
Programming / Re: Dive: Why does not this work
« Last post by Dave Yeo on April 22, 2024, 05:26:38 pm »I wonder then, how SDL work then. There is not one mention of WM_VRN*. It just blits the whole SDL surface to the buffer (no direct VRAM access).
Cairo does the same. A comment in the code,
Code: [Select]
* This function uses DIVE to write those portions of the surface identified
* by @rect directly to the screen buffer. It only supports 32- or 24-bit
* full-color video modes. To avoid painting overlapping or child windows,
* it must perform all of the visible-region calculations that GPI normally
* handles. Despite this, it provides a significant improvement in speed
* compared to using GPI functions.