aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2009-09-02 14:03:53 -0400
committerMike Reed <reed@google.com>2009-09-02 14:03:53 -0400
commit57382d688c1d6928b1d9bbbaf27188d54dd9e002 (patch)
treed9c53b7bdd40415ecdfc1131b2d18c0ddeb0bca3 /include
parentfa194bff67a9cedd2bfc1f0d2840e64fd678b9e9 (diff)
downloadexternal_skia-57382d688c1d6928b1d9bbbaf27188d54dd9e002.zip
external_skia-57382d688c1d6928b1d9bbbaf27188d54dd9e002.tar.gz
external_skia-57382d688c1d6928b1d9bbbaf27188d54dd9e002.tar.bz2
add decoding bitmaps to bench tool
refresh misc. skia files
Diffstat (limited to 'include')
-rw-r--r--include/core/SkTDStack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkTDStack.h b/include/core/SkTDStack.h
index 5bc10ee..321c138 100644
--- a/include/core/SkTDStack.h
+++ b/include/core/SkTDStack.h
@@ -40,6 +40,8 @@ public:
}
int count() const { return fTotalCount; }
+ int depth() const { return fTotalCount; }
+ bool empty() const { return fTotalCount == 0; }
T* push()
{