Closed
Bug 1450249
Opened 7 years ago
Closed 7 years ago
blob-invalidation: Round the bounds
Categories
(Core :: Graphics: WebRender, defect, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla61
| Tracking | Status | |
|---|---|---|
| firefox61 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
Attachments
(1 file)
No description provided.
| Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8963932 [details]
Bug 1450249. blob-invalidation: Round the bounds.
https://reviewboard.mozilla.org/r/232770/#review238480
::: gfx/layers/wr/WebRenderCommandBuilder.cpp:543
(Diff revision 1)
> + LayoutDeviceIntPoint offset = RoundedToInt(bounds.TopLeft());
> + bounds = LayoutDeviceRect(offset, LayoutDeviceSize(RoundedToInt(bounds).Size()));
How is this different from
bounds = LayoutDeviceRect(RoundedToInt(bounds));
?
Updated•7 years ago
|
| Assignee | ||
Comment 4•7 years ago
|
||
The rounding of Rectangles is different https://searchfox.org/mozilla-central/source/gfx/2d/BaseRect.h#474
The rectangle rounding might be more correct, but I'd like to match the existing code for now.
Comment 5•7 years ago
|
||
I'm not sure I understand. Both of these round the edges. Can you give me an example where the two would be different?
| Assignee | ||
Comment 6•7 years ago
|
||
I misread the original code as RoundedToInt(bounds.Size()))
| Comment hidden (mozreview-request) |
Comment 8•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8963932 [details]
Bug 1450249. blob-invalidation: Round the bounds.
https://reviewboard.mozilla.org/r/232770/#review239010
Attachment #8963932 -
Flags: review?(mstange) → review+
Pushed by jmuizelaar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/763909764666
blob-invalidation: Round the bounds. r=mstange
Comment 10•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•