Closed Bug 1454978 Opened 7 years ago Closed 7 years ago

Enable POMTP tiling when we use skia on windows on nightly

Categories

(Core :: Graphics: Layers, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(5 files)

This is for enabling the `layers.enable-tiles-if-skia-pomtp` and `layers.omtp.paint-workers` prefs on windows on nightly. Note: these prefs will only have effect on users that are using skia (AKA not hardware accelerated). You can opt into this by setting `gfx.direct2d.disabled` to true.
Blocks: 1454980
(In reply to Ryan Hunt [:rhunt] from comment #0) > This is for enabling the `layers.enable-tiles-if-skia-pomtp` and > `layers.omtp.paint-workers` prefs on windows on nightly. > Boom!! bp-7106396a-f342-40f4-a678-087d90180418
(In reply to Ekanan Ketunuti from comment #1) > (In reply to Ryan Hunt [:rhunt] from comment #0) > > This is for enabling the `layers.enable-tiles-if-skia-pomtp` and > > `layers.omtp.paint-workers` prefs on windows on nightly. > > > > Boom!! bp-7106396a-f342-40f4-a678-087d90180418 and bp-7011586a-5171-46b0-acdd-3108d0180419
(In reply to Ekanan Ketunuti from comment #2) > (In reply to Ekanan Ketunuti from comment #1) > > (In reply to Ryan Hunt [:rhunt] from comment #0) > > > This is for enabling the `layers.enable-tiles-if-skia-pomtp` and > > > `layers.omtp.paint-workers` prefs on windows on nightly. > > > > > > > Boom!! bp-7106396a-f342-40f4-a678-087d90180418 > > and bp-7011586a-5171-46b0-acdd-3108d0180419 Those look like they're from some incomplete code in gfxPlatform for pref configuration. That will be fixed. https://treeherder.mozilla.org/#/jobs?repo=try&revision=200b0791d242272ce8dd78221e4ed746509a39d4 I was able to figure out what was causing the try assertion, it looks like a race condition in SourceSurfaceSkia. Nothing that would actually affect anyone though, it would just hit the assertion. There are some fuzzy value changes that will need to happen. I have a patch written but realized that as this will only be enabled in nightly once this goes the beta those fuzzy value changes will be out of date and start causing failures. So I need to think about that a little more. The rest can be reviewed now though.
Comment on attachment 8971050 [details] Bug 1454978 - Move MOZ_ASSERT(mIsMapped) into mChangeMutex. https://reviewboard.mozilla.org/r/239782/#review245892 Should this really be a release assert?
Attachment #8971050 - Flags: review?(bas) → review+
Attachment #8971051 - Flags: review?(bas) → review+
Comment on attachment 8971052 [details] Bug 1454978 - Make OMTP feature detection not depend on tiling. https://reviewboard.mozilla.org/r/239786/#review245896
Attachment #8971052 - Flags: review?(bas) → review+
Comment on attachment 8971053 [details] Bug 1454978 - Enable tiled parallel OMTP when we are using skia on windows on nightly. https://reviewboard.mozilla.org/r/239788/#review245898
Attachment #8971053 - Flags: review?(bas) → review+
(In reply to Bas Schouten (:bas.schouten) from comment #8) > Comment on attachment 8971050 [details] > Bug 1454978 - Move MOZ_ASSERT(mIsMapped) into mChangeMutex. > > https://reviewboard.mozilla.org/r/239782/#review245892 > > Should this really be a release assert? No it shouldn't, that should've been reverted back. I'll fix that.
Attachment #8971694 - Flags: review?(bas) → review+
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/4317518ef415 Move MOZ_ASSERT(mIsMapped) into mChangeMutex. r=bas https://hg.mozilla.org/integration/mozilla-inbound/rev/0caaa2b6f3a0 Cleanup tiling prefs in all.js. r=bas https://hg.mozilla.org/integration/mozilla-inbound/rev/2ba500ed529b Make OMTP feature detection not depend on tiling. r=bas https://hg.mozilla.org/integration/mozilla-inbound/rev/a9f8c9c32b95 Enable tiled parallel OMTP when we are using skia on windows on nightly. r=bas https://hg.mozilla.org/integration/mozilla-inbound/rev/c460245ddcff Update test fuzziness. r=bas
Depends on: 1458462
Depends on: 1458480
Regressions: 1553514
Regressions: 1576308
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: