SampleApp builds skia on Linux with BGRA pixel order, but Ganesh's SampleApp assumes GL_RGBA texture format on all platforms except Windows (where it uses GL_BGRA), so texture colours come out wrong.  As a temporary fix, do on Linux what we do on Windows, and assume GL_BGRA.  (This should be made more general later, and the assumption of matching formats between Skia and Ganesh removed.)
SampleApp builds skia on Linux with BGRA pixel order, but Ganesh's SampleApp
assumes GL_RGBA texture format on all platforms except Windows (where it uses
GL_BGRA), so texture colours come out wrong.  As a temporary fix, do on Linux
what we do on Windows, and assume GL_BGRA.  (This should be made more general
later, and the assumption of matching formats between Skia and Ganesh removed.)

Review URL:  http://codereview.appspot.com/4474046/



git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@1247 2bbb7eff-a529-9590-31e7-b0007b416f81

metajack/skia,mrobinson/skia,Cue/skia,mrobinson/skia,mrobinson/skia,mrobinson/skia,mrobinson/skia,metajack/skia,Cue/skia,Cue/skia,Cue/skia,metajack/skia,metajack/skia