Closed Bug 1528753 Opened 7 years ago Closed 7 years ago

Automatically compute the image tiling origin

Categories

(Core :: Graphics: WebRender, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: nical, Assigned: nical)

Details

Attachments

(2 files)

This is a step in the blob recoordination series. Currently the tiling origin of an image is hard-coded to (0, 0). In this bug I will add a bit of webrender internal glue to compute the origin automatically from a an image rect provided which will eventually correspond to the blob visible area.

The tiling origin is computed withing image::tiles instead of being provided to the function.
In addition, the image rect in device space is exposed as function parameter.
In a followup, callers will have to determine the correct image rect using the blob image's visible area.

Assignee: nobody → nical.bugzilla
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d88b5f155edc Compute the layout space tiling origin. r=kvark https://hg.mozilla.org/integration/autoland/rev/325a242a942c Update euclid dependency. r=kvark
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: