+12
−0
Loading
Bug 1689245 - replace CompositorWidget::ClearBeforePaint with GetTransparentRegion. r=mattwoodrow CLOSED TREE ClearBeforePaint put the responsibility of clearing the current frame's DrawTarget onto the widget. This doesn't compose well with WR RenderCompositor that may do their own internal clearing. Instead, replace this with a GetTransparentRegion API that can be used by RenderCompositors to limit where they clear so that they are now fully responsible for clearing. Differential Revision: https://phabricator.services.mozilla.com/D103253