RESOLVED FIXED 206516
Make RenderingMode and AlphaPremultiplication enum classes and move them to separate headers
https://bugs.webkit.org/show_bug.cgi?id=206516
Summary Make RenderingMode and AlphaPremultiplication enum classes and move them to s...
Said Abou-Hallawa
Reported 2020-01-20 20:03:40 PST
RenderingMode and AlphaPremultiplication need to be encoding and decoding when they are sent from the WebProcess to the GPUProcess.
Attachments
Patch (41.67 KB, patch)
2020-01-20 20:29 PST, Said Abou-Hallawa
no flags
Patch (41.98 KB, patch)
2020-01-20 21:23 PST, Said Abou-Hallawa
no flags
Patch (45.53 KB, patch)
2020-01-20 21:41 PST, Said Abou-Hallawa
no flags
Patch (46.43 KB, patch)
2020-01-20 22:05 PST, Said Abou-Hallawa
no flags
Patch (42.13 KB, patch)
2020-01-21 15:37 PST, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2020-01-20 20:29:47 PST
Said Abou-Hallawa
Comment 2 2020-01-20 21:23:37 PST
Said Abou-Hallawa
Comment 3 2020-01-20 21:41:12 PST
Said Abou-Hallawa
Comment 4 2020-01-20 22:05:52 PST
WebKit Commit Bot
Comment 5 2020-01-21 14:53:11 PST
Comment on attachment 388279 [details] Patch Rejecting attachment 388279 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'apply-attachment', '--no-update', '--non-interactive', 388279, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Logging in as commit-queue@webkit.org... Fetching: https://bugs.webkit.org/attachment.cgi?id=388279&action=edit Fetching: https://bugs.webkit.org/show_bug.cgi?id=206516&ctype=xml&excludefield=attachmentdata Processing 1 patch from 1 bug. Processing patch 388279 from bug 206516. Fetching: https://bugs.webkit.org/attachment.cgi?id=388279 Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Tim Horton']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 38 diffs from patch file(s). patching file Source/WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebKitLegacy/mac/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebCore/Headers.cmake patching file Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp patching file Source/WebCore/WebCore.xcodeproj/project.pbxproj Hunk #3 succeeded at 25022 (offset 6 lines). Hunk #4 succeeded at 25199 (offset 6 lines). Hunk #5 succeeded at 29057 (offset 12 lines). Hunk #6 FAILED at 31387. Hunk #7 succeeded at 32033 (offset 13 lines). Hunk #8 FAILED at 32084. 2 out of 8 hunks FAILED -- saving rejects to file Source/WebCore/WebCore.xcodeproj/project.pbxproj.rej patching file Source/WebCore/bindings/js/SerializedScriptValue.cpp patching file Source/WebCore/css/CSSFilterImageValue.cpp patching file Source/WebCore/html/CustomPaintCanvas.cpp patching file Source/WebCore/html/HTMLCanvasElement.cpp patching file Source/WebCore/html/ImageBitmap.cpp patching file Source/WebCore/html/OffscreenCanvas.cpp patching file Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp patching file Source/WebCore/html/canvas/ImageBitmapRenderingContext.cpp patching file Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp patching file Source/WebCore/html/shadow/MediaControlElements.cpp patching file Source/WebCore/page/FrameSnapshotting.cpp patching file Source/WebCore/platform/graphics/AlphaPremultiplication.h patching file Source/WebCore/platform/graphics/BitmapImage.cpp patching file Source/WebCore/platform/graphics/GraphicsContext.h patching file Source/WebCore/platform/graphics/GraphicsTypes.cpp patching file Source/WebCore/platform/graphics/GraphicsTypes.h patching file Source/WebCore/platform/graphics/ImageBuffer.h patching file Source/WebCore/platform/graphics/RenderingMode.h patching file Source/WebCore/platform/graphics/ShadowBlur.cpp patching file Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp patching file Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp patching file Source/WebCore/platform/graphics/cg/ImageBufferDataCG.h patching file Source/WebCore/platform/graphics/filters/Filter.h patching file Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp patching file Source/WebCore/platform/graphics/win/ImageBufferDirect2D.cpp patching file Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp patching file Source/WebCore/rendering/RenderLayer.cpp Hunk #1 succeeded at 6941 (offset 36 lines). patching file Source/WebCore/rendering/shapes/Shape.cpp patching file Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp patching file Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp patching file Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp patching file Source/WebCore/svg/graphics/SVGImage.cpp patching file Source/WebKitLegacy/mac/WebCoreSupport/WebContextMenuClient.mm Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Tim Horton']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: https://webkit-queues.webkit.org/results/13309352
Said Abou-Hallawa
Comment 6 2020-01-21 15:37:15 PST
WebKit Commit Bot
Comment 7 2020-01-21 16:26:29 PST
Comment on attachment 388362 [details] Patch Clearing flags on attachment: 388362 Committed r254893: <https://trac.webkit.org/changeset/254893>
WebKit Commit Bot
Comment 8 2020-01-21 16:26:31 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9 2020-01-21 16:27:15 PST
Darin Adler
Comment 10 2020-01-21 17:16:15 PST
Comment on attachment 388362 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388362&action=review > Source/WebCore/platform/graphics/AlphaPremultiplication.h:37 > +WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, AlphaPremultiplication); Where is this function defined?
David Kilzer (:ddkilzer)
Comment 11 2020-01-22 05:16:28 PST
(In reply to WebKit Commit Bot from comment #7) > Comment on attachment 388362 [details] > Patch > > Clearing flags on attachment: 388362 > > Committed r254893: <https://trac.webkit.org/changeset/254893> Follow-up build fix for Windows 10 Debug Build: <https://trac.webkit.org/changeset/254916> Build failure: <https://build.webkit.org/builders/Apple%20Win%2010%20Debug%20%28Build%29/builds/9682>
Said Abou-Hallawa
Comment 12 2020-01-22 10:14:05 PST
(In reply to Darin Adler from comment #10) > Comment on attachment 388362 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=388362&action=review > > > Source/WebCore/platform/graphics/AlphaPremultiplication.h:37 > > +WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, AlphaPremultiplication); > > Where is this function defined? WebCore/platform/graphics/GraphicsTypes.cpp
Said Abou-Hallawa
Comment 13 2020-01-22 10:15:08 PST
(In reply to David Kilzer (:ddkilzer) from comment #11) > (In reply to WebKit Commit Bot from comment #7) > > Comment on attachment 388362 [details] > > Patch > > > > Clearing flags on attachment: 388362 > > > > Committed r254893: <https://trac.webkit.org/changeset/254893> > > Follow-up build fix for Windows 10 Debug Build: > > <https://trac.webkit.org/changeset/254916> > > Build failure: > > <https://build.webkit.org/builders/Apple%20Win%2010%20Debug%20%28Build%29/ > builds/9682> Thanks David!
Note You need to log in before you can comment on or make changes to this bug.