Bug 185511

Summary: [GTK] Implement ImageBuffer::toBGRAData
Product: WebKit Reporter: Thibault Saunier <tsaunier>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, commit-queue, mcatanzaro, tsaunier, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[GTK] Implement ImageBuffer::toBGRAData
none
Minor typo fix since previous version.
mcatanzaro: review+, mcatanzaro: commit-queue-
(In reply to Michael Catanzaro from comment #3) none

Description Thibault Saunier 2018-05-10 05:45:34 PDT
.
Comment 1 Thibault Saunier 2018-05-10 05:49:58 PDT
Created attachment 340086 [details]
[GTK] Implement ImageBuffer::toBGRAData

This was never implemented but will is required for the MediaStream API
tests.
Comment 2 Thibault Saunier 2018-05-10 05:51:39 PDT
Created attachment 340087 [details]
Minor typo fix since previous version.
Comment 3 Michael Catanzaro 2018-05-10 06:44:52 PDT
Comment on attachment 340087 [details]
Minor typo fix since previous version.

View in context: https://bugs.webkit.org/attachment.cgi?id=340087&action=review

> Source/WebCore/ChangeLog:8
> +        [GTK] Implement ImageBuffer::toBGRAData

The commit title doesn't belong here, you already have it properly up at the top.

> Source/WebCore/platform/graphics/ImageBuffer.cpp:105
> +#if USE(CG) && !PLATFORM(GTK)

Move the CG implementation to ImageBufferCG.cpp, then this condition can become #if !USE(CG) && !PLATFORM(GTK).
Comment 4 Thibault Saunier 2018-05-10 07:06:35 PDT
Created attachment 340088 [details]
(In reply to Michael Catanzaro from comment #3)

> Comment on attachment 340087 [details]
> Minor typo fix since previous version.
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=340087&action=review
> 
> > Source/WebCore/ChangeLog:8
> > +        [GTK] Implement ImageBuffer::toBGRAData
> 
> The commit title doesn't belong here, you already have it properly up at the
> top.

Not sure how that happened, I just used prepareChangeLog, anyway Fixed.

> > Source/WebCore/platform/graphics/ImageBuffer.cpp:105
> > +#if USE(CG) && !PLATFORM(GTK)
> 
> Move the CG implementation to ImageBufferCG.cpp, then this condition can
> become #if !USE(CG) && !PLATFORM(GTK).

Done.
Comment 5 WebKit Commit Bot 2018-05-10 07:50:47 PDT
Comment on attachment 340088 [details]
(In reply to Michael Catanzaro from comment #3)

Clearing flags on attachment: 340088

Committed r231638: <https://trac.webkit.org/changeset/231638>
Comment 6 WebKit Commit Bot 2018-05-10 07:50:49 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2018-05-10 07:51:41 PDT
<rdar://problem/40127886>