: - The every pixel is divided by 255 in the drawing loop. ( alphablend case ) : - In case ARM, ARM core do not support hardware for division. Instead, compiler implement a division by calling software routine in C library. The standard integer division routine supported by C library takes 20~100 cycle. It depens on ARM processor family.
In that case, perhaps we should use a macro to perform the alphablending, which could then be /255 for accuracy, or >>8 for speed, and set it in device.h. Regards, Greg --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org