Closed
Bug 996393
Opened 10 years ago
Closed 10 years ago
Add gfxPlatform function for creating a wrapped DataSourceSurface
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
Attachments
(2 files)
6.30 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
2.04 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
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)
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8406590 -
Flags: review?(roc)
Attachment #8406589 -
Flags: review?(roc) → review+
Attachment #8406590 -
Flags: review?(roc) → review+
Comment 2•10 years ago
|
||
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.)
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b0d7055b1049 https://hg.mozilla.org/mozilla-central/rev/cd8469d0dd5e
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → matt.woodrow
You need to log in
before you can comment on or make changes to this bug.
Description
•