DataSourceSurfaceRecording allocates more data than necessary

RESOLVED FIXED in Firefox 60

Status

()

defect
RESOLVED FIXED
Last year
Last year

People

(Reporter: lsalzman, Assigned: lsalzman)

Tracking

56 Branch
mozilla60
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox60 fixed)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 attachment)

It allocates data using stride * height * bpp. It should just be stride * height.
Attachment #8953346 - Flags: review?(jmuizelaar)
Attachment #8953346 - Flags: review?(jmuizelaar) → review+
How'd you find this?
(In reply to Jeff Muizelaar [:jrmuizel] from comment #1)
> How'd you find this?

Was poking around the code and merely noticed it.
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9140f4e82b3b
don't multiply DataSourceSurfaceRecording stride by bpp. r=jrmuizel
https://hg.mozilla.org/mozilla-central/rev/9140f4e82b3b
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.