Closed
Bug 1415816
Opened 7 years ago
Closed 7 years ago
Integrate gfxCriticalNote/gfxCriticalError for WebRender in gpu process
Categories
(Core :: Graphics: WebRender, enhancement, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox57 | --- | unaffected |
firefox58 | --- | unaffected |
People
(Reporter: jerry, Assigned: jerry)
References
Details
(Whiteboard: [wr-reserve])
Attachments
(1 file, 1 obsolete file)
7.39 KB,
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1399389 +++ In bug 1399389, the wr error/warn! log could be redirected to gfxCriticalNote/Error. But that initialization code doesn't used in gpu process. We still can't see the gfx log in gpu process. This bug try to do the similar things for gpu process.
Assignee | ||
Comment 1•7 years ago
|
||
MozReview-Commit-ID: 3Mey7XRYRn6
Attachment #8926791 -
Flags: review?(bugmail)
Comment 2•7 years ago
|
||
Comment on attachment 8926791 [details] [diff] [review] integrate gfxCriticalNote/gfxCriticalError for WebRender in gpu process. Review of attachment 8926791 [details] [diff] [review]: ----------------------------------------------------------------- I like that you put the init/cleanup stuff next to the wr::RenderThread init/cleanup in GPUParent. For consistency, can we also do the same for the UI-process equivalent? That is, instead of putting the code in gfxPlatform::InitWebRenderConfig, can we instead put it next to http://searchfox.org/mozilla-central/rev/c99d035f00dd894feff38e4ad28a73fb679c63a6/gfx/thebes/gfxPlatform.cpp#1043 ? Similar for shutdown, can we put it in ShutdownLayersIPC? ::: gfx/webrender_bindings/WebRenderAPI.cpp @@ +138,5 @@ > layers::SynchronousTask* mTask; > }; > > +//static > +void for consistency with other places, do: /*static*/ void @@ +147,5 @@ > + mozilla::wr::wr_init_external_log_handler(wr::LogLevelFilter::Error); > +} > + > +//static > +void ditto
Updated•7 years ago
|
Blocks: stage-wr-trains
status-firefox57:
--- → unaffected
status-firefox58:
--- → unaffected
Priority: P3 → P1
Updated•7 years ago
|
Whiteboard: [wr-reserve]
Assignee | ||
Comment 3•7 years ago
|
||
Call the init() call before the renderThread::start(), and call the shutdown() after the renderThread::shutdown(). The content process could call some WR related functions, so I also need to redirect the log to gecko for content process.
Attachment #8927119 -
Flags: review?(bugmail)
Assignee | ||
Updated•7 years ago
|
Attachment #8926791 -
Attachment is obsolete: true
Attachment #8926791 -
Flags: review?(bugmail)
Comment 4•7 years ago
|
||
Comment on attachment 8927119 [details] [diff] [review] integrate gfxCriticalNote/gfxCriticalError for WebRender in gpu process. v2 Review of attachment 8927119 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, thanks!
Attachment #8927119 -
Flags: review?(bugmail) → review+
Assignee | ||
Comment 5•7 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3ed7f1a9c85c07611c118c87f947bef9a27dfec9
Assignee | ||
Comment 6•7 years ago
|
||
Please land the attachment 8927119 [details] [diff] [review] to m-c.
Keywords: checkin-needed
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/14c25243ff09 integrate gfxCriticalNote/gfxCriticalError for WebRender in gpu process. r=kats
Keywords: checkin-needed
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/14c25243ff09
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•