[Skia] Drawing an RGB565 bitmap to another RGB565 bitmap is slow

RESOLVED FIXED in mozilla16

Status

()

Core
Graphics
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: gw280, Assigned: gw280)

Tracking

unspecified
mozilla16
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

We fail to trigger a fast path in Skia if we draw from RGB565 to RGB565 with kSrc_Mode set for the xfermode. If we use kSrcOver_Mode it does trigger the fast path, and these two xfermodes are identical on RGB565 as it's opaque.

Filed bug upstream at http://code.google.com/p/skia/issues/detail?id=628
Created attachment 629831 [details] [diff] [review]
Trigger Skia's RGB565 blitter fast path by using SrcOver instead of Src.
Attachment #629831 - Flags: review?(jmuizelaar)
Attachment #629831 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/2ab6d4d55988
Target Milestone: --- → mozilla16
https://hg.mozilla.org/mozilla-central/rev/2ab6d4d55988
Assignee: nobody → gwright
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.