[Webkit-unassigned] [Bug 149820] WebCore::IOSurface should ask the IOSurface for the pixel format instead of caching it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 5 16:09:08 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=149820

--- Comment #4 from Beth Dakin <bdakin at apple.com> ---
(In reply to comment #3)
> Comment on attachment 262470 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=262470&action=review
> 
> > Source/WebCore/platform/graphics/cocoa/IOSurface.mm:242
> > +    if (pixelFormat == 'BGRA')
> > +        return Format::RGBA;
> 
> I wonder if we should call the format BGRA since that's what it really is
> 

NOOOOOOOOO

> > Source/WebCore/platform/graphics/cocoa/IOSurface.mm:243
> > +#if PLATFORM(IOS)
> 
> Why is this (and the other yuv stuff) iOS specific? Only the transform part
> should be iOS specific.
> 
> That will fix your build error, too.

Okay!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151005/b34e1bd5/attachment.html>


More information about the webkit-unassigned mailing list