[Pixman] [PIXMAN][PATCH 1/6] Replace boolean arguments with flags for bilinear fast path template
Taekyun Kim
podain77 at gmail.com
Mon Jun 13 05:18:48 PDT 2011
By replacing boolean arguments with flags, the code can be more
readable and flags can be extended to do some more things later.
Currently following flags are defined.
FLAG_NONE
- No flags are turned on.
FLAG_HAVE_SOLID_MASK
- Template will generate solid mask composite functions.
FLAG_HAVE_NON_SOLID_MASK
- Template will generate bits mask composite functions.
FLAG_HAVE_SOLID_MASK and FLAG_NON_SOLID_MASK should be mutually
exclusive.
---
pixman/pixman-arm-common.h | 15 +++++++----
pixman/pixman-fast-path.h | 58 ++++++++++++++++++++++++++++----------------
pixman/pixman-sse2.c | 6 ++--
3 files changed, 49 insertions(+), 30 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Replace-boolean-arguments-with-flags-for-bilinear-fa.patch
Type: text/x-patch
Size: 10017 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pixman/attachments/20110613/b1412f0e/attachment.bin>
More information about the Pixman
mailing list