Samuel Xu <[email protected]> writes: > I noticed the PIXMAN_FB_ACCESSORS might not be defined/enabled for > pixman lib in current build. > inside pixman-accessor.h > #ifdef PIXMAN_FB_ACCESSORS > ... > #else > .. > #endif > > Could any kindly share viewpoint of PIXMAN_FB_ACCESSORS? E.g. Is it > obsolete or it only can be enabled for some platform with specific HW, > so some low-end platform cant turn it on?
PIXMAN_FB_ACCESSORS is not something users can turn on or off. Instead it is defined at the top of of the file pixman-access-accessors.c, and then pixman-access.c is #included. This lets the code in pixman-access.c be compiled twice, once with accessor functions enabled, and once without. The pixman_image_set_accessors() function is always available, but note that if you use it, performance may be poor. Soren _______________________________________________ Pixman mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pixman
