diff options
| author | Jason Sams <rjsams@android.com> | 2009-09-25 14:51:22 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-09-25 14:51:22 -0700 |
| commit | e514b45de8561fbc6ef6770845102ca10b0a69d7 (patch) | |
| tree | 572fdc8b1dbc14b53c61f9c81f90fbc642024b45 /rsProgramFragment.h | |
| parent | 86f1b23aaaf9b8822a009d8c3e585e46768abb6a (diff) | |
| download | android_frameworks_rs-e514b45de8561fbc6ef6770845102ca10b0a69d7.tar.gz android_frameworks_rs-e514b45de8561fbc6ef6770845102ca10b0a69d7.tar.bz2 android_frameworks_rs-e514b45de8561fbc6ef6770845102ca10b0a69d7.zip | |
Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
Diffstat (limited to 'rsProgramFragment.h')
| -rw-r--r-- | rsProgramFragment.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsProgramFragment.h b/rsProgramFragment.h index 51117ebe..d783c0df 100644 --- a/rsProgramFragment.h +++ b/rsProgramFragment.h @@ -32,7 +32,7 @@ public: - ProgramFragment(Element *in, Element *out, bool pointSpriteEnable); + ProgramFragment(Context *, Element *in, Element *out, bool pointSpriteEnable); virtual ~ProgramFragment(); virtual void setupGL(const Context *, ProgramFragmentState *); |
