diff options
| author | Jason Sams <rjsams@android.com> | 2010-10-26 13:09:17 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2010-10-26 13:09:17 -0700 |
| commit | 31a7e42f4baa059352f0db119de38428e655eab2 (patch) | |
| tree | 7e3bf245244215cad507f57c24043f20a91bcd8c /libs/rs/rsElement.cpp | |
| parent | cd44bf9c7ae89edcf906451e162d096cf3d7e561 (diff) | |
| download | frameworks_base-31a7e42f4baa059352f0db119de38428e655eab2.zip frameworks_base-31a7e42f4baa059352f0db119de38428e655eab2.tar.gz frameworks_base-31a7e42f4baa059352f0db119de38428e655eab2.tar.bz2 | |
Begin adding async allocation creation.
Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8
Implement async bitmap upload and clean up types.
Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
Diffstat (limited to 'libs/rs/rsElement.cpp')
| -rw-r--r-- | libs/rs/rsElement.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/rsElement.cpp b/libs/rs/rsElement.cpp index dc021fc..096115c 100644 --- a/libs/rs/rsElement.cpp +++ b/libs/rs/rsElement.cpp @@ -399,6 +399,7 @@ void rsi_ElementGetSubElements(Context *rsc, RsElement elem, uint32_t *ids, cons rsAssert(e->getFieldCount() == dataSize); for(uint32_t i = 0; i < dataSize; i ++) { + e->getField(i)->incUserRef(); ids[i] = (uint32_t)e->getField(i); names[i] = e->getFieldName(i); } |
