summaryrefslogtreecommitdiff
path: root/rs_hal.h
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2012-09-17 13:54:41 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-17 15:26:27 -0700
commitdbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 (patch)
tree51103b76560e70b15b55d123f0104a0bea6dd94a /rs_hal.h
parent3d5a9be726acf2b7785e91f6bff157c2c8635690 (diff)
downloadrs-dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48.tar.gz
Add backed for script groups.
Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
Diffstat (limited to 'rs_hal.h')
-rw-r--r--rs_hal.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/rs_hal.h b/rs_hal.h
index 51f63276..6f0e5307 100644
--- a/rs_hal.h
+++ b/rs_hal.h
@@ -30,7 +30,11 @@ class Element;
class Type;
class Allocation;
class Script;
+class ScriptKernelID;
+class ScriptFieldID;
+class ScriptMethodID;
class ScriptC;
+class ScriptGroup;
class Path;
class Program;
class ProgramStore;
@@ -258,6 +262,16 @@ typedef struct {
void (*destroy)(const Context *rsc, const FBOCache *fb);
} framebuffer;
+ struct {
+ bool (*init)(const Context *rsc, const ScriptGroup *sg);
+ void (*setInput)(const Context *rsc, const ScriptGroup *sg,
+ const ScriptKernelID *kid, Allocation *);
+ void (*setOutput)(const Context *rsc, const ScriptGroup *sg,
+ const ScriptKernelID *kid, Allocation *);
+ void (*execute)(const Context *rsc, const ScriptGroup *sg);
+ void (*destroy)(const Context *rsc, const ScriptGroup *sg);
+ } scriptgroup;
+
} RsdHalFunctions;