Closed
Bug 1141361
Opened 9 years ago
Closed 9 years ago
Reuse the same thread when we start/stop vsync event for the windows vsync thread
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: mchang, Assigned: mchang)
References
Details
Attachments
(1 file)
2.46 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1139253 +++ +++ This bug was initially created as a clone of Bug #1102631 +++ Currently, we call base::Thread::Start()/Stop() when we enable/disable the vsync thread. This will create/delete the thread for Start()/Stop() in the underlying platform. Just reuse the same thread.
Assignee | ||
Comment 1•9 years ago
|
||
Just start / stop the thread once during construction / destruction of the object. Otherwise, we just set the mEnabledVsync flag, which should put the thread to sleep.
Attachment #8574994 -
Flags: review?(jmuizelaar)
Updated•9 years ago
|
Attachment #8574994 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 2•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc18e8a9f98d
Comment 3•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fc18e8a9f98d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•