summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-11-03 11:25:42 -0800
committerJason Sams <rjsams@android.com>2009-11-03 11:25:42 -0800
commit9d5e03db9929271f56ac4a0078d9474d7011efcd (patch)
tree8052ee61aa0c6b7a1fc1ebdfcee1ea8f32a3dd5b /libs/rs/rsScriptC.h
parentc4918c30147d72c44e9a2a9fe7b9cbe88948677a (diff)
downloadframeworks_base-9d5e03db9929271f56ac4a0078d9474d7011efcd.zip
frameworks_base-9d5e03db9929271f56ac4a0078d9474d7011efcd.tar.gz
frameworks_base-9d5e03db9929271f56ac4a0078d9474d7011efcd.tar.bz2
Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
Diffstat (limited to 'libs/rs/rsScriptC.h')
-rw-r--r--libs/rs/rsScriptC.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/rs/rsScriptC.h b/libs/rs/rsScriptC.h
index ae124b4..69afc18 100644
--- a/libs/rs/rsScriptC.h
+++ b/libs/rs/rsScriptC.h
@@ -41,10 +41,6 @@ public:
virtual ~ScriptC();
struct Program_t {
- const char * mScriptText;
- uint32_t mScriptTextLength;
-
-
int mVersionMajor;
int mVersionMinor;