[Mesa-dev] Very low framerate when recording desktop content in Weston using mesa git on Radeon 5770 (glReadPixels slow path)

Matt Turner mattst88 at gmail.com
Tue Mar 26 14:51:52 PDT 2013


On Tue, Mar 26, 2013 at 2:44 PM, Bengt Richter <bokr at oz.net> wrote:
> uint32_t
> component_delta2(uint32_t next, uint32_t prev)
> {
>     return ((((next&0xff00ff)-(prev&0xff00ff)+0x100)&0xff00ff)+
>         (((next&0xff00)-(prev&0xff00))&0xff00));
> }

Does removing all the spaces make it faster? ;)


More information about the mesa-dev mailing list