On Tuesday 22 January 2013, John Bauman wrote:
> Couldn't you just swizzle the value in whatever shader you use? Or you
> could use EXT_texture_format_BGRA8888 or APPLE_texture_format_BGRA8888.
> 
> Also, an optimized BGRA<->RGBA conversion is about the same cost as a
> memcpy, so if you have any memcpys you need to do you could possibly
> replace one with the conversion.
> 
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. 

Regards
`Allan
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to