Moving samplers behind the hal.
Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
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 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 @@
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;