[Bug 748748] compositor: only paint background if actually needed
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed May 13 02:55:58 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=748748
--- Comment #1 from Pablo Anton <pablo.anton at veo-labs.com> ---
Created attachment 303298
--> https://bugzilla.gnome.org/attachment.cgi?id=303298&action=edit
Compositor: Skip unnecessary background fill
Hello all,
As Tim-Philipp commented the patch could re-use the just-introduced
is_rectangle_contained() function. This new version do it.
> I wonder if we could do this as part of the previous loop or if that would be > too messy.
Maybe the decision if background is necessary or not could be taken into
prepare_frame(), but I do not know if it will be any performance benefits and I
think right now it is more clear.
Pablo.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list