Add RS support for generic attribs as input to vertex programs.
diff --git a/libs/rs/rsElement.h b/libs/rs/rsElement.h
index c46922c..777e8ee 100644
--- a/libs/rs/rsElement.h
+++ b/libs/rs/rsElement.h
@@ -32,13 +32,9 @@
public:
~Element();
-
- //void setComponent(uint32_t idx, Component *c);
-
uint32_t getGLType() const;
uint32_t getGLFormat() const;
-
size_t getSizeBits() const;
size_t getSizeBytes() const {
return (getSizeBits() + 7) >> 3;
@@ -55,13 +51,12 @@
const Component & getComponent() const {return mComponent;}
RsDataType getType() const {return mComponent.getType();}
- //bool getIsNormalized() const {return mIsNormalized;}
RsDataKind getKind() const {return mComponent.getKind();}
uint32_t getBits() const {return mBits;}
- //uint32_t getGLType() const;
String8 getCType(uint32_t indent=0) const;
String8 getCStructBody(uint32_t indent=0) const;
+ String8 getGLSLType(uint32_t indent=0) const;
void dumpLOGV(const char *prefix) const;
@@ -94,8 +89,6 @@
ElementState();
~ElementState();
- Vector<Element *> mBuildList;
- Vector<String8> mNames;
};