diff options
author | Jason Sams <jsams@google.com> | 2013-07-09 14:29:39 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2013-07-09 14:29:39 -0700 |
commit | f313dc32d5ea68a7c48fb4ec6e131ec2fb97ce2d (patch) | |
tree | 9309212ee75f350a9cf3b3589f71c7c33b75bc71 /rsElement.h | |
parent | dc596dd105ad4b066a13f7450dae32d2bf56c5a6 (diff) | |
download | rs-f313dc32d5ea68a7c48fb4ec6e131ec2fb97ce2d.tar.gz |
Remove internal element builder and vector code.
Remove additional String8 references from shared includes.
Change-Id: Iede11384b9fc5a303d15d47fd4074c800dc6ad5f
Diffstat (limited to 'rsElement.h')
-rw-r--r-- | rsElement.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/rsElement.h b/rsElement.h index 1eae46df..32cfda14 100644 --- a/rsElement.h +++ b/rsElement.h @@ -57,18 +57,6 @@ public: }; Hal mHal; - class Builder { - public: - Builder(); - void add(const Element *e, const char *nameStr, uint32_t arraySize); - ObjectBaseRef<const Element> create(Context *rsc); - private: - Vector<ObjectBaseRef<const Element> > mBuilderElementRefs; - Vector<const Element *> mBuilderElements; - Vector<const char*> mBuilderNameStrings; - Vector<size_t> mBuilderNameLengths; - Vector<uint32_t> mBuilderArrays; - }; uint32_t getGLType() const; uint32_t getGLFormat() const; @@ -133,8 +121,8 @@ public: static const Element* create(Context *rsc, size_t count, const Element **ein, const char **nin, - const size_t * lengths, - const uint32_t *asin) { + const size_t * lengths = NULL, + const uint32_t *asin = NULL) { ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin); elem->incUserRef(); return elem.get(); |