diff options
author | Jason Sams <rjsams@android.com> | 2009-08-12 17:54:11 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-08-12 17:54:11 -0700 |
commit | 43ee06857bb7f99446d1d84f8789016c5d105558 (patch) | |
tree | cc88d57d27c7ea1c1d0a9e21a49f3fc16908e1cc /libs/rs/rsComponent.h | |
parent | a9f1dd021f8f6ee777bc4d27913bd40c42e753af (diff) | |
download | frameworks_base-43ee06857bb7f99446d1d84f8789016c5d105558.zip frameworks_base-43ee06857bb7f99446d1d84f8789016c5d105558.tar.gz frameworks_base-43ee06857bb7f99446d1d84f8789016c5d105558.tar.bz2 |
Implement reflecting Java objects into the ACC enviroment.
Diffstat (limited to 'libs/rs/rsComponent.h')
-rw-r--r-- | libs/rs/rsComponent.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/rs/rsComponent.h b/libs/rs/rsComponent.h index 9db107f..5ee95c7 100644 --- a/libs/rs/rsComponent.h +++ b/libs/rs/rsComponent.h @@ -44,7 +44,7 @@ public: }; - Component(DataKind dk, DataType dt, bool isNormalized, uint32_t bits); + Component(DataKind dk, DataType dt, bool isNorm, uint32_t bits, const char *); virtual ~Component(); DataType getType() const {return mType;} @@ -54,12 +54,15 @@ public: uint32_t getGLType() const; + const char * getComponentName() const {return mName.string();} + protected: DataType mType; bool mIsNormalized; DataKind mKind; uint32_t mBits; + String8 mName; private: Component(); |