summaryrefslogtreecommitdiffstats
path: root/cc/layer_tree_debug_state.h
Commit message (Collapse)AuthorAgeFilesLines
* Part 2 of cc/ directory shuffles: debugjamesr@chromium.org2013-03-181-50/+0
| | | | | | | | | | | Continuation of https://src.chromium.org/viewvc/chrome?view=rev&revision=188681 BUG=190824 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/12648008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188685 0039d316-1c4b-4281-b951-d872f2087c98
* Part 1 of cc/ directory shuffles: basejamesr@chromium.org2013-03-181-1/+1
| | | | | | | | | | | | | This establishes cc/base/ as discussed in https://groups.google.com/a/chromium.org/d/msg/graphics-dev/wNRsl3BwU_Y/jFXeRQq7e30J. This patch will likely touch the most locations since it moves cc/switches.h BUG=190824 TBR=piman@chromium.org, thakis@chromium.org Review URL: https://codereview.chromium.org/12472028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188681 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Refactoring of HudLayer contents and UI polishingegraether@chromium.org2013-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change refactors drawing and updating of HudLayer contents and introduces small UI improvements. Refactoring: - Made all drawing methods const. - HeadsUpDisplayLayerImpl::updateHudContents() manages graph value updating now. - Widget drawing methods return the area the widget covers. - Debug rectangle drawing reuses one SkPaint instance. - Added all colors to DebugColors. - Turned Graph helper structure into a class. UI changes: - Synced memory stats updating with graph value updating and increased font size to improve readability. - Memory stats display gets flexible width to adapt to the widget previously drawn. - Removed the 1px gaps in the paint time graph to display more values and increased size of the paint time counter buffer. - Indicator line in the graph is drawn on top of paint time graph and uses additive blending to increase contrast. - Increased saturation of the paint time counter's green. - Removed the 2px top/left offset from the border for widgets. - New drawing order: debug rectangles, platform layer tree, FPS counter | paint time counter, memory stats; Screenshot: https://docs.google.com/file/d/0B8Y78t3tjy1XdXYzelVRdGVnQzg/edit?usp=sharing BUG= Review URL: https://chromiumcodereview.appspot.com/12468003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186495 0039d316-1c4b-4281-b951-d872f2087c98
* cc: remove FontAtlasegraether@chromium.org2013-02-131-1/+0
| | | | | | | | | | | | | After switching the HudLayer to use skia's font rendering the FontAtlas has become obsolete. This change removes the FontAtlas and all the related plumbing. BUG=172284 Review URL: https://chromiumcodereview.appspot.com/12212099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182150 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Trace detailed tile info when --trace-all-rendered-framesnduca@chromium.org2013-02-121-0/+2
| | | | | | | | | | With this command line flag, this store a detailed dump of all tile data into the trace buffer, including tile quads in screenspace. This provides enough foundation for cc-frame-viewer to visualize what impl-side painting is doing. NOTRY=True Review URL: https://chromiumcodereview.appspot.com/12096112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181956 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix paint time collection for continuous painting modeegraether@chromium.org2013-02-061-0/+6
| | | | | | | | | | This change moves the recordRenderingStats setting to LayerTreeDebugState and adds the new accessor LayerTreeDebugState::recordRenderingStats() that takes continuousPainting into account. BUG=174354 Review URL: https://chromiumcodereview.appspot.com/12209018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181080 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add a command line flag to slow down rastering.danakj@chromium.org2013-01-251-0/+2
| | | | | | | | | | | | | | This flag simulates raster on a very slow machine, allowing you to see tiles get filled in as they are rastered one at a time, and making it easier to see what color the tile borders are. R=enne BUG=172036 TBR=piman Review URL: https://chromiumcodereview.appspot.com/12047092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178715 0039d316-1c4b-4281-b951-d872f2087c98
* This change adds continuous painting mode to the compositor, which makes it ↵egraether@chromium.org2012-12-201-0/+1
| | | | | | | | | | | easier to detect how certain DOMNodes and CSSStyles affect painting performance. If active it calls setNeedsDisplay() on every Layer in every frame. BUG= Review URL: https://chromiumcodereview.appspot.com/11450022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174105 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Route LayerImpl::layerTreeHostImpl() calls through LayerTreeImplnduca@chromium.org2012-12-121-0/+39
Pulled settings & debugstate to their own files to reduce header coupling, which bit me a few times on this patch [lthi needs lth, lti needs lthi for settings, etc]. NOTRY=true BUG=155209 R=enne Review URL: https://chromiumcodereview.appspot.com/11529003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172635 0039d316-1c4b-4281-b951-d872f2087c98