diff options
author | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 06:00:33 +0000 |
---|---|---|
committer | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 06:00:33 +0000 |
commit | 1191d9d7cd5a8d6a046c4c187d9992b8d78cb7ed (patch) | |
tree | 5cc5cbfb6e32d613817c82275d713e31e2f7198b /cc/heads_up_display_layer_impl.h | |
parent | a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e (diff) | |
download | chromium_src-1191d9d7cd5a8d6a046c4c187d9992b8d78cb7ed.zip chromium_src-1191d9d7cd5a8d6a046c4c187d9992b8d78cb7ed.tar.gz chromium_src-1191d9d7cd5a8d6a046c4c187d9992b8d78cb7ed.tar.bz2 |
[cc] Show GPU memory usage and overage below FPS counter
R=enne
BUG=173301
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/12149004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/heads_up_display_layer_impl.h')
-rw-r--r-- | cc/heads_up_display_layer_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/heads_up_display_layer_impl.h b/cc/heads_up_display_layer_impl.h index 6e5a30d..41ef805 100644 --- a/cc/heads_up_display_layer_impl.h +++ b/cc/heads_up_display_layer_impl.h @@ -21,6 +21,7 @@ namespace cc { class DebugRectHistory; class FontAtlas; class FrameRateCounter; +class MemoryHistory; class PaintTimeCounter; class CC_EXPORT HeadsUpDisplayLayerImpl : public LayerImpl { @@ -75,6 +76,7 @@ private: void drawGraphLines(SkCanvas*, SkPaint*, const SkRect& bounds, const Graph&); int drawFPSDisplay(SkCanvas*, FrameRateCounter*, const int& top); + int drawMemoryDisplay(SkCanvas*, MemoryHistory*, const int& top); int drawPaintTimeDisplay(SkCanvas*, PaintTimeCounter*, const int& top); void drawDebugRects(SkCanvas*, DebugRectHistory*); |