Fix use of rs_script_call_t.
There were a few broken parts here for rs_script_call_t.
1) Incorrect runtime function signatures.
2) Missing enum at the start of the driver structure.
3) Missing update of pointer based on xStart.
Bug: 7212879
Change-Id: I25d44d5534ceb61b49b0bbc7cf1b5c6b16bab360
diff --git a/rsDefines.h b/rsDefines.h
index cccff86..8900c13 100644
--- a/rsDefines.h
+++ b/rsDefines.h
@@ -357,8 +357,18 @@
const char* objectName;
} RsFileIndexEntry;
+enum RsForEachStrategy {
+ RS_FOR_EACH_STRATEGY_SERIAL = 0,
+ RS_FOR_EACH_STRATEGY_DONT_CARE = 1,
+ RS_FOR_EACH_STRATEGY_DST_LINEAR = 2,
+ RS_FOR_EACH_STRATEGY_TILE_SMALL = 3,
+ RS_FOR_EACH_STRATEGY_TILE_MEDIUM = 4,
+ RS_FOR_EACH_STRATEGY_TILE_LARGE = 5
+};
+
// Script to Script
typedef struct {
+ enum RsForEachStrategy strategy;
uint32_t xStart;
uint32_t xEnd;
uint32_t yStart;