Closed Bug 1348755 Opened 8 years ago Closed 8 years ago

Turn on 'layers.advanced.outline-layers' by default

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: ethlin, Assigned: ethlin)

References

Details

Attachments

(2 files, 2 obsolete files)

After fixing the clip problem, there are few failures now. I think it's not hard to turn it on by default.
See Also: → 1348414
We should handle clip region for nsDisplayOutline in CreateWebRenderCommands.
Attachment #8849419 - Flags: review?(matt.woodrow)
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)
Attachment #8849421 - Flags: review?(matt.woodrow)
Attachment #8849419 - Flags: review?(matt.woodrow) → review+
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)
(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.
Depends on: 1348414
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)
Attachment #8850428 - Flags: review?(matt.woodrow) → review+
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.
(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.
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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: