-
-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Labels
Description
Using CreateDIBSection bypasses the need for GetDIBits, similar to how we use XShmGetImage on Linux. It just writes the DIB straight into system-backed memory, and we can read it from there. This is faster, doesn't have as much GDI object churn, and also eliminates what is often a surprising sync point in GDI (GetDIBits).
I haven't really looked into this much, but it is probably worth investigating.
Reactions are currently unavailable