News for hackers. Stuff that matters.
Re:Avalonia – A multi-platform .NET UI framework by c-smile on Sunday July 10, 2016 @11:32AM (#12065914)
GDI is an immediate mode graphics API that conceptually cannot be used with GPU style batch rendering. When each drawing operation is just a command record to be sent to GPU for later execution.

Yet things like GDI::SetROP2 make no sense in GPU context when rasterization is made in parallel. GDI uses integer coordinates - not that scaleable. GDI::COLOR type limits R,G,B by 0..255 values only... Too many problems.

But I shall admit that Direc2D API, that is C++ thing, could be made in more GDI-ish, plain C, style.

There are no comments on this comment yet.