diff options
author | Jason Sams <rjsams@android.com> | 2010-09-02 17:35:23 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2010-09-07 12:06:05 -0700 |
commit | 70d4e5024298f71edb3b04867e05568f5495b4ce (patch) | |
tree | 031a101a16e33230c0d902f0e2c389aaf7996116 /libs/rs/rsElement.h | |
parent | 355383e424882b590139590296562d644dd97a95 (diff) | |
download | frameworks_base-70d4e5024298f71edb3b04867e05568f5495b4ce.zip frameworks_base-70d4e5024298f71edb3b04867e05568f5495b4ce.tar.gz frameworks_base-70d4e5024298f71edb3b04867e05568f5495b4ce.tar.bz2 |
Add arrays to elements.
Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
Diffstat (limited to 'libs/rs/rsElement.h')
-rw-r--r-- | libs/rs/rsElement.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/rs/rsElement.h b/libs/rs/rsElement.h index b5dad7a..42eef4a 100644 --- a/libs/rs/rsElement.h +++ b/libs/rs/rsElement.h @@ -66,7 +66,7 @@ public: static const Element * create(Context *rsc, RsDataType dt, RsDataKind dk, bool isNorm, uint32_t vecSize); static const Element * create(Context *rsc, size_t count, const Element **, - const char **, const size_t * lengths); + const char **, const size_t * lengths, const uint32_t *asin); void incRefs(const void *) const; void decRefs(const void *) const; @@ -80,6 +80,7 @@ protected: String8 name; ObjectBaseRef<const Element> e; uint32_t offsetBits; + uint32_t arraySize; } ElementField_t; ElementField_t *mFields; size_t mFieldCount; |