On Tue, Jan 22, 2013 at 12:39 PM, Allan Sandfeld Jensen <k...@carewolf.com>wrote:
> memcpy is heavily optimized for different architectures and even > subarchitectures. Unless you take the time to write several architecture > specific BGRA<->RGBA conversions it will never be as fast as memcpy. > This is actually very little work. To summarize, you can: -change the color format of your rasterizer -use extensions for the texture format -use the fragment shader to convert the colors -write an optimized conversion on the CPU, use it when you copy over the data between processes What you take really depends on what is available on your particular platform/port. Cheers, Benjamin
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev