WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
236296
DisplayListRecorder implementations are not able to obtain extra information out of source ImageBuffers
https://bugs.webkit.org/show_bug.cgi?id=236296
Summary
DisplayListRecorder implementations are not able to obtain extra information ...
Kimmo Kinnunen
Reported
2022-02-08 03:47:07 PST
DisplayListRecorder implementations are not able to obtain extra information out of source ImageBitmaps
Attachments
Patch
(19.06 KB, patch)
2022-02-08 03:52 PST
,
Kimmo Kinnunen
no flags
Details
Formatted Diff
Diff
Patch for landing
(18.45 KB, patch)
2022-02-09 02:16 PST
,
Kimmo Kinnunen
no flags
Details
Formatted Diff
Diff
Patch for landing
(18.52 KB, patch)
2022-02-09 03:59 PST
,
Kimmo Kinnunen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Kimmo Kinnunen
Comment 1
2022-02-08 03:52:03 PST
Created
attachment 451233
[details]
Patch
Said Abou-Hallawa
Comment 2
2022-02-08 14:28:46 PST
Comment on
attachment 451233
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=451233&action=review
> Source/WebCore/ChangeLog:3 > + DisplayListRecorder implementations are not able to obtain extra information out of source ImageBitmaps
I think you meant ImageBuffer since ImageBitmap is a class used for offscreen canvas.
> Source/WebCore/ChangeLog:8 > + Pass ImageBitmap& to various recording commands instead of the resource identifier.
Pass ImageBuffer...
> Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.cpp:162 > - recordDrawFilteredImageBuffer({ }, sourceImageRect, filter); > + recordDrawFilteredImageBuffer(sourceImageRect, filter);
Why do we have two versions of recordDrawFilteredImageBuffer()? Can't we have one which takes ImageBuffer*. Some filter effects like <feFlood> do not require sourceImage and this is why it is a pointer.
Kimmo Kinnunen
Comment 3
2022-02-09 02:16:35 PST
Created
attachment 451351
[details]
Patch for landing
Kimmo Kinnunen
Comment 4
2022-02-09 03:58:54 PST
(In reply to Said Abou-Hallawa from
comment #2
)
> I think you meant ImageBuffer since ImageBitmap is a class used for > offscreen canvas.
> Pass ImageBuffer...
> > Why do we have two versions of recordDrawFilteredImageBuffer()? Can't we > have one which takes ImageBuffer*. Some filter effects like <feFlood> do not > require sourceImage and this is why it is a pointer.
Thank for looking, changed.
Kimmo Kinnunen
Comment 5
2022-02-09 03:59:19 PST
Created
attachment 451355
[details]
Patch for landing
EWS
Comment 6
2022-02-09 11:36:38 PST
Committed
r289492
(
247030@main
): <
https://commits.webkit.org/247030@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 451355
[details]
.
Radar WebKit Bug Importer
Comment 7
2022-02-09 11:37:39 PST
<
rdar://problem/88704119
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug