diff options
| author | Jason Sams <rjsams@android.com> | 2010-11-16 17:37:02 -0800 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2010-11-16 17:37:02 -0800 |
| commit | 6f4cf0b8885403ead157ae00fd43cf1282331c23 (patch) | |
| tree | ae1e103e42911792c5f859d34d8362a76ae362b0 /libs/rs/rsScript.h | |
| parent | 7a21ee61484e7c55f8642231362821058104a49d (diff) | |
| download | frameworks_base-6f4cf0b8885403ead157ae00fd43cf1282331c23.zip frameworks_base-6f4cf0b8885403ead157ae00fd43cf1282331c23.tar.gz frameworks_base-6f4cf0b8885403ead157ae00fd43cf1282331c23.tar.bz2 | |
Fix ref counting for globals when set from java code.
Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
Diffstat (limited to 'libs/rs/rsScript.h')
| -rw-r--r-- | libs/rs/rsScript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/rsScript.h b/libs/rs/rsScript.h index 9b6d8a9..bad095b 100644 --- a/libs/rs/rsScript.h +++ b/libs/rs/rsScript.h @@ -61,6 +61,7 @@ public: void initSlots(); void setSlot(uint32_t slot, Allocation *a); void setVar(uint32_t slot, const void *val, uint32_t len); + void setVarObj(uint32_t slot, ObjectBase *val); virtual void runForEach(Context *rsc, const Allocation * ain, |
