Closed
Bug 989054
Opened 11 years ago
Closed 11 years ago
some uses of mDisplayPort in FrameMetrics are wrong now that we also have layer margins for display ports
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
Tracking | Status | |
---|---|---|
firefox29 | --- | unaffected |
firefox30 | --- | fixed |
firefox31 | --- | fixed |
b2g-v1.3 | --- | unaffected |
b2g-v1.4 | --- | fixed |
b2g-v2.0 | --- | fixed |
People
(Reporter: tnikkel, Assigned: kats)
References
Details
Attachments
(4 files, 1 obsolete file)
(deleted),
patch
|
botond
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
botond
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
botond
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
kats
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
http://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/AsyncPanZoomController.cpp#1491
is one example. Other uses should be audited.
Assignee | ||
Comment 1•11 years ago
|
||
This'll do for now but I'm going to file a follow-up bug to replace the use of FrameMetrics on the repaint code path with a different struct.
Assignee: nobody → bugmail.mozilla
Attachment #8401129 -
Flags: review?(botond)
Assignee | ||
Comment 2•11 years ago
|
||
Filed bug 991515 for that.
Updated•11 years ago
|
Attachment #8401129 -
Flags: review?(botond) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8404082 -
Flags: review?(botond)
Assignee | ||
Comment 4•11 years ago
|
||
Not worth figuring out what the corrent thing to pass here is right now.
Attachment #8404083 -
Flags: review?(botond)
Assignee | ||
Comment 5•11 years ago
|
||
Not too happy that we compute the rect even if we're not compiling with rendertrace enabled. Any C++ tricks that would make this nicer without #ifdef'ing stuff? I'm hoping the compiler might just optimize it away after inlining LogRendertraceRect but I don't know that it will since.
Attachment #8404084 -
Flags: review?(botond)
Updated•11 years ago
|
Attachment #8404082 -
Flags: review?(botond) → review+
Updated•11 years ago
|
Attachment #8404083 -
Flags: review?(botond) → review+
Updated•11 years ago
|
Attachment #8404084 -
Flags: review?(botond) → review+
Comment 6•11 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #5)
> Not too happy that we compute the rect even if we're not compiling with
> rendertrace enabled. Any C++ tricks that would make this nicer without
> #ifdef'ing stuff? I'm hoping the compiler might just optimize it away after
> inlining LogRendertraceRect but I don't know that it will since.
CSSRect GetDisplayPortRect()
{
CSSRect baseRect(...);
baseRect.Inflate(...);
return baseRect;
}
...
LogRendertraceRect(GetGuid(), "requested displayport", "yellow", GetDisplayPortRect());
Assignee | ||
Comment 7•11 years ago
|
||
Updated, carrying r+
Attachment #8404084 -
Attachment is obsolete: true
Attachment #8404102 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 8•11 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/86cbe44bf63e
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/1eae92bff6d5
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/c4e120d007fe
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/8013177c1e26
Keywords: checkin-needed
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/86cbe44bf63e
https://hg.mozilla.org/mozilla-central/rev/1eae92bff6d5
https://hg.mozilla.org/mozilla-central/rev/c4e120d007fe
https://hg.mozilla.org/mozilla-central/rev/8013177c1e26
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8401129 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 957668
User impact if declined: things may be painted incorrectly at times. no specific STR but this is a follow-up patch for bug 957668
Testing completed (on m-c, etc.): on m-c
Risk to taking this patch (and alternatives if risky): low-risk
String or IDL/UUID changes made by this patch: none
Attachment #8401129 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•11 years ago
|
Attachment #8404082 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•11 years ago
|
Attachment #8404083 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•11 years ago
|
Attachment #8404102 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•11 years ago
|
status-b2g-v1.3:
--- → unaffected
status-b2g-v1.4:
--- → affected
status-b2g-v2.0:
--- → fixed
status-firefox29:
--- → unaffected
status-firefox30:
--- → affected
status-firefox31:
--- → fixed
Updated•11 years ago
|
Attachment #8404102 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #8404083 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #8404082 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #8401129 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 11•11 years ago
|
||
landing |
Assignee | ||
Comment 12•11 years ago
|
||
landing |
Bustage fix: https://hg.mozilla.org/releases/mozilla-aurora/rev/9c2b0a1b2b17
/me crosses fingers
Assignee | ||
Comment 13•11 years ago
|
||
backout |
That didn't quite fix it. Backed out for now since I can't watch the tree much more. Will reland on Monday.
https://hg.mozilla.org/releases/mozilla-aurora/rev/cf8120f81e28
Assignee | ||
Comment 14•11 years ago
|
||
green landing try |
Got a green try run with some rebasing: https://tbpl.mozilla.org/?tree=Try&rev=2b2723cc9f5f and relanded on aurora:
remote: https://hg.mozilla.org/releases/mozilla-aurora/rev/c5204996e420
remote: https://hg.mozilla.org/releases/mozilla-aurora/rev/65a7823d69df
remote: https://hg.mozilla.org/releases/mozilla-aurora/rev/86d484d7fc28
remote: https://hg.mozilla.org/releases/mozilla-aurora/rev/633c0420e98f
You need to log in
before you can comment on or make changes to this bug.
Description
•