Closed Bug 1685345 Opened 5 years ago Closed 5 years ago

Consolidate WR texture allocation code into a module

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: kvark, Assigned: kvark)

Details

Attachments

(1 file)

We have the following modules in the root:

  • texture_cache.rs
  • slab_allocator.rs
  • atlas_allocator.rs
  • guillotine_allocator.rs

I believe all those are close in semantics and should all be moved into a module. Something like this:

  • src/texture_cache/mod.rs
  • src/texture_cache/allocator/slab.rs
  • src/texture_cache/allocator/atlas.rs
  • src/texture_cache/allocator/guillotine.rs
Summary: Consolidate texture allocation code → Consolidate WR texture allocation code into a module
Assignee: nobody → dmalyshau
Status: NEW → ASSIGNED
Pushed by dmalyshau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b8e9cf21898a Move WR texture packing into a module r=nical
Pushed by dmalyshau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/04d20091236f Move WR texture packing into a module r=nical

Was a harmless accidental WR warning due to a slight change in includes together with the logic that uses them (in an unrelated change). Re-landed now.

Flags: needinfo?(dmalyshau)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: