~ricotz/plank/wayland

Viewing all changes in revision 1526.

  • Committer: Rico Tzschichholz
  • Date: 2016-02-25 14:17:32 UTC
  • Revision ID: ricotz@ubuntu.com-20160225141732-q1x8buzkktvc5v1g
surfacecache: Force allow-downscale if drawing-time is insanely high
      
If drawing-time of a single surface exceeds a certains limit (30ms) and
"flags" is NONE then set ALLOW_DOWNSCALE to make it less demanding.

Also mark the created surface, so the DockRenderer can try to ease things
out for later draw requests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: