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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: mstange, Assigned: mstange)

Details

Attachments

(1 file)

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)
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.

Attachment

General

Created:
Updated:
Size: