Closed
Bug 333177
Opened 19 years ago
Closed 19 years ago
Update canvas internal interfaces and optimize
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: vlad, Assigned: vlad)
References
Details
Attachments
(3 files, 1 obsolete file)
12.56 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
52.94 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
92.17 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
This patch optimizes the internal canvas interfaces to allow us to use platform-native surfaces where we can, for some performance speedups. It also fixes the internal interfaces in such a way that we can support contexts defined outside of layout (e.g. via extensions).
It also fixes a few 2d canvas bugs.
Assignee | ||
Comment 1•19 years ago
|
||
This turns nsIRenderingContext's RetreiveNativeGraphicData into returning a real void*, instead of a PRUint32 -- we were stuffing a pointer into it in in all platforms that used it, which had the potential of breaking badly on any 64-bit builds.
This should go for both trunk and branch.
Attachment #217621 -
Flags: review?(pavlov)
Assignee | ||
Comment 2•19 years ago
|
||
Er, real patch; previous one was missing a fix to nsObjectFrame.
Attachment #217621 -
Attachment is obsolete: true
Attachment #217622 -
Flags: review?(pavlov)
Attachment #217621 -
Flags: review?(pavlov)
Assignee | ||
Comment 3•19 years ago
|
||
This is the actual canvas patch, against the 1.8 branch. This can go onto the trunk, but the trunk canvas code will be replaced with a rewritten version shortly -- I think I can shoehorn this in if we want it to bake for a few days there.
Attachment #217624 -
Flags: review?(pavlov)
Comment 4•19 years ago
|
||
I really want this in Firefox2!
No longer blocks: 333613
Flags: blocking1.8.1?
Comment 5•19 years ago
|
||
From conversation with vlad, the plan:
- land this on trunk and merge
- prepare 1.8 patch from that code, including toDataURL
Note: need more info about image encoder dependencies.
Updated•19 years ago
|
Attachment #217622 -
Flags: review?(pavlov) → review+
Updated•19 years ago
|
Attachment #217624 -
Flags: review?(pavlov) → review+
Assignee | ||
Comment 6•19 years ago
|
||
This is a trunk version of the improvements, that merges the new work with the existing image encoder and security checks on the trunk. After this gets checked in, I'll merge it all (new stuff + image encoders + security checks) to the branch.
Attachment #218874 -
Flags: review?(pavlov)
Updated•19 years ago
|
Attachment #218874 -
Flags: review?(pavlov) → review+
Assignee | ||
Comment 7•19 years ago
|
||
This landed on the trunk; the 1.8 version of this is 333613.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•