commit | 43ee06857bb7f99446d1d84f8789016c5d105558 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Wed Aug 12 17:54:11 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Wed Aug 12 17:54:11 2009 -0700 |
tree | cc88d57d27c7ea1c1d0a9e21a49f3fc16908e1cc | |
parent | a9f1dd021f8f6ee777bc4d27913bd40c42e753af [diff] [blame] |
Implement reflecting Java objects into the ACC enviroment.
diff --git a/libs/rs/rsComponent.cpp b/libs/rs/rsComponent.cpp index fde62a0..831580b 100644 --- a/libs/rs/rsComponent.cpp +++ b/libs/rs/rsComponent.cpp
@@ -31,12 +31,15 @@ Component::Component( DataKind dk, DataType dt, - bool isNormalized, uint32_t bits) + bool isNormalized, uint32_t bits, const char * name) { mType = dt; mKind = dk; mIsNormalized = isNormalized; mBits = bits; + if (name) { + mName = name; + } } Component::~Component()