Overdraw in WorkspaceView::draw_background et al

Bug #1212732 reported by Chris Wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gala
Confirmed
Low
Unassigned

Bug Description

For example in WorkspaceView::draw_background, the surface is cleared prior to being painted over by the foreground. The use of CLEAR, OVER is equivalent to a single pass of SOURCE - even if the foreground is semi-opaque. (So long as the second pass does completely fill the surface, which seems to be case.) This idiom is repeated many times.

Revision history for this message
Tom Beckmann (tombeckmann) wrote :

Good find, I didn't even realize that before. It might not be applicable for every draw operation but at least for the good majority. In case you would have free time, I'd really appreciate a merge request for this (maybe you'll even notice other places where the drawing could be optimized). Otherwise I'll see when I get time to fix this.

Changed in gala:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.