Closed
Bug 1348755
Opened 8 years ago
Closed 8 years ago
Turn on 'layers.advanced.outline-layers' by default
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: ethlin, Assigned: ethlin)
References
Details
Attachments
(2 files, 2 obsolete files)
5.63 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
3.70 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
After fixing the clip problem, there are few failures now. I think it's not hard to turn it on by default.
Assignee | ||
Comment 1•8 years ago
|
||
We should handle clip region for nsDisplayOutline in CreateWebRenderCommands.
Attachment #8849419 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 2•8 years ago
|
||
I add DisplayItemLayerProperties for DisplayItemLayer in this patch. This way cannot completely fix invalidate region problem, but it works for some reftests which have visible region change. Bug 1348414 may have a more comprehensive way to fix this problem.
Attachment #8849420 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8849421 -
Flags: review?(matt.woodrow)
Updated•8 years ago
|
Attachment #8849419 -
Flags: review?(matt.woodrow) → review+
Comment 4•8 years ago
|
||
Comment on attachment 8849420 [details] [diff] [review]
Part2. Add DisplayItemLayerProperties
Review of attachment 8849420 [details] [diff] [review]:
-----------------------------------------------------------------
Can we wait until Mason looks into the other solution?
This isn't going to catch a lot of cases, and I don't see the advantage to landing this (and marking reftests), when it's all going to change again soon.
Attachment #8849420 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #4)
> Comment on attachment 8849420 [details] [diff] [review]
> Part2. Add DisplayItemLayerProperties
>
> Review of attachment 8849420 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Can we wait until Mason looks into the other solution?
>
> This isn't going to catch a lot of cases, and I don't see the advantage to
> landing this (and marking reftests), when it's all going to change again
> soon.
Okay, I think I can set the reftest to fails-if since there is only one test has this problem.
Assignee | ||
Comment 6•8 years ago
|
||
With the fix in bug 1348414, we don't need to add DisplayItemLayerProperties. So I just need to add some fuzzy-if to turn on it by default.
Attachment #8849420 -
Attachment is obsolete: true
Attachment #8849421 -
Attachment is obsolete: true
Attachment #8849421 -
Flags: review?(matt.woodrow)
Attachment #8850428 -
Flags: review?(matt.woodrow)
Updated•8 years ago
|
Attachment #8850428 -
Flags: review?(matt.woodrow) → review+
Comment 7•8 years ago
|
||
Comment on attachment 8850428 [details] [diff] [review]
Part2. turn on pref and set fuzzy-if for some reftests
Review of attachment 8850428 [details] [diff] [review]:
-----------------------------------------------------------------
::: modules/libpref/init/all.js
@@ +5641,5 @@
> // Set advanced layers preferences here.
> pref("layers.advanced.border-layers", false);
> #ifdef MOZ_ENABLE_WEBRENDER
> pref("layers.advanced.caret-layers", true);
> +pref("layers.advanced.outline-layers", true);
Note that bug 1349949 is now on the graphics branch, so you'll need to rebase this on top of that. Set the value to 2 here in all.js, and change gfxPrefs.h to use DECL_OVERRIDE_PREF instead of DECL_GFX_PREF.
Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #7)
> Comment on attachment 8850428 [details] [diff] [review]
> Part2. turn on pref and set fuzzy-if for some reftests
>
> Review of attachment 8850428 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: modules/libpref/init/all.js
> @@ +5641,5 @@
> > // Set advanced layers preferences here.
> > pref("layers.advanced.border-layers", false);
> > #ifdef MOZ_ENABLE_WEBRENDER
> > pref("layers.advanced.caret-layers", true);
> > +pref("layers.advanced.outline-layers", true);
>
> Note that bug 1349949 is now on the graphics branch, so you'll need to
> rebase this on top of that. Set the value to 2 here in all.js, and change
> gfxPrefs.h to use DECL_OVERRIDE_PREF instead of DECL_GFX_PREF.
Okay, thanks for the reminder.
Assignee | ||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Pushed by ethlin@mozilla.com:
https://hg.mozilla.org/projects/graphics/rev/0ad88ea3096b
Part1. Handle clipping region for nsDisplayOutline. r=mattwoodrow
https://hg.mozilla.org/projects/graphics/rev/e68abb7ad48a
Part2. Turn the pref on by default and set fuzzy for some reftests. r=mattwoodrow
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 11•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0ad88ea3096b
https://hg.mozilla.org/mozilla-central/rev/e68abb7ad48a
status-firefox55:
--- → fixed
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•