summaryrefslogtreecommitdiff
path: root/rs_hal.h
diff options
context:
space:
mode:
Diffstat (limited to 'rs_hal.h')
-rw-r--r--rs_hal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rs_hal.h b/rs_hal.h
index 7c9618a4..12ace43f 100644
--- a/rs_hal.h
+++ b/rs_hal.h
@@ -19,6 +19,8 @@
#include <RenderScriptDefines.h>
+struct ANativeWindow;
+
namespace android {
namespace renderscript {
@@ -115,7 +117,11 @@ typedef struct {
bool zeroNew);
void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
void (*markDirty)(const Context *rsc, const Allocation *alloc);
+
int32_t (*initSurfaceTexture)(const Context *rsc, const Allocation *alloc);
+ void (*setSurfaceTexture)(const Context *rsc, Allocation *alloc, ANativeWindow *sur);
+ void (*ioSend)(const Context *rsc, Allocation *alloc);
+ void (*ioReceive)(const Context *rsc, Allocation *alloc);
void (*data1D)(const Context *rsc, const Allocation *alloc,
uint32_t xoff, uint32_t lod, uint32_t count,