1,295
edits
Line 41: | Line 41: | ||
Many filter primitives take parameters. There are a few things to watch out for: | Many filter primitives take parameters. There are a few things to watch out for: | ||
* The common animation infrastructure shared by the compositor and style system needs to be extended to support interpolation between filter objects, with their parameters. | * The common animation infrastructure shared by the compositor and style system needs to be extended to support interpolation between filter objects, with their parameters. | ||
* When a CSS transition or animation applies to parameters of filter primitives in an SVG <filter> element (not yet supported in Gecko, but will have to be eventually since the SVG and CSS WGs have resolved to promote some of those parameters from attributes to CSS properties), it can affect the rendering of the filtered content but there is no easy way to express this to the OMTC compositor so it can do OMTA of those parameters. ''Proposal: ignore this issue for now and not support OMTA of those parameters'' | * When a CSS transition or animation applies to parameters of filter primitives in an SVG <filter> element (not yet supported in Gecko, but will have to be eventually since the SVG and CSS WGs have resolved to promote some of those parameters from attributes to CSS properties), it can affect the rendering of the filtered content but there is no easy way to express this to the OMTC compositor so it can do OMTA of those parameters. | ||
** ''Proposal: ignore this issue for now and not support OMTA of those parameters'' | |||
* Some primitives (<feImage>, custom filters) take parameters that are images. These will have to be external to the filter object and supplied separately when the filter object is used. | * Some primitives (<feImage>, custom filters) take parameters that are images. These will have to be external to the filter object and supplied separately when the filter object is used. | ||
** ''Proposal: When using a filter object with Moz2D, pass in a list of Moz2D SourceSurfaces to use as the image parameters'' | ** ''Proposal: When using a filter object with Moz2D, pass in a list of Moz2D SourceSurfaces to use as the image parameters'' |
edits