The Java API allows a RenderScript Allocation to function as a SurfaceTexture provider. (Simple usage example)
The C++ API seems to support only half of the methods necessary to bind an Allocation to a texture. Specifically, in rsCppStructs.h (lines 278-569) the following methods are defined:
void syncAll(RsAllocationUsageType srcLocation);
void ioSendOutput();
void ioGetInput();
but the methods setSurface
and getSurface
are absent. Has that functionality not yet been implemented? If not, when might it be?