summaryrefslogtreecommitdiff
path: root/libs/rs/rsElement.h
diff options
context:
space:
mode:
author Alex Sakhartchouk <alexst@google.com> 2010-09-14 11:39:53 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-09-14 11:39:53 -0700
commitd3326231dc3d334054fbeeacdf691965d1618a0c (patch)
tree57446faee5b38f37d9bd00aba59d50054900b23b /libs/rs/rsElement.h
parent9322775014432ed6c87c864e98fe482f879ff233 (diff)
parentc984dd73c6f96d16e11813ae433ef70f7648ae77 (diff)
Merge "Shader changes to allow for more flexible constant binding."
Diffstat (limited to 'libs/rs/rsElement.h')
-rw-r--r--libs/rs/rsElement.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/rs/rsElement.h b/libs/rs/rsElement.h
index 42eef4adcb0f..ae6a6ccb2ea7 100644
--- a/libs/rs/rsElement.h
+++ b/libs/rs/rsElement.h
@@ -99,8 +99,17 @@ 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;
};