summaryrefslogtreecommitdiff
path: root/rsComponent.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-08-12 17:54:11 -0700
committerJason Sams <rjsams@android.com>2009-08-12 17:54:11 -0700
commit8b2c065dfc16c148e2829a19e83d2269b9bcd4cc (patch)
tree2666dc77e1a6ee12a66440ee893d61be377a1b7a /rsComponent.h
parente697ca33b05c64480d20bf22282036f5601ab788 (diff)
downloadrs-8b2c065dfc16c148e2829a19e83d2269b9bcd4cc.tar.gz
Implement reflecting Java objects into the ACC enviroment.
Diffstat (limited to 'rsComponent.h')
-rw-r--r--rsComponent.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rsComponent.h b/rsComponent.h
index 9db107fc..5ee95c71 100644
--- a/rsComponent.h
+++ b/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();