On Monday 2019-07-08 15:21 -0700, Connor Brewster wrote: > Hi Ehsan, > > Currently, the plan is to develop this feature behind a pref flag that will > be off by default. We haven't decided the best way forward for enabling > this feature by default yet. We have two possible options: > 1. Add backdrop filter support to the other render backends.
This seems like a reasonable option. > 2. Rely on an @supports media query to determine if backdrop-filter is > supported (this would check for the backdrop-filter pref flag and check if > WebRender is enabled). If we choose this route, we need to remove any > dynamic fallbacks to the software renderer that may occur when using > backdrop-filter. Currently WebRender does not support all SVG filters, so > these would need to be fully implemented for this approach to work. It's not clear to me what this option means in terms of what you're proposing to implement and ship. @supports is a feature that web developers can use -- and it should clearly match whether the feature is supported. However, I think what you're suggesting here is that you might ship the feature only when WebRender is enabled -- I think that's something that requires further discussion, given the confusion it would cause in the web development world. It also seems (?) like you're suggesting something else about limiting which filters are usable to only those that have a GPU implementation in WebRender -- but it's not clear to me if that's for backdrop-filter only, or also for the filter property -- when WebRender is enabled. -David > > > * Do we have other web-exposed features that are only supported when > WebRender is enabled? > > I don't believe we have any other web-exposed features only supported by > WebRender at the moment. > > > * How do we plan to communicate to web developers (who may not > necessarily know/care what WebRender is) where this feature is usable? > > This is a good thing to keep in mind when determining the right approach. > If we decide to implement backdrop-filter on all backends, this won't be an > issue; otherwise, if we go with approach 2, we would need to tell web > developers to rely on the @supports media query. > > > * What happens to the DevTools integration a) when WebRender is disabled > on the target Firefox instance, and b) when WebRender is disabled on the > target Firefox instance but enabled on the host instance (e.g. when > debugging Fennec on Windows with the right NVIDIA GPU driver). > > Currently, DevTools only checks if the backdrop-filter pref is enabled and > doesn't check if WebRender is enabled. If we decide on approach 2, we would > need to check for the cases that you mentioned. > > Thanks, > Connor > > > On Fri, Jul 5, 2019 at 7:23 AM Ehsan Akhgari <ehsan.akhg...@gmail.com> > wrote: > > > On Mon, Jul 1, 2019 at 8:54 PM Connor Brewster <cbrews...@mozilla.com> > > wrote: > > > >> Platform coverage: All platforms using the Gecko rendering engine > >> (WebRender enabled only) > >> > >> Target release: Firefox 71 (WebRender enabled only) > >> > >> DevTools bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1561060 > >> > > > > Hi Connor, > > > > Since this feature is only enabled based on WebRender being enabled, I > > have a few questions for you: > > > > * Do we have other web-exposed features that are only supported when > > WebRender is enabled? > > > > * How do we plan to communicate to web developers (who may not necessarily > > know/care what WebRender is) where this feature is usable? > > > > * What happens to the DevTools integration a) when WebRender is disabled > > on the target Firefox instance, and b) when WebRender is disabled on the > > target Firefox instance but enabled on the host instance (e.g. when > > debugging Fennec on Windows with the right NVIDIA GPU driver). > > > > Thanks, > > -- > > Ehsan > > > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform -- π L. David Baron http://dbaron.org/ π π’ Mozilla https://www.mozilla.org/ π Before I built a wall I'd ask to know What I was walling in or walling out, And to whom I was like to give offense. - Robert Frost, Mending Wall (1914) _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform