H A D | rsApiStubs.cpp | 158 RsContextWrapper *ctxWrapper; local 164 ctxWrapper = new RsContextWrapper{context, instance.GetEntryFuncs()}; 168 ctxWrapper = new RsContextWrapper{context, instance.GetEntryFuncs()}; 173 rsContextSetCacheDir(ctxWrapper, 189 contextMap.insert(std::make_pair(context, ctxWrapper)); 191 return (RsContext) ctxWrapper; 194 extern "C" void rsContextDestroy (RsContext ctxWrapper) argument 200 RS_DISPATCH(ctxWrapper, ContextDestroy); 204 contextMap.erase(reinterpret_cast< RsContextWrapper* >(ctxWrapper)->context); 206 delete (RsContextWrapper *)ctxWrapper; 209 rsContextFinish(RsContext ctxWrapper) argument 214 rsContextDump(RsContext ctxWrapper, int32_t bits) argument 219 rsContextSetPriority(RsContext ctxWrapper, int32_t priority) argument 224 rsContextDestroyWorker(RsContext ctxWrapper) argument 228 rsContextGetMessage(RsContext ctxWrapper, void * data, size_t data_length, size_t * receiveLen, size_t receiveLen_length, uint32_t * usrID, size_t usrID_length) argument 237 rsContextPeekMessage(RsContext ctxWrapper, size_t * receiveLen, size_t receiveLen_length, uint32_t * usrID, size_t usrID_length) argument 246 rsContextSendMessage(RsContext ctxWrapper, uint32_t id, const uint8_t * data, size_t data_length) argument 251 rsContextInitToClient(RsContext ctxWrapper) argument 256 rsContextDeinitToClient(RsContext ctxWrapper) argument 261 rsContextSetCacheDir(RsContext ctxWrapper, const char * cacheDir, size_t cacheDir_length) argument 266 rsaContextSetNativeLibDir(RsContext ctxWrapper, char *libDir, size_t length) argument 272 rsAssignName(RsContext ctxWrapper, RsObjectBase obj, const char * name, size_t name_length) argument 277 rsaGetName(RsContext ctxWrapper, void * obj, const char **name) argument 282 rsObjDestroy(RsContext ctxWrapper, RsAsyncVoidPtr objPtr) argument 289 rsElementCreate(RsContext ctxWrapper, RsDataType mType, RsDataKind mKind, bool mNormalized, uint32_t mVectorSize) argument 295 rsElementCreate2(RsContext ctxWrapper, const RsElement * elements, size_t elements_length, const char ** names, size_t names_length_length, const size_t * names_length, const uint32_t * arraySize, size_t arraySize_length) argument 305 rsaElementGetNativeData(RsContext ctxWrapper, RsElement elem, uint32_t *elemData, uint32_t elemDataSize) argument 310 rsaElementGetSubElements(RsContext ctxWrapper, RsElement elem, uintptr_t *ids, const char **names, size_t *arraySizes, uint32_t dataSize) argument 318 rsTypeCreate(RsContext ctxWrapper, RsElement e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument 324 rsTypeCreate2(RsContext ctxWrapper, const RsTypeCreateParams * dat, size_t dat_length) argument 329 rsaTypeGetNativeData(RsContext ctxWrapper, RsType type, uintptr_t *typeData, uint32_t typeDataSize) argument 337 rsAllocationCreateTyped(RsContext ctxWrapper, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument 343 rsAllocationCreateFromBitmap(RsContext ctxWrapper, RsType vtype, RsAllocationMipmapControl mipmaps, const void * data, size_t data_length, uint32_t usages) argument 349 rsAllocationCubeCreateFromBitmap(RsContext ctxWrapper, RsType vtype, RsAllocationMipmapControl mipmaps, const void * data, size_t data_length, uint32_t usages) argument 355 rsAllocationAdapterCreate(RsContext ctxWrapper, RsType vtype, RsAllocation baseAlloc) argument 360 rsaAllocationGetType(RsContext ctxWrapper, RsAllocation va) argument 365 rsAllocationGetSurface(RsContext ctxWrapper, RsAllocation alloc) argument 370 rsAllocationSetupBufferQueue(RsContext ctxWrapper, RsAllocation alloc, uint32_t numAlloc) argument 375 rsAllocationShareBufferQueue(RsContext ctxWrapper, RsAllocation alloc1, RsAllocation alloc2) argument 380 rsAllocationSetSurface(RsContext ctxWrapper, RsAllocation alloc, RsNativeWindow sur) argument 385 rsAllocationAdapterOffset(RsContext ctxWrapper, RsAllocation alloc, const uint32_t * offsets, size_t offsets_length) argument 391 rsAllocationCopyToBitmap(RsContext ctxWrapper, RsAllocation alloc, void * data, size_t data_length) argument 396 rsAllocationGetPointer(RsContext ctxWrapper, RsAllocation va, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t * stride, size_t stride_length) argument 402 rsAllocation1DData(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void * data, size_t data_length) argument 408 rsAllocation1DElementData(RsContext ctxWrapper, RsAllocation va, uint32_t x, uint32_t lod, const void * data, size_t data_length, size_t comp_offset) argument 414 rsAllocationElementData(RsContext ctxWrapper, RsAllocation va, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, const void * data, size_t data_length, size_t comp_offset) argument 420 rsAllocation2DData(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void * data, size_t data_length, size_t stride) argument 427 rsAllocation3DData(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void * data, size_t data_length, size_t stride) argument 434 rsAllocationGenerateMipmaps(RsContext ctxWrapper, RsAllocation va) argument 439 rsAllocationRead(RsContext ctxWrapper, RsAllocation va, void * data, size_t data_length) argument 444 rsAllocation1DRead(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void * data, size_t data_length) argument 450 rsAllocationElementRead(RsContext ctxWrapper, RsAllocation va, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, void * data, size_t data_length, size_t comp_offset) argument 456 rsAllocation2DRead(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void * data, size_t data_length, size_t stride) argument 463 rsAllocation3DRead(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void * data, size_t data_length, size_t stride) argument 470 rsAllocationSyncAll(RsContext ctxWrapper, RsAllocation va, RsAllocationUsageType src) argument 475 rsAllocationResize1D(RsContext ctxWrapper, RsAllocation va, uint32_t dimX) argument 480 rsAllocationCopy2DRange(RsContext ctxWrapper, RsAllocation dest, uint32_t destXoff, uint32_t destYoff, uint32_t destMip, uint32_t destFace, uint32_t width, uint32_t height, RsAllocation src, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcMip, uint32_t srcFace) argument 493 rsAllocationCopy3DRange(RsContext ctxWrapper, RsAllocation dest, uint32_t destXoff, uint32_t destYoff, uint32_t destZoff, uint32_t destMip, uint32_t width, uint32_t height, uint32_t depth, RsAllocation src, uint32_t srcXoff, uint32_t srcYoff, uint32_t srcZoff, uint32_t srcMip) argument 507 rsAllocationIoSend(RsContext ctxWrapper, RsAllocation alloc) argument 512 rsAllocationIoReceive(RsContext ctxWrapper, RsAllocation alloc) argument 519 rsScriptGroupExecute(RsContext ctxWrapper, RsScriptGroup group) argument 524 rsScriptGroup2Create(RsContext ctxWrapper, const char * name, size_t name_length, const char * cacheDir, size_t cacheDir_length, RsClosure * closures, size_t closures_length) argument 534 rsClosureCreate(RsContext ctxWrapper, RsScriptKernelID kernelID, RsAllocation returnValue, RsScriptFieldID * fieldIDs, size_t fieldIDs_length, const int64_t * values, size_t values_length, const int * sizes, size_t sizes_length, RsClosure * depClosures, size_t depClosures_length, RsScriptFieldID * depFieldIDs, size_t depFieldIDs_length) argument 547 rsInvokeClosureCreate(RsContext ctxWrapper, RsScriptInvokeID invokeID, const void * params, size_t params_length, const RsScriptFieldID * fieldIDs, size_t fieldIDs_length, const int64_t * values, size_t values_length, const int * sizes, size_t sizes_length) argument 560 rsClosureSetArg(RsContext ctxWrapper, RsClosure closureID, uint32_t index, uintptr_t value, int valueSize) argument 566 rsClosureSetGlobal(RsContext ctxWrapper, RsClosure closureID, RsScriptFieldID fieldID, int64_t value, int valueSize) argument 572 rsScriptKernelIDCreate(RsContext ctxWrapper, RsScript sid, int slot, int sig) argument 577 rsScriptFieldIDCreate(RsContext ctxWrapper, RsScript sid, int slot) argument 582 rsScriptGroupCreate(RsContext ctxWrapper, RsScriptKernelID * kernels, size_t kernels_length, RsScriptKernelID * src, size_t src_length, RsScriptKernelID * dstK, size_t dstK_length, RsScriptFieldID * dstF, size_t dstF_length, const RsType * type, size_t type_length) argument 594 rsScriptGroupSetOutput(RsContext ctxWrapper, RsScriptGroup group, RsScriptKernelID kernel, RsAllocation alloc) argument 600 rsScriptGroupSetInput(RsContext ctxWrapper, RsScriptGroup group, RsScriptKernelID kernel, RsAllocation alloc) argument 608 rsSamplerCreate(RsContext ctxWrapper, RsSamplerValue magFilter, RsSamplerValue minFilter, RsSamplerValue wrapS, RsSamplerValue wrapT, RsSamplerValue wrapR, float mAniso) argument 617 rsScriptCCreate(RsContext ctxWrapper, const char * resName, size_t resName_length, const char * cacheDir, size_t cacheDir_length, const char * text, size_t text_length) argument 624 rsScriptIntrinsicCreate(RsContext ctxWrapper, uint32_t id, RsElement eid) argument 629 rsScriptBindAllocation(RsContext ctxWrapper, RsScript vtm, RsAllocation va, uint32_t slot) argument 634 rsScriptSetTimeZone(RsContext ctxWrapper, RsScript s, const char * timeZone, size_t timeZone_length) argument 639 rsScriptInvokeIDCreate(RsContext ctxWrapper, RsScript s, uint32_t slot) argument 644 rsScriptInvoke(RsContext ctxWrapper, RsScript s, uint32_t slot) argument 649 rsScriptInvokeV(RsContext ctxWrapper, RsScript s, uint32_t slot, const void * data, size_t data_length) argument 654 rsScriptForEach(RsContext ctxWrapper, RsScript s, uint32_t slot, RsAllocation ain, RsAllocation aout, const void * usr, size_t usr_length, const RsScriptCall * sc, size_t sc_length) argument 662 rsScriptForEachMulti(RsContext ctxWrapper, RsScript s, uint32_t slot, RsAllocation * ains, size_t ains_length, RsAllocation aout, const void * usr, size_t usr_length, const RsScriptCall * sc, size_t sc_length) argument 670 rsScriptReduce(RsContext ctxWrapper, RsScript s, uint32_t slot, RsAllocation * ains, size_t ains_length, RsAllocation aout, const RsScriptCall * sc, size_t sc_length) argument 677 rsScriptSetVarI(RsContext ctxWrapper, RsScript s, uint32_t slot, int value) argument 682 rsScriptSetVarObj(RsContext ctxWrapper, RsScript s, uint32_t slot, RsObjectBase value) argument 687 rsScriptSetVarJ(RsContext ctxWrapper, RsScript s, uint32_t slot, int64_t value) argument 692 rsScriptSetVarF(RsContext ctxWrapper, RsScript s, uint32_t slot, float value) argument 697 rsScriptSetVarD(RsContext ctxWrapper, RsScript s, uint32_t slot, double value) argument 702 rsScriptSetVarV(RsContext ctxWrapper, RsScript s, uint32_t slot, const void * data, size_t data_length) argument 708 rsScriptGetVarV(RsContext ctxWrapper, RsScript s, uint32_t slot, void * data, size_t data_length) argument 714 rsScriptSetVarVE(RsContext ctxWrapper, RsScript s, uint32_t slot, const void * data, size_t data_length, RsElement e, const uint32_t * dims, size_t dims_length) argument 736 RsContextWrapper *ctxWrapper = new RsContextWrapper{context, instance.GetEntryFuncs()}; local 745 rsContextBindProgramStore(RsContext ctxWrapper, RsProgramStore pgm) argument 750 rsContextBindProgramFragment(RsContext ctxWrapper, RsProgramFragment pgm) argument 755 rsContextBindProgramVertex(RsContext ctxWrapper, RsProgramVertex pgm) argument 760 rsContextBindProgramRaster(RsContext ctxWrapper, RsProgramRaster pgm) argument 765 rsContextBindFont(RsContext ctxWrapper, RsFont pgm) argument 770 rsContextSetSurface(RsContext ctxWrapper, uint32_t width, uint32_t height, RsNativeWindow sur) argument 776 rsContextBindRootScript(RsContext ctxWrapper, RsScript sampler) argument 781 rsContextPause(RsContext ctxWrapper) argument 786 rsContextResume(RsContext ctxWrapper) argument 791 rsProgramStoreCreate(RsContext ctxWrapper, bool colorMaskR, bool colorMaskG, bool colorMaskB, bool colorMaskA, bool depthMask, bool ditherEnable, RsBlendSrcFunc srcFunc, RsBlendDstFunc destFunc, RsDepthFunc depthFunc) argument 804 rsProgramRasterCreate(RsContext ctxWrapper, bool pointSprite, RsCullMode cull) argument 809 rsProgramFragmentCreate(RsContext ctxWrapper, const char * shaderText, size_t shaderText_length, const char ** textureNames, size_t textureNames_length_length, const size_t * textureNames_length, const uintptr_t * params, size_t params_length) argument 821 rsProgramVertexCreate(RsContext ctxWrapper, const char * shaderText, size_t shaderText_length, const char ** textureNames, size_t textureNames_length_length, const size_t * textureNames_length, const uintptr_t * params, size_t params_length) argument 833 rsFontCreateFromFile(RsContext ctxWrapper, const char * name, size_t name_length, float fontSize, uint32_t dpi) argument 839 rsFontCreateFromMemory(RsContext ctxWrapper, const char * name, size_t name_length, float fontSize, uint32_t dpi, const void * data, size_t data_length) argument 846 rsMeshCreate(RsContext ctxWrapper, RsAllocation * vtx, size_t vtx_length, RsAllocation * idx, size_t idx_length, uint32_t * primType, size_t primType_length) argument 853 rsProgramBindConstants(RsContext ctxWrapper, RsProgram vp, uint32_t slot, RsAllocation constants) argument 858 rsProgramBindTexture(RsContext ctxWrapper, RsProgramFragment pf, uint32_t slot, RsAllocation a) argument 863 rsProgramBindSampler(RsContext ctxWrapper, RsProgramFragment pf, uint32_t slot, RsSampler s) argument 868 rsaFileA3DGetEntryByIndex(RsContext ctxWrapper, uint32_t index, RsFile file) argument 873 rsaFileA3DCreateFromMemory(RsContext ctxWrapper, const void *data, uint32_t len) argument 878 rsaFileA3DCreateFromAsset(RsContext ctxWrapper, void *_asset) argument 883 rsaFileA3DCreateFromFile(RsContext ctxWrapper, const char *path) argument 888 rsaFileA3DGetNumIndexEntries(RsContext ctxWrapper, int32_t *numEntries, RsFile file) argument 893 rsaFileA3DGetIndexEntries(RsContext ctxWrapper, RsFileIndexEntry *fileEntries, uint32_t numEntries, RsFile file) argument 898 rsaMeshGetVertexBufferCount(RsContext ctxWrapper, RsMesh mv, int32_t *numVtx) argument 903 rsaMeshGetIndexCount(RsContext ctxWrapper, RsMesh mv, int32_t *numIdx) argument 908 rsaMeshGetVertices(RsContext ctxWrapper, RsMesh mv, RsAllocation *vtxData, uint32_t vtxDataCount) argument 913 rsaMeshGetIndices(RsContext ctxWrapper, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idxDataCount) argument [all...] |