First Draft Blitting API

Just a sneak preview of in-development code. This API is designed for 64-bit platforms, and may have to be de-optimised a bit if I do any 32-bit ports in the fucture.

SDL etc. usually use a plain struct (like my guirect struct) for passing rectangles, but for kernel system calls it can be better to avoid using too many pointers as long as this method (encoding rectangles as long values) is sufficient.

Comments

One response to “First Draft Blitting API”

  1. admin Avatar

    A flags parameter was also added to the system call arguments after posting. Implementing this interface now.

Leave a Reply

Your email address will not be published. Required fields are marked *