diff options
author | Alex Sakhartchouk <alexst@google.com> | 2011-08-19 09:43:18 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2011-08-19 09:43:18 -0700 |
commit | a8bb921c8b50dd4b9c000b9bb6a438a7faf9539a (patch) | |
tree | 82e0aa25a5bb09e568d5dbcc0be4ae359d62ffd9 /libs/rs/rsElement.h | |
parent | 0197d825f15844e51b91a0006d411ecb06350641 (diff) | |
download | frameworks_base-a8bb921c8b50dd4b9c000b9bb6a438a7faf9539a.zip frameworks_base-a8bb921c8b50dd4b9c000b9bb6a438a7faf9539a.tar.gz frameworks_base-a8bb921c8b50dd4b9c000b9bb6a438a7faf9539a.tar.bz2 |
Fixing the lockless fifo destory bug.
Removing unused code from element. build.
Change-Id: I4bb324a666486d6d3fa45cc1995d0e96cb99f70a
Diffstat (limited to 'libs/rs/rsElement.h')
-rw-r--r-- | libs/rs/rsElement.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libs/rs/rsElement.h b/libs/rs/rsElement.h index c3ef250..bfdec53 100644 --- a/libs/rs/rsElement.h +++ b/libs/rs/rsElement.h @@ -30,6 +30,7 @@ class Element : public ObjectBase { public: class Builder { public: + Builder(); void add(const Element *e, const char *nameStr, uint32_t arraySize); ObjectBaseRef<const Element> create(Context *rsc); private: @@ -135,17 +136,8 @@ public: ElementState(); ~ElementState(); - void elementBuilderBegin(); - void elementBuilderAdd(const Element *e, const char *nameStr, uint32_t arraySize); - const Element *elementBuilderCreate(Context *rsc); - // Cache of all existing elements. Vector<Element *> mElements; -private: - Vector<const Element *> mBuilderElements; - Vector<const char*> mBuilderNameStrings; - Vector<size_t> mBuilderNameLengths; - Vector<uint32_t> mBuilderArrays; }; |