Closed
Bug 1883873
Opened 10 months ago
Closed 10 months ago
Make SurfaceInfo::get_surface_rect return a DeviceIntRect
Categories
(Core :: Graphics: WebRender, task, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
125 Branch
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
References
(Regressed 2 open bugs)
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•10 months ago
|
||
While investigating why get_surface_rect sometimes returns an empty rect (causing bad render task sizes), I noticed that all users of get_surface_rect use it to size surfaces, rely on the returned rect to be snapped to integer coordinates, and some even round the coordinates a second time. The documentation of the function states that its purpose is to provide a rect suitable for surface allocation. This patch bakes the expectation into the type and removes some redundant operations.
Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eae4f8752721
Make SurfaceInfo::get_surface_rect return a DeviceIntRect. r=gfx-reviewers,gw
Comment 3•10 months ago
•
|
||
Backed out for causing webrender bustages in conftest.c
- Backout link
- Push with failures
- Failure Log
- Failure lines: [servo-fontconfig-sys 5.1.0] conftest.c:85:26: fatal error: atomic.h: No such file or directory
subprocess.CalledProcessError: Command '['../target/release/wrench', '--no-scissor', '--headless', 'reftest']' died with <Signals.SIGABRT: 6>.
Flags: needinfo?(nical.bugzilla)
Assignee | ||
Comment 4•10 months ago
|
||
The errors look unrelated and I'm not getting them on try. I'll rebase and reland.
Flags: needinfo?(nical.bugzilla)
Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/038ff8035b29
Make SurfaceInfo::get_surface_rect return a DeviceIntRect. r=gfx-reviewers,gw
Comment 6•10 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 10 months ago
status-firefox125:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•