Closed
Bug 717958
Opened 13 years ago
Closed 13 years ago
OMTC: Access to OGL FPS counter preference should only happen on the main thread
Categories
(Core :: Graphics, defect, P2)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla13
Tracking | Status | |
---|---|---|
blocking-fennec1.0 | --- | beta+ |
People
(Reporter: ajuma, Assigned: BenWa)
References
Details
Attachments
(1 file)
1.16 KB,
patch
|
ajuma
:
review+
|
Details | Diff | Splinter Review |
Bug 683745 made the OGL FPS counter pref 'live', so that changes take effect without a restart. However, with OMTC, this means that we are accessing preferences off the main thread (but we shouldn't be -- see bug 619487). We should either make this pref non-live again, or watch for changes to the pref on the main thread and then send a message to the compositor thread whenever there's a change.
Updated•13 years ago
|
Keywords: fennecnative-betablocker
Reporter | ||
Comment 2•13 years ago
|
||
The correct functioning of the FPS counter itself isn't critical for bug 725095, but if accessing the pref off the main thread can cause other problems, then we need to fix this. Let's be cautious and make this block.
Blocks: land-maple
Updated•13 years ago
|
Priority: -- → P2
Updated•13 years ago
|
blocking-fennec1.0: --- → beta+
Assignee | ||
Comment 3•13 years ago
|
||
Reporter | ||
Comment 4•13 years ago
|
||
Comment on attachment 600552 [details] [diff] [review] Dispatch a readpref event to main thread Review of attachment 600552 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/layers/opengl/LayerManagerOGL.cpp @@ +364,5 @@ > msg += NS_LITERAL_STRING("TEXTURE_RECTANGLE"); > console->LogStringMessage(msg.get()); > } > > + if (!NS_IsMainThread()) { Remove the negation here.
Attachment #600552 -
Flags: review+
Assignee | ||
Updated•13 years ago
|
Whiteboard: [autoland]
Updated•13 years ago
|
Whiteboard: [autoland] → [autoland-in-queue]
Comment 5•13 years ago
|
||
Autoland Patchset: Patches: 600552 Branch: mozilla-central => try Destination: http://hg.mozilla.org/try/pushloghtml?changeset=93d013a929a1 Try run started, revision 93d013a929a1. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=93d013a929a1
Comment 6•13 years ago
|
||
Try run for 93d013a929a1 is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=93d013a929a1 Results (out of 215 total builds): success: 177 warnings: 24 failure: 14 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/autolanduser@mozilla.com-93d013a929a1
Updated•13 years ago
|
Whiteboard: [autoland-in-queue]
Assignee | ||
Comment 7•13 years ago
|
||
https://hg.mozilla.org/projects/maple/rev/f99d62aca00a https://hg.mozilla.org/integration/mozilla-inbound/rev/32fcf3259a47
Assignee: nobody → bgirard
Comment 8•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/32fcf3259a47
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in
before you can comment on or make changes to this bug.
Description
•