Fixed RGBA <-> BGRA bug in EGLFS backingstore.
authorSamuel Rødal <samuel.rodal@nokia.com>
Tue, 17 Apr 2012 06:50:47 +0000 (08:50 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Apr 2012 14:28:46 +0000 (16:28 +0200)
commita73125badaeb0c5848934a829b7f1465827d0e88
treeeb577d8680227cb45cbaab7355558092067daf6e
parente01ecc6d6f53fd10beabaf74f932d98b8a0f0f50
Fixed RGBA <-> BGRA bug in EGLFS backingstore.

Better to swizzle in the fragment shader than to do a byte swapping
operation on the CPU.

Change-Id: I01420c3a5ceb5309f5648e1f86979b025bdd88aa
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
src/plugins/platforms/eglfs/qeglfsbackingstore.cpp