Closed Bug 1332005 Opened 3 years ago Closed 3 years ago
Remove opaque BGRA8 image surface optimization
With part 1 from bug 1311779, far fewer images start with the wrong surface format. According to the telemetry data, approximately 0.002% of images which are marked as opaque in imgFrame::Finish use the surface format B8G8R8A8 instead of B8G8R8X8 and thus are able to take advantage of this optimization (see https://mzl.la/2iByJWT). We should be able to remove this and simplify the code.
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Attachment #8828024 - Flags: review?(tnikkel)
Was hasty, mHasNoAlpha is not used anymore either.
Attachment #8828038 - Flags: review?(tnikkel) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/0f9e64504f9a Remove opaque BGRA8 image surface optimization. r=tnikkel
You need to log in before you can comment on or make changes to this bug.