Closed Bug 1776530 Opened 2 years ago Closed 2 years ago

Minor APZUpdater cleanup

Categories

(Core :: Panning and Zooming, task, P3)

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: botond, Assigned: botond)

Details

Attachments

(2 files)

No description provided.

The earlier name dates back to a time when we could use WebRender
but not necessarily use a WebRender thread as the updater thread.

Also add a comment to list the remaining situatins in which this
function can return false.

With the exception of the egde case scenarion in which IsUsingWebRender()
return false.

Also add a comment warning that if RunOnUpdaterThread() were to be called
directly from the updater thread when using WebRender, the implementation
would be incorrect.

Depends on D150308

Attachment #9282892 - Attachment description: Bug 1776530 - Rename APZUpdater::UsingWebRenderUpdaterThread() to IsUsingWebRender(). r=tnikkel → Bug 1776530 - Rename APZUpdater::UsingWebRenderUpdaterThread() to IsConnectedToWebRender(). r=tnikkel
Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6f6fcfd3c0f5
Rename APZUpdater::UsingWebRenderUpdaterThread() to IsConnectedToWebRender(). r=tnikkel
https://hg.mozilla.org/integration/autoland/rev/ec0bd8f37b9a
Assert that APZUpdater::RunOnUpdaterThread() is not called directly from the updater thread. r=tnikkel
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: