⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 277418 in webkit


Ignore:
Timestamp:
May 12, 2021, 7:59:05 PM (5 years ago)
Author:
Fujii Hironori
Message:

Some webgl/2.0.0/conformance/textures/image_bitmap_from_image_data tests are failing after r277369 if !USE(ACCELERATE)
https://bugs.webkit.org/show_bug.cgi?id=225725

Reviewed by Sam Weinig.

  • platform/graphics/PixelBufferConversion.cpp:

(WebCore::convertImagePixels): Fixed the wrong condition of destination.alphaFormat.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r277411 r277418  
     12021-05-12  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        Some webgl/2.0.0/conformance/textures/image_bitmap_from_image_data tests are failing after r277369 if !USE(ACCELERATE)
     4        https://bugs.webkit.org/show_bug.cgi?id=225725
     5
     6        Reviewed by Sam Weinig.
     7
     8        * platform/graphics/PixelBufferConversion.cpp:
     9        (WebCore::convertImagePixels): Fixed the wrong condition of destination.alphaFormat.
     10
    1112021-05-12  Chris Dumez  <cdumez@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/PixelBufferConversion.cpp

    r277384 r277418  
    205205                convertImagePixelsUnaccelerated<convertSinglePixelUnpremultipliedToUnpremultiplied<PixelFormatConversion::None>>(source, destination, destinationSize);
    206206        } else {
    207             if (destination.alphaFormat == AlphaPremultiplication::Unpremultiplied)
     207            if (destination.alphaFormat == AlphaPremultiplication::Premultiplied)
    208208                convertImagePixelsUnaccelerated<convertSinglePixelPremultipliedToPremultiplied<PixelFormatConversion::Permute>>(source, destination, destinationSize);
    209209            else
Note: See TracChangeset for help on using the changeset viewer.