Closed
Bug 1050471
Opened 11 years ago
Closed 11 years ago
Reset the valid region of a thebes layer if it gets optimized away to a ColorLayer or an ImageLayer
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: mstange, Assigned: mstange)
Details
Attachments
(1 file)
1.10 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
If a thebes layer contained more than just a uniform color or an image at some point, we set its valid region to the region that we painted into the layer. But if the extra content disappears and we optimize the ThebesLayer away, we keep its valid region around (even though its visible region is now empty). That means that the layer only gets optimized away on paints that happen in compressed paint mode.
We should reset the valid region when we reset the visible region.
Attachment #8469516 -
Flags: review?(roc)
Attachment #8469516 -
Flags: review?(roc) → review+
Assignee | ||
Comment 1•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•