Closed
Bug 480088
Opened 15 years ago
Closed 15 years ago
Use a single cached surface for painting with image surfaces
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: vlad, Assigned: vlad)
Details
Attachments
(1 file)
2.38 KB,
patch
|
pavlov
:
review+
beltzner
:
approval1.9.1-
|
Details | Diff | Splinter Review |
Since we're using an image surface for painting, we should just allocate a large chunk of memory once, and then keep reusing that. Allocating a screen-size buffer is probably fine for most devices with CE, since the browser is likely to be fullscreen anyway -- we'd end up having to allocate a surface this size during full-page repaints anyway, and we avoid having to hunt in memory for a large enough chunk later on. Note that we allocate a large chunk of memory and create new surfaces use this buffer for actual painting -- there's no reason to pay the cache & bandwidth cost of always dealing with the large surface, or even with dealing with a large stride, if we just need a smaller chunk of it.
Attachment #364045 -
Flags: review?(pavlov)
Updated•15 years ago
|
Attachment #364045 -
Flags: review?(pavlov) → review+
Comment 1•15 years ago
|
||
Comment on attachment 364045 [details] [diff] [review] use a cached chunk of memory for painting This is probably ok. I do worry about it having a negative impact on our perceived memory usage, but lets give it a try.
Updated•15 years ago
|
Flags: wanted-fennec1.0+
Assignee | ||
Comment 2•15 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Attachment #364045 -
Flags: approval1.9.1?
Updated•15 years ago
|
Attachment #364045 -
Flags: approval1.9.1? → approval1.9.1+
Comment 3•15 years ago
|
||
Comment on attachment 364045 [details] [diff] [review] use a cached chunk of memory for painting a191=beltzner
Comment 4•15 years ago
|
||
vlad, do you want to land this on 1.9.1?
Comment 5•15 years ago
|
||
Nudge (in case this has been forgotten).
Comment 6•15 years ago
|
||
Comment on attachment 364045 [details] [diff] [review] use a cached chunk of memory for painting Revoking approval. We're cutting back on potential churn here. We can try again for 3.5.1
Attachment #364045 -
Flags: approval1.9.1+ → approval1.9.1-
Updated•15 years ago
|
Flags: wanted1.9.0.x?
Updated•13 years ago
|
Flags: wanted1.9.0.x?
You need to log in
before you can comment on or make changes to this bug.
Description
•