diff options
author | Jason Sams <jsams@google.com> | 2012-09-17 13:54:41 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-17 15:26:27 -0700 |
commit | dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 (patch) | |
tree | 51103b76560e70b15b55d123f0104a0bea6dd94a /rs_hal.h | |
parent | 3d5a9be726acf2b7785e91f6bff157c2c8635690 (diff) | |
download | rs-dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48.tar.gz |
Add backed for script groups.
Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
Diffstat (limited to 'rs_hal.h')
-rw-r--r-- | rs_hal.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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; |