Closed
Bug 606279
Opened 14 years ago
Closed 14 years ago
Remove the shmem-backed canvas and the shmem DocumentRenderers (but keep the serializing DocumentRenderer for now)
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b2+ | --- |
People
(Reporter: cjones, Assigned: cjones)
References
Details
Attachments
(4 files)
51.50 KB,
patch
|
joe
:
review+
vlad
:
superreview+
|
Details | Diff | Splinter Review |
21.94 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
10.72 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
12.40 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
First step in the death march of shmem canvas. This step doesn't depend on shadow-layer drawWindow or fast -moz-element. The last consumer of shmem canvas is the fennec frontend, to create tab thumbnails. These are sized to 104x65, which should result in a 13K 5-6-5 surface. The frontend only takes these snapshots once per page load, after onload. So we can serialize these bytes over the IPC pipe with no problems. I'm hot to do this because non-shared canvas obsoletes bug 604282 and a related bug that's not yet filed. Would like to eradicate those forevermore.
Assignee | ||
Comment 2•14 years ago
|
||
Good patch, or greatest patch?
Assignee: nobody → jones.chris.g
Attachment #485363 -
Flags: superreview?(vladimir)
Attachment #485363 -
Flags: review?(joe)
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #485364 -
Flags: review?(joe)
Assignee | ||
Comment 4•14 years ago
|
||
Attachment #485365 -
Flags: review?(joe)
Assignee | ||
Comment 5•14 years ago
|
||
Attachment #485366 -
Flags: review?(joe)
Assignee | ||
Comment 6•14 years ago
|
||
I noticed that we're painting ARGB32 thumbnails, so we're actually sending 26KB instead of 13KB, but I'm not sure why we need alpha so I didn't poke. (Also this seems fast enough on device.) Please advise if it's worth looking into RGB16.
Comment 7•14 years ago
|
||
Comment on attachment 485363 [details] [diff] [review] part 1: Excise shmem-backed canvas I presume that DocumentRenderer is still used for tab previews?
Attachment #485363 -
Flags: review?(joe) → review+
Updated•14 years ago
|
Attachment #485364 -
Flags: review?(joe) → review+
Updated•14 years ago
|
Attachment #485365 -
Flags: review?(joe) → review+
Updated•14 years ago
|
Attachment #485366 -
Flags: review?(joe) → review+
Assignee | ||
Comment 9•14 years ago
|
||
I'd suggest blocking-b3 for this. It fixes bug 604282 and bug 604282 comment 4, which isn't filed.
tracking-fennec: --- → ?
Comment on attachment 485363 [details] [diff] [review] part 1: Excise shmem-backed canvas \o/
Attachment #485363 -
Flags: superreview?(vladimir) → superreview+
Updated•14 years ago
|
tracking-fennec: ? → 2.0b3+
Assignee | ||
Comment 12•14 years ago
|
||
Yes. I've been dogfooding it since last Thursday and haven't noticed a perf impact (and it can't regress talos, sadly). Just need to check that it compiles on mac/windows.
Assignee | ||
Comment 13•14 years ago
|
||
All clear for when the tree reopens.
Assignee | ||
Comment 14•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/8eb26a77a90e http://hg.mozilla.org/mozilla-central/rev/9f99e62fefb6 http://hg.mozilla.org/mozilla-central/rev/302c05f76344 http://hg.mozilla.org/mozilla-central/rev/ac44827872c9
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•