Skip to content

Investigate using CreateDIBSection #449

@jholveck

Description

@jholveck

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions