commit | e3929c9bc6f3897e132304faf1b40c3cf1f47474 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Mon Aug 09 18:13:33 2010 -0700 |
committer | Jason Sams <rjsams@android.com> | Mon Aug 09 18:13:33 2010 -0700 |
tree | 7534b79666321a8a4511182e045c14e5e7de8cbd | |
parent | 78d4a74641c110b7c3d0b890ccfb4cd54459418f [diff] [blame] |
Refcounting in allocations. Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
diff --git a/rsComponent.cpp b/rsComponent.cpp index 8e509ad..fbaa75f 100644 --- a/rsComponent.cpp +++ b/rsComponent.cpp
@@ -161,6 +161,10 @@ mBits = mTypeBits * mVectorSize; } +bool Component::isReference() const +{ + return (mType >= RS_TYPE_ELEMENT); +}