[Pixman] [PATCH 1/2] Shortcut for the source iterator to fetch directly to destination
Siarhei Siamashka
siarhei.siamashka at gmail.com
Sun Sep 1 09:56:59 PDT 2013
On Thu, 29 Aug 2013 04:16:07 +0300
Siarhei Siamashka <siarhei.siamashka at gmail.com> wrote:
> In the case if combine step is going to be a simple memcpy from
> the temporary buffer to the destination (SRC operator, no mask,
> x8r8g8b8 or a8r8g8b8 destination format), just route the source
> iterator-based fetch operation to the destination buffer.
>
> Earlier the source iterator was getting a constant pointer to
> the temporary buffer. Now it also gets a pointer to the current
> destination scanline pointer provided by the destination iterator.
> If the source fetcher wants to support fetching directly to the
> destination, it can use this new pointer instead of the temporary
> buffer.
Should be superseded by a newer patch, which is hopefully more generic:
http://lists.freedesktop.org/archives/pixman/2013-September/002879.html
--
Best regards,
Siarhei Siamashka
More information about the Pixman
mailing list