Bug 185511 - [GTK] Implement ImageBuffer::toBGRAData
Summary: [GTK] Implement ImageBuffer::toBGRAData
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-05-10 05:45 PDT by Thibault Saunier
Modified: 2018-05-10 07:51 PDT (History)
5 users (show)

See Also:


Attachments
[GTK] Implement ImageBuffer::toBGRAData (3.18 KB, patch)
2018-05-10 05:49 PDT, Thibault Saunier
no flags Details | Formatted Diff | Diff
Minor typo fix since previous version. (3.18 KB, patch)
2018-05-10 05:51 PDT, Thibault Saunier
mcatanzaro: review+
mcatanzaro: commit-queue-
Details | Formatted Diff | Diff
(In reply to Michael Catanzaro from comment #3) (4.15 KB, patch)
2018-05-10 07:06 PDT, Thibault Saunier
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>