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 | 8b2c065dfc16c148e2829a19e83d2269b9bcd4cc (patch) | |
| tree | 2666dc77e1a6ee12a66440ee893d61be377a1b7a /rsComponent.cpp | |
| parent | e697ca33b05c64480d20bf22282036f5601ab788 (diff) | |
| download | android_frameworks_rs-8b2c065dfc16c148e2829a19e83d2269b9bcd4cc.tar.gz android_frameworks_rs-8b2c065dfc16c148e2829a19e83d2269b9bcd4cc.tar.bz2 android_frameworks_rs-8b2c065dfc16c148e2829a19e83d2269b9bcd4cc.zip | |
Implement reflecting Java objects into the ACC enviroment.
Diffstat (limited to 'rsComponent.cpp')
| -rw-r--r-- | rsComponent.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rsComponent.cpp b/rsComponent.cpp index fde62a00..831580b2 100644 --- a/rsComponent.cpp +++ b/rsComponent.cpp @@ -31,12 +31,15 @@ Component::Component() 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() |
