Open
Bug 1340130
Opened 7 years ago
Updated 7 months ago
Skip the content initialization for DrawTarget if the content will be replaced soon
Categories
(Core :: Graphics, defect, P3)
Core
Graphics
Tracking
()
NEW
People
(Reporter: jerry, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(2 files)
3.08 KB,
patch
|
Details | Diff | Splinter Review | |
5.38 KB,
patch
|
Details | Diff | Splinter Review |
In [1], we create a DrawTarget and copy another surface on it. In this case, we don't need to have the initial value for that DrawTarget. This bug try to create a new api CreateSimilarDrawTargetWithSurfaceData(), and skip the initial operation if possible. [1] https://hg.mozilla.org/mozilla-central/annotate/51377a64158941f89ed73f388ae437cfa494c030/dom/canvas/CanvasRenderingContext2D.cpp#l4372
Reporter | ||
Comment 1•7 years ago
|
||
MozReview-Commit-ID: KCWemfPo14A
Attachment #8838018 -
Flags: review?(bas)
Reporter | ||
Comment 2•7 years ago
|
||
MozReview-Commit-ID: CLdYEo1HDzC
Attachment #8838019 -
Flags: review?(bas)
Do we have an example case where this speeds things up? It'd be good to track the improvement.
Comment 4•7 years ago
|
||
Unless we get an answer to Milan's question I'm going to unflag these patches for review? I'm willing to believe this is a good change for sure, but I'd like to see some data backing it up.
Updated•6 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Attachment #8838018 -
Flags: review?(bas)
Updated•3 years ago
|
Attachment #8838019 -
Flags: review?(bas)
Comment 5•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:bhood, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: bignose1007+bugzilla → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(bhood)
Updated•2 years ago
|
Flags: needinfo?(bhood)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•