-
kbr@google.com authored
Reviewed by Adam Barth. [chromium] Mac: WebGL: all textured content is blue https://bugs.webkit.org/show_bug.cgi?id=49021 Added support for 8-bit, little-endian CGImages. The previous image decode path used the default byte order, which is apparently big-endian. Tested with various WebGL content and layout tests in Chromium. Ran layout tests in WebKit and tested various WebGL content in Safari. Was not able to run layout tests with Chromium port of DumpRenderTree due to build failures currently in the tree. * platform/graphics/GraphicsContext3D.cpp: (WebCore::doPacking): * platform/graphics/GraphicsContext3D.h: * platform/graphics/cg/GraphicsContext3DCG.cpp: (WebCore::getSourceDataFormat): (WebCore::GraphicsContext3D::getImageData): 2010-11-04 Kenneth Russell <kbr@google.com> Reviewed by Adam Barth. [chromium] Mac: WebGL: all textured content is blue https://bugs.webkit.org/show_bug.cgi?id=49021 Updated expectations for WebGL layout tests which were affected by the image decoder change https://bugs.webkit.org/show_bug.cgi?id=47974 . * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f927025b