Sometimes we want a DataSourceSurface that wraps existing pixel data, instead of getting a surface specific to a DT. In particular, we want to do this in SurfaceFromElement when the existing pixel data contains un-premultiplied data. We also want to avoid uploading to direct2d if the caller just wants to access the pixel data.
Attachment #8406589 - Flags: review?(roc)
Attachment #8406589 - Flags: review?(roc) → review+
Attachment #8406590 - Flags: review?(roc) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/b0d7055b1049 https://hg.mozilla.org/integration/mozilla-inbound/rev/cd8469d0dd5e Thanks, Matt! I removed the assertion from the second patch as discussed on IRC. (It could legitimately fail due to zero sized surfaces, etc.)
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
5 years ago
Assignee: nobody → matt.woodrow
You need to log in before you can comment on or make changes to this bug.