diff options
| author | Jason Sams <rjsams@android.com> | 2009-12-23 14:35:29 -0800 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-12-23 14:35:29 -0800 |
| commit | 718cd1f322ee5b62b6a49cb36195bcb18a5ab711 (patch) | |
| tree | f2f8c9db5a8141eafa2f1547634d7586fdc6ef04 /libs/rs/rsVertexArray.h | |
| parent | ceedafacdb87307234c84196a12eeb6e657d6220 (diff) | |
| download | frameworks_base-718cd1f322ee5b62b6a49cb36195bcb18a5ab711.zip frameworks_base-718cd1f322ee5b62b6a49cb36195bcb18a5ab711.tar.gz frameworks_base-718cd1f322ee5b62b6a49cb36195bcb18a5ab711.tar.bz2 | |
Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.
This will break some apps, checkings for other projects will follow to unbreak them.
Diffstat (limited to 'libs/rs/rsVertexArray.h')
| -rw-r--r-- | libs/rs/rsVertexArray.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsVertexArray.h b/libs/rs/rsVertexArray.h index 235ffef..f97813f 100644 --- a/libs/rs/rsVertexArray.h +++ b/libs/rs/rsVertexArray.h @@ -64,8 +64,8 @@ public: void setPointSize(uint32_t type, uint32_t stride, uint32_t offset); void setTexture(uint32_t size, uint32_t type, uint32_t stride, uint32_t offset, uint32_t num); - void setupGL(class VertexArrayState *) const; - void setupGL2(class VertexArrayState *, ShaderCache *) const; + void setupGL(const Context *rsc, class VertexArrayState *) const; + void setupGL2(const Context *rsc, class VertexArrayState *, ShaderCache *) const; void logAttrib(uint32_t idx) const; protected: |
