commit | 6f4cf0b8885403ead157ae00fd43cf1282331c23 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Tue Nov 16 17:37:02 2010 -0800 |
committer | Jason Sams <rjsams@android.com> | Tue Nov 16 17:37:02 2010 -0800 |
tree | ae1e103e42911792c5f859d34d8362a76ae362b0 | |
parent | 7a21ee61484e7c55f8642231362821058104a49d [diff] [blame] |
Fix ref counting for globals when set from java code. Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
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 @@ 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,