-
Committer:
Eleni Maria Stea
-
Date:
2016-05-24 07:57:32 UTC
-
Revision ID:
elenimaria.stea@canonical.com-20160524075732-pcxwlh2od5ccnwl9
Problem: when we have N monitors and we call paintDisplay we render N times each monitors' content because paintDisplay draws the whole screen area (all the N outputs-monitors) and is called every time we repaint an output-monitor using glPaintTransformOutput.
Fix: Replaced the paintDisplay function with the paintOutput function that clips the content drawing around the output boundaries instead of the total screen boundaries. => When an output is painted we only draw this output's content => if we have N outputs each output's content will be rendered once instead of N (1/N times faster)