From 748eb07e805b93c2bf79340d4937963ab739d17c Mon Sep 17 00:00:00 2001 From: Alex Sakhartchouk Date: Wed, 15 Feb 2012 16:21:46 -0800 Subject: Piping texture names through shader builder. Fixing uint size_t mismatch. Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb --- rs_hal.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'rs_hal.h') diff --git a/rs_hal.h b/rs_hal.h index 7c9618a4..800053a7 100644 --- a/rs_hal.h +++ b/rs_hal.h @@ -172,14 +172,18 @@ typedef struct { struct { bool (*init)(const Context *rsc, const ProgramVertex *pv, - const char* shader, size_t shaderLen); + const char* shader, size_t shaderLen, + const char** textureNames, size_t textureNamesCount, + const size_t *textureNamesLength); void (*setActive)(const Context *rsc, const ProgramVertex *pv); void (*destroy)(const Context *rsc, const ProgramVertex *pv); } vertex; struct { bool (*init)(const Context *rsc, const ProgramFragment *pf, - const char* shader, size_t shaderLen); + const char* shader, size_t shaderLen, + const char** textureNames, size_t textureNamesCount, + const size_t *textureNamesLength); void (*setActive)(const Context *rsc, const ProgramFragment *pf); void (*destroy)(const Context *rsc, const ProgramFragment *pf); } fragment; -- cgit v1.2.3