diff options
author | Jason Sams <rjsams@android.com> | 2010-09-16 18:18:29 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-09-16 18:18:29 -0700 |
commit | d081fffab58b4cb8a36b7a083ab7793585bc1510 (patch) | |
tree | 2d4ea330edfd21499546fc0a9ae9d647d7a1ee0e /libs/rs/rsAllocation.h | |
parent | a8bf9429b29743b3489817feb21bde2416acc465 (diff) | |
download | frameworks_base-d081fffab58b4cb8a36b7a083ab7793585bc1510.zip frameworks_base-d081fffab58b4cb8a36b7a083ab7793585bc1510.tar.gz frameworks_base-d081fffab58b4cb8a36b7a083ab7793585bc1510.tar.bz2 |
Cleanup GL setup code and remove legacy 1.1 paths.
Reset pointers to NULL when allocations are unbound.
Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
Diffstat (limited to 'libs/rs/rsAllocation.h')
-rw-r--r-- | libs/rs/rsAllocation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/rsAllocation.h b/libs/rs/rsAllocation.h index b6b5d2f..ce5372f 100644 --- a/libs/rs/rsAllocation.h +++ b/libs/rs/rsAllocation.h @@ -90,6 +90,7 @@ public: void decRefs(const void *ptr, size_t ct) const; void sendDirty() const; + bool getHasGraphicsMipmaps() const {return mTextureGenMipmap;} protected: ObjectBaseRef<const Type> mType; |