Open Bug 1061885 Opened 10 years ago Updated 2 years ago

[Skia] Do not demote for non-standard compositing ops

Categories

(Core :: Graphics: Canvas2D, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: gw280, Unassigned)

Details

Attachments

(1 file)

We currently demote to a software canvas if we detect a "non-standard" compositing operator is used. This is because at the time, the GPU backend for Skia didn't support these ops very well.

We should see if this is still an issue, and if so, fix it.

https://tbpl.mozilla.org/?tree=Try&rev=ff8322348d04
Looks like try was green. Go ahead and land?
Attachment #8483606 - Flags: review?(snorp)
Comment on attachment 8483606 [details] [diff] [review]
remove-compositing-fallback.patch

Review of attachment 8483606 [details] [diff] [review]:
-----------------------------------------------------------------

Cool. I wonder if we're actually testing these with SkiaGL, though. That got disabled for a lot of cases, didn't it? Can you try to smoke test it with an actual example?
Right - we probably want to give QA heads up on this, as it may need a lot of manual testing on different devices.  We're removing the "demotion" to software, which means we may get more overall memory usage, better performance... with this change?
Oh good point. I will test it locally and see what happens.

Milan: yep, possibly more overall memory usage, but no spike when we demote to software. Better performance definitely.
http://codepen.io/adobe/full/nmfic/ looks fine on my device. Let's land this.
(also: buttery smooth!)
Attachment #8483606 - Flags: review?(snorp) → review+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: