Page MenuHomePhabricator

Bug 1579235 - Part 2 - Refactor some of the tile map handling code.
ClosedPublic

Authored by gw on Feb 13 2020, 5:07 AM.

Details

Summary

Simplify some of the logic related to handling multiple
compositor surfaces in future, specifically:

  • Only rebuild the tiles map when the tile rect changes.
  • Remove need for tiles_to_draw array.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

gw created this revision.Feb 13 2020, 5:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2020, 5:07 AM
phab-bot requested review of this revision.Feb 13 2020, 5:07 AM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: Restricted Project.
nical accepted this revision.Feb 13 2020, 10:33 AM
This revision is now accepted and ready to land.Feb 13 2020, 10:33 AM
Bert accepted this revision.Feb 13 2020, 6:08 PM
Bert added inline comments.
gfx/wr/webrender/src/picture.rs
2393

Minor-- this could be part of the above if body?