Closed Bug 1298980 Opened 9 years ago Closed 9 years ago

Initialize AsyncPanZoomController global state in GPU process

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

Details

Attachments

(1 file, 2 obsolete files)

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.
Attached patch apz-global-state.patch (obsolete) — Splinter Review
Attachment #8786132 - Flags: review?(bugmail)
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-
Attached patch init-apz-global.patch (obsolete) — Splinter Review
Attachment #8786132 - Attachment is obsolete: true
Attachment #8786985 - Flags: review?(bugmail)
Forgot an assert.
Attachment #8786985 - Attachment is obsolete: true
Attachment #8786985 - Flags: review?(bugmail)
Attachment #8786987 - Flags: review?(bugmail)
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+
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
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: