diff options
author | Alex Sakhartchouk <alexst@google.com> | 2010-05-21 12:53:13 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2010-05-21 14:00:10 -0700 |
commit | fb6b614bcea88a587a7ea4530be45ff0ffa0210e (patch) | |
tree | a2a4b9bd296205421c718f1581e9b5824c7305ee /rsElement.h | |
parent | 66070bf7aae61cedde97cfdeb6a64f435abe8cde (diff) | |
download | rs-fb6b614bcea88a587a7ea4530be45ff0ffa0210e.tar.gz |
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 'rsElement.h')
-rw-r--r-- | rsElement.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rsElement.h b/rsElement.h index 02a1ca2f..a3025539 100644 --- a/rsElement.h +++ b/rsElement.h @@ -59,6 +59,9 @@ public: String8 getGLSLType(uint32_t indent=0) const; void dumpLOGV(const char *prefix) const; + virtual void serialize(OStream *stream) const; + virtual A3DClassID getClassId() const { return A3D_CLASS_ID_ELEMENT; } + static Element *createFromStream(Context *rsc, IStream *stream); static const Element * create(Context *rsc, RsDataType dt, RsDataKind dk, bool isNorm, uint32_t vecSize); @@ -90,7 +93,7 @@ public: ~ElementState(); // Cache of all existing elements. - Vector<const Element *> mElements; + Vector<Element *> mElements; }; |