From c1b4c1ff9b2f9e691089f96e5b926b638d5b0e6a Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 17 Aug 2011 13:46:46 -0700 Subject: Add structure to pack params for forEach. This allows the driver to not pass all the sub-params. Change-Id: I9728a7bb39893f49193a55155994ede0400cb7a6 --- libs/rs/rs_hal.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'libs/rs/rs_hal.h') diff --git a/libs/rs/rs_hal.h b/libs/rs/rs_hal.h index 6a4537b..21dff21 100644 --- a/libs/rs/rs_hal.h +++ b/libs/rs/rs_hal.h @@ -40,6 +40,19 @@ class FBOCache; typedef void *(*RsHalSymbolLookupFunc)(void *usrptr, char const *symbolName); +typedef struct { + const void *in; + void *out; + const void *usr; + size_t usr_len; + uint32_t x; + uint32_t y; + uint32_t z; + uint32_t lod; + RsAllocationCubemapFace face; + uint32_t ar[16]; +} RsForEachStubParamStruct; + /** * Script management functions */ -- cgit v1.1