diff options
Diffstat (limited to 'libs/rs/rs_hal.h')
-rw-r--r-- | libs/rs/rs_hal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/rs/rs_hal.h b/libs/rs/rs_hal.h index d2f273b..4cc2abf 100644 --- a/libs/rs/rs_hal.h +++ b/libs/rs/rs_hal.h @@ -30,11 +30,13 @@ class Type; class Allocation; class Script; class ScriptC; +class Program; class ProgramStore; class ProgramRaster; class ProgramVertex; class ProgramFragment; class Mesh; +class Sampler; typedef void *(*RsHalSymbolLookupFunc)(void *usrptr, char const *symbolName); @@ -121,6 +123,11 @@ typedef struct { void (*destroy)(const Context *rsc, const Mesh *m); } mesh; + struct { + bool (*init)(const Context *rsc, const Sampler *m); + void (*destroy)(const Context *rsc, const Sampler *m); + } sampler; + } RsdHalFunctions; |