summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsComponent.h
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2010-05-21 12:53:13 -0700
committerAlex Sakhartchouk <alexst@google.com>2010-05-21 14:00:10 -0700
commitaa7d2884cb563f87294003981e03e37a1abeb961 (patch)
tree85e27332bc586e3eae0ea334e624920de27687cd /libs/rs/rsComponent.h
parentdd56b39ec000b3ddd206d242b0fe24b4b955c8ee (diff)
downloadframeworks_base-aa7d2884cb563f87294003981e03e37a1abeb961.zip
frameworks_base-aa7d2884cb563f87294003981e03e37a1abeb961.tar.gz
frameworks_base-aa7d2884cb563f87294003981e03e37a1abeb961.tar.bz2
Removed unnecessary change based on comments.
Now using android utils lib. collada_to_a3d seems to work with android util libs. Integrating old changelist Changing assert to rsAssrt in VertexArray making context compile. Change-Id: I33890defa777f09253bfab630d97782359ec49d7 Added serialization code to rsLib Integrated old changelist Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311 Added serialization code to rsLib Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311
Diffstat (limited to 'libs/rs/rsComponent.h')
-rw-r--r--libs/rs/rsComponent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsComponent.h b/libs/rs/rsComponent.h
index 71de324..0f93a91 100644
--- a/libs/rs/rsComponent.h
+++ b/libs/rs/rsComponent.h
@@ -48,6 +48,10 @@ public:
bool getIsSigned() const {return mIsSigned;}
uint32_t getBits() const {return mBits;}
+ // Helpers for reading / writing this class out
+ void serialize(OStream *stream) const;
+ void loadFromStream(IStream *stream);
+
protected:
RsDataType mType;
RsDataKind mKind;