Closed
Bug 1298980
Opened 9 years ago
Closed 9 years ago
Initialize AsyncPanZoomController global state in GPU process
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla51
| Tracking | Status | |
|---|---|---|
| firefox51 | --- | fixed |
People
(Reporter: rhunt, Assigned: rhunt)
Details
Attachments
(1 file, 2 obsolete files)
|
4.74 KB,
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
In the GPU process we should call AsyncPanZoomController::InitializeGlobalState ahead of the lazy initialization in APZCTreeManager. This will let us make sure it's on the main thread.
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8786132 -
Flags: review?(bugmail)
Comment 2•9 years ago
|
||
Comment on attachment 8786132 [details] [diff] [review]
apz-global-state.patch
Review of attachment 8786132 [details] [diff] [review]:
-----------------------------------------------------------------
Can we instead move the first two lines in the APZCTreeManager constructor (the assert and the call to AsyncPanZoomController) into a new static APZCTreeManager::InitializeGlobalState function and call that from GPUParent? Then we don't have to expose all those internal apz headers because GPUParent will not need to include AsyncPanZoomController.h.
Attachment #8786132 -
Flags: review?(bugmail) → review-
| Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8786132 -
Attachment is obsolete: true
Attachment #8786985 -
Flags: review?(bugmail)
| Assignee | ||
Comment 4•9 years ago
|
||
Forgot an assert.
Attachment #8786985 -
Attachment is obsolete: true
Attachment #8786985 -
Flags: review?(bugmail)
Attachment #8786987 -
Flags: review?(bugmail)
Comment 5•9 years ago
|
||
Comment on attachment 8786987 [details] [diff] [review]
init-apz-global.patch
Review of attachment 8786987 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks!
Attachment #8786987 -
Flags: review?(bugmail) → review+
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/246d2a65316a
Initialize AsyncPanZoomController global state in GPU Process. r=kats
Keywords: checkin-needed
Comment 7•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•