WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
208699
[GPUP] Convert CDMFactory away from platformStrategies() and use WebProcess settings instead
https://bugs.webkit.org/show_bug.cgi?id=208699
Summary
[GPUP] Convert CDMFactory away from platformStrategies() and use WebProcess s...
Jer Noble
Reported
2020-03-05 22:38:48 PST
[GPUP] Convert CDMFactory away from platformStrategies() and use WebProcess settings instead
Attachments
Patch
(7.66 KB, patch)
2020-03-05 22:43 PST
,
Jer Noble
youennf
: review+
Details
Formatted Diff
Diff
Patch for landing
(8.50 KB, patch)
2020-03-06 15:11 PST
,
Jer Noble
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Patch for landing
(8.50 KB, patch)
2020-03-06 16:36 PST
,
Jer Noble
jer.noble
: commit-queue+
Details
Formatted Diff
Diff
Patch for landing
(8.50 KB, patch)
2020-03-06 16:37 PST
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2020-03-05 22:43:35 PST
Created
attachment 392682
[details]
Patch
youenn fablet
Comment 2
2020-03-06 05:35:48 PST
Comment on
attachment 392682
[details]
Patch r=me as long as bots are green. View in context:
https://bugs.webkit.org/attachment.cgi?id=392682&action=review
> Source/WebKit/WebProcess/WebProcess.cpp:2011 > + cdmFactories.clear();
This seems a bit odd to get the vector, clear it and then refill it and passing it as a mutable parameter. I guess this might help for extensibility. Could we just have something like : static inline Vector<CDMFactory*> computeFactories() { if (useGPUProcessForMedia) return ensureGPUProcessConnection().cdmFactory().computeFactories(); return CDMFactory::computePlatformFactories(); } ... CDMFactory::registerFactories(computeFactories())
> Source/WebKit/WebProcess/WebProcess.cpp:2013 > + if (useGPUProcessForMedia)
Probably missing a ENABLE(GPU_PROCESS)
Aakash Jain
Comment 3
2020-03-06 14:18:09 PST
Please check
https://ews-build.webkit.org/#/builders/8/builds/17625/steps/8/logs/stdio
Jer Noble
Comment 4
2020-03-06 15:09:39 PST
(In reply to Aakash Jain from
comment #3
)
> Please check >
https://ews-build.webkit.org/#/builders/8/builds/17625/steps/8/logs/stdio
Yes, that's what Youenn's comment about a missing ENABLE(GPU_PROCESS) guard addresses.
Jer Noble
Comment 5
2020-03-06 15:10:52 PST
(In reply to youenn fablet from
comment #2
)
> Comment on
attachment 392682
[details]
> Patch > > r=me as long as bots are green. > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=392682&action=review
> > > Source/WebKit/WebProcess/WebProcess.cpp:2011 > > + cdmFactories.clear(); > > This seems a bit odd to get the vector, clear it and then refill it and > passing it as a mutable parameter. > I guess this might help for extensibility.
I took a pass at this, but it requires a lot of re-architecture of port-specific code; it should be left as a clean-up task.
Jer Noble
Comment 6
2020-03-06 15:11:47 PST
Created
attachment 392782
[details]
Patch for landing
WebKit Commit Bot
Comment 7
2020-03-06 16:28:01 PST
ChangeLog entry in Source/WebKitLegacy/mac/ChangeLog contains OOPS!.
WebKit Commit Bot
Comment 8
2020-03-06 16:28:15 PST
Comment on
attachment 392782
[details]
Patch for landing Rejecting
attachment 392782
[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-01', 'validate-changelog', '--check-oops', '--non-interactive', 392782, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebKitLegacy/mac/ChangeLog contains OOPS!. Full output:
https://webkit-queues.webkit.org/results/13335013
Jer Noble
Comment 9
2020-03-06 16:36:54 PST
Created
attachment 392805
[details]
Patch for landing
Jer Noble
Comment 10
2020-03-06 16:37:44 PST
Created
attachment 392806
[details]
Patch for landing
WebKit Commit Bot
Comment 11
2020-03-06 17:25:35 PST
Comment on
attachment 392806
[details]
Patch for landing Clearing flags on attachment: 392806 Committed
r258040
: <
https://trac.webkit.org/changeset/258040
>
Radar WebKit Bug Importer
Comment 12
2020-03-06 17:58:13 PST
<
rdar://problem/60178373
>
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