Closed
Bug 293543
Opened 20 years ago
Closed 20 years ago
RenderOffscreen creates an overlarge drawing surface
Categories
(Core :: Web Painting, defect)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(1 file)
|
1.26 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
shaver
:
approval1.8b2+
|
Details | Diff | Splinter Review |
nsViewManager::RenderOffscreen creates a drawing surface with dimensions given in twips, but it should pass pixels. This creates a massive offscreen bitmap that we only use a small part of --- wasting resources and risking allocation failures.
| Assignee | ||
Comment 1•20 years ago
|
||
trivial fix
Attachment #183100 -
Flags: superreview?(bzbarsky)
Attachment #183100 -
Flags: review?(bzbarsky)
| Assignee | ||
Comment 2•20 years ago
|
||
Thanks to James Linden for detecting this, by the way.
Comment 3•20 years ago
|
||
Comment on attachment 183100 [details] [diff] [review] fix r+sr=bzbarsky
Attachment #183100 -
Flags: superreview?(bzbarsky)
Attachment #183100 -
Flags: superreview+
Attachment #183100 -
Flags: review?(bzbarsky)
Attachment #183100 -
Flags: review+
| Assignee | ||
Comment 4•20 years ago
|
||
Comment on attachment 183100 [details] [diff] [review] fix trivial fix with zero risk since this code is not used by regular users
Attachment #183100 -
Flags: approval1.8b2?
Comment 5•20 years ago
|
||
Comment on attachment 183100 [details] [diff] [review] fix a=shaver.
Attachment #183100 -
Flags: approval1.8b2? → approval1.8b2+
| Assignee | ||
Comment 6•20 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 7•20 years ago
|
||
(In reply to comment #6) > checked in any chance it is causing http://forums.mozillazine.org/viewtopic.php?p=1451607#1451607 ?
| Assignee | ||
Comment 8•20 years ago
|
||
I shouldn't think so. That code should not be executed at all by normal users.
Comment 9•20 years ago
|
||
(In reply to comment #8) > I shouldn't think so. That code should not be executed at all by normal users. very odd, a few builds later and it's normal again.
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•