Closed Bug 1558276 Opened 6 years ago Closed 6 years ago

Unify the prefs layers.dump and layers.dump-host-layers

Categories

(Core :: Graphics: Layers, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: botond, Assigned: botond)

Details

Attachments

(1 file)

We have two prefs for dumping the compositor-side layer tree: layers.dump and layers.dump-host-layers.

They have subtly different behaviours:

  • layers.dump-host-layers is a no-op in a non-MOZ_DUMP_PAINTING build (e.g. a default opt build)
  • layers.dump is a no-op for advanced layers, which seems to be the default, at least for local builds

I can see an argument for keeping both (layers.dump-host-layers for symmetry with layers.dump-client-layers, layers.dump because a lot of people know and use that), but there's no reason they should have subtly different behaviour; we should make them exact synonyms. More specifically, they should both work in opt builds, and they should both work for advanced layers.

Priority: -- → P3

Now they both work in opt builds, and they both work with advanced layers.

For consistency, layers.dump-client-layers is also modified to work in
opt builds.

Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f09dc8e08fa1 Make layers.dump and layers.dump-host-layers synonyms. r=kats
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: