summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsElement.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-01-04 16:52:27 -0800
committerJason Sams <rjsams@android.com>2010-01-04 16:52:27 -0800
commite17964e150e459bacced5658ae36fe1c56082e37 (patch)
treed9a3f9bf24dcc509d8475e978c262d702cfb0bf3 /libs/rs/rsElement.h
parent7d46f612a25fc9f190358e9bd807b71d424ce7d2 (diff)
downloadframeworks_base-e17964e150e459bacced5658ae36fe1c56082e37.zip
frameworks_base-e17964e150e459bacced5658ae36fe1c56082e37.tar.gz
frameworks_base-e17964e150e459bacced5658ae36fe1c56082e37.tar.bz2
Add RS support for generic attribs as input to vertex programs.
Diffstat (limited to 'libs/rs/rsElement.h')
-rw-r--r--libs/rs/rsElement.h9
1 files changed, 1 insertions, 8 deletions
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 @@ class Element : public ObjectBase
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 @@ public:
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 @@ public:
ElementState();
~ElementState();
- Vector<Element *> mBuildList;
- Vector<String8> mNames;
};