diff options
| author | Jason Sams <rjsams@android.com> | 2009-09-25 16:37:33 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-09-25 16:37:33 -0700 |
| commit | f2649a961db2995e9e24a6c98f8a419f1496c1b7 (patch) | |
| tree | fcb8a48e8491e95afc367f9ae64214b7fa6c8bae /rsComponent.cpp | |
| parent | 1fddd90849deaae89b546ff492c345d485bbce42 (diff) | |
| download | android_frameworks_rs-f2649a961db2995e9e24a6c98f8a419f1496c1b7.tar.gz android_frameworks_rs-f2649a961db2995e9e24a6c98f8a419f1496c1b7.tar.bz2 android_frameworks_rs-f2649a961db2995e9e24a6c98f8a419f1496c1b7.zip | |
Improved object lifecycle tracking and fix leaks.
Diffstat (limited to 'rsComponent.cpp')
| -rw-r--r-- | rsComponent.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rsComponent.cpp b/rsComponent.cpp index 67184ffa..42e2e4fb 100644 --- a/rsComponent.cpp +++ b/rsComponent.cpp @@ -23,6 +23,8 @@ using namespace android::renderscript; Component::Component(Context *rsc) : ObjectBase(rsc) { + mAllocFile = __FILE__; + mAllocLine = __LINE__; mType = FLOAT; mKind = USER; mIsNormalized = false; @@ -33,6 +35,8 @@ Component::Component(Context *rsc, DataKind dk, DataType dt, bool isNormalized, uint32_t bits, const char * name) : ObjectBase(rsc) { + mAllocFile = __FILE__; + mAllocLine = __LINE__; mType = dt; mKind = dk; mIsNormalized = isNormalized; |
