diff options
Diffstat (limited to 'rs_hal.h')
-rw-r--r-- | rs_hal.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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, |