Skip to content
  • zmo@google.com's avatar
    2010-11-17 Zhenyao Mo <zmo@google.com> · e65a82f7
    zmo@google.com authored
            Reviewed by Kenneth Russell.
    
            Implement UNPACK_COLORSPACE_CONVERSION_WEBGL
            https://bugs.webkit.org/show_bug.cgi?id=47196
    
            * platform/image-decoders/ImageDecoder.h:
            (WebCore::ImageDecoder::ignoresGammaAndColorProfile): Add a getter function for the ignoreGammaAndColorProfile setting.
            * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
            (WebCore::JPEGImageReader::decode): Hookup ignoreGammaAndColorProfile setting with color profile processing.
            * platform/image-decoders/png/PNGImageDecoder.cpp:
            (WebCore::PNGImageDecoder::headerAvailable): Ditto.
    2010-11-17  Zhenyao Mo  <zmo@google.com>
    
            Reviewed by Kenneth Russell.
    
            Implement UNPACK_COLORSPACE_CONVERSION_WEBGL
            https://bugs.webkit.org/show_bug.cgi?id=47196
    
            * fast/canvas/webgl/gl-teximage-expected.txt:
            * fast/canvas/webgl/gl-teximage.html: Add test cases for images with ICC profiles.
            * fast/canvas/webgl/resources/small-square-with-cie-rgb-profile.png: Added.
            * fast/canvas/webgl/resources/small-square-with-colormatch-profile.png: Added.
            * fast/canvas/webgl/resources/small-square-with-colorspin-profile.jpg: Added.
            * fast/canvas/webgl/resources/small-square-with-colorspin-profile.png: Added.
            * fast/canvas/webgl/resources/small-square-with-e-srgb-profile.png: Added.
            * fast/canvas/webgl/resources/small-square-with-smpte-c-profile.png: Added.
            * fast/canvas/webgl/resources/small-square-with-srgb-iec61966-2.1-profile.png: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e65a82f7