Lines Matching refs:ctxWrapper
150 RsContextWrapper *ctxWrapper; in rsContextCreate() local
156 ctxWrapper = new RsContextWrapper{context, instance.GetEntryFuncs()}; in rsContextCreate()
160 ctxWrapper = new RsContextWrapper{context, instance.GetEntryFuncs()}; in rsContextCreate()
168 rsContextSetCacheDir(ctxWrapper, in rsContextCreate()
184 contextMap.insert(std::make_pair(context, ctxWrapper)); in rsContextCreate()
186 return (RsContext) ctxWrapper; in rsContextCreate()
189 extern "C" void rsContextDestroy (RsContext ctxWrapper) in rsContextDestroy() argument
195 RS_DISPATCH(ctxWrapper, ContextDestroy); in rsContextDestroy()
199 contextMap.erase(reinterpret_cast< RsContextWrapper* >(ctxWrapper)->context); in rsContextDestroy()
201 delete (RsContextWrapper *)ctxWrapper; in rsContextDestroy()
204 extern "C" void rsContextFinish (RsContext ctxWrapper) in rsContextFinish() argument
206 RS_DISPATCH(ctxWrapper, ContextFinish); in rsContextFinish()
209 extern "C" void rsContextDump (RsContext ctxWrapper, int32_t bits) in rsContextDump() argument
211 RS_DISPATCH(ctxWrapper, ContextDump, bits); in rsContextDump()
214 extern "C" void rsContextSetPriority (RsContext ctxWrapper, int32_t priority) in rsContextSetPriority() argument
216 RS_DISPATCH(ctxWrapper, ContextSetPriority, priority); in rsContextSetPriority()
219 extern "C" void rsContextDestroyWorker (RsContext ctxWrapper) in rsContextDestroyWorker() argument
223 extern "C" RsMessageToClientType rsContextGetMessage (RsContext ctxWrapper, void * data, size_t dat… in rsContextGetMessage() argument
227 return RS_DISPATCH(ctxWrapper, ContextGetMessage, data, data_length, in rsContextGetMessage()
232 extern "C" RsMessageToClientType rsContextPeekMessage (RsContext ctxWrapper, in rsContextPeekMessage() argument
236 return RS_DISPATCH(ctxWrapper, ContextPeekMessage, in rsContextPeekMessage()
241 extern "C" void rsContextSendMessage (RsContext ctxWrapper, uint32_t id, const uint8_t * data, size… in rsContextSendMessage() argument
243 RS_DISPATCH(ctxWrapper, ContextSendMessage, id, data, data_length); in rsContextSendMessage()
246 extern "C" void rsContextInitToClient (RsContext ctxWrapper) in rsContextInitToClient() argument
248 RS_DISPATCH(ctxWrapper, ContextInitToClient); in rsContextInitToClient()
251 extern "C" void rsContextDeinitToClient (RsContext ctxWrapper) in rsContextDeinitToClient() argument
253 RS_DISPATCH(ctxWrapper, ContextDeinitToClient); in rsContextDeinitToClient()
256 extern "C" void rsContextSetCacheDir (RsContext ctxWrapper, const char * cacheDir, size_t cacheDir_… in rsContextSetCacheDir() argument
258 RS_DISPATCH(ctxWrapper, ContextSetCacheDir, cacheDir, cacheDir_length); in rsContextSetCacheDir()
261 extern "C" void rsaContextSetNativeLibDir(RsContext ctxWrapper, char *libDir, size_t length) in rsaContextSetNativeLibDir() argument
267 extern "C" void rsAssignName (RsContext ctxWrapper, RsObjectBase obj, const char * name, size_t nam… in rsAssignName() argument
269 RS_DISPATCH(ctxWrapper, AssignName, obj, name, name_length); in rsAssignName()
272 extern "C" void rsaGetName(RsContext ctxWrapper, void * obj, const char **name) in rsaGetName() argument
274 RS_DISPATCH(ctxWrapper, GetName, obj, name); in rsaGetName()
277 extern "C" void rsObjDestroy (RsContext ctxWrapper, RsAsyncVoidPtr objPtr) in rsObjDestroy() argument
279 RS_DISPATCH(ctxWrapper, ObjDestroy, objPtr); in rsObjDestroy()
284 extern "C" RsElement rsElementCreate (RsContext ctxWrapper, RsDataType mType, RsDataKind mKind, in rsElementCreate() argument
287 return RS_DISPATCH(ctxWrapper, ElementCreate, mType, mKind, mNormalized, mVectorSize); in rsElementCreate()
290 extern "C" RsElement rsElementCreate2 (RsContext ctxWrapper, const RsElement * elements, size_t ele… in rsElementCreate2() argument
294 return RS_DISPATCH(ctxWrapper, ElementCreate2, in rsElementCreate2()
300 extern "C" void rsaElementGetNativeData(RsContext ctxWrapper, RsElement elem, uint32_t *elemData, u… in rsaElementGetNativeData() argument
302 RS_DISPATCH(ctxWrapper, ElementGetNativeData, elem, elemData, elemDataSize); in rsaElementGetNativeData()
305 extern "C" void rsaElementGetSubElements(RsContext ctxWrapper, RsElement elem, uintptr_t *ids, cons… in rsaElementGetSubElements() argument
308 RS_DISPATCH(ctxWrapper, ElementGetSubElements, elem, ids, names, arraySizes, dataSize); in rsaElementGetSubElements()
313 extern "C" RsType rsTypeCreate (RsContext ctxWrapper, RsElement e, uint32_t dimX, uint32_t dimY, ui… in rsTypeCreate() argument
316 return RS_DISPATCH(ctxWrapper, TypeCreate, e, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsTypeCreate()
319 extern "C" RsType rsTypeCreate2 (RsContext ctxWrapper, const RsTypeCreateParams * dat, size_t dat_l… in rsTypeCreate2() argument
324 extern "C" void rsaTypeGetNativeData(RsContext ctxWrapper, RsType type, uintptr_t *typeData, uint32… in rsaTypeGetNativeData() argument
326 RS_DISPATCH(ctxWrapper, TypeGetNativeData, type, typeData, typeDataSize); in rsaTypeGetNativeData()
332 extern "C" RsAllocation rsAllocationCreateTyped (RsContext ctxWrapper, RsType vtype, RsAllocationMi… in rsAllocationCreateTyped() argument
335 return RS_DISPATCH(ctxWrapper, AllocationCreateTyped, vtype, mipmaps, usages, ptr); in rsAllocationCreateTyped()
338 extern "C" RsAllocation rsAllocationCreateFromBitmap (RsContext ctxWrapper, RsType vtype, RsAllocat… in rsAllocationCreateFromBitmap() argument
341 …return RS_DISPATCH(ctxWrapper, AllocationCreateFromBitmap, vtype, mipmaps, data, data_length, usag… in rsAllocationCreateFromBitmap()
344 extern "C" RsAllocation rsAllocationCubeCreateFromBitmap (RsContext ctxWrapper, RsType vtype, RsAll… in rsAllocationCubeCreateFromBitmap() argument
347 …return RS_DISPATCH(ctxWrapper, AllocationCubeCreateFromBitmap, vtype, mipmaps, data, data_length, … in rsAllocationCubeCreateFromBitmap()
350 extern "C" RsAllocation rsAllocationAdapterCreate (RsContext ctxWrapper, RsType vtype, RsAllocation… in rsAllocationAdapterCreate() argument
352 return RS_DISPATCH(ctxWrapper, AllocationAdapterCreate, vtype, baseAlloc); in rsAllocationAdapterCreate()
355 extern "C" const void * rsaAllocationGetType(RsContext ctxWrapper, RsAllocation va) in rsaAllocationGetType() argument
357 return RS_DISPATCH(ctxWrapper, AllocationGetType, va); in rsaAllocationGetType()
360 extern "C" RsNativeWindow rsAllocationGetSurface (RsContext ctxWrapper, RsAllocation alloc) in rsAllocationGetSurface() argument
362 return RS_DISPATCH(ctxWrapper, AllocationGetSurface, alloc); in rsAllocationGetSurface()
365 extern "C" void rsAllocationSetupBufferQueue (RsContext ctxWrapper, RsAllocation alloc, uint32_t nu… in rsAllocationSetupBufferQueue() argument
367 RS_DISPATCH(ctxWrapper, AllocationSetupBufferQueue, alloc, numAlloc); in rsAllocationSetupBufferQueue()
370 extern "C" void rsAllocationShareBufferQueue (RsContext ctxWrapper, RsAllocation alloc1, RsAllocati… in rsAllocationShareBufferQueue() argument
372 RS_DISPATCH(ctxWrapper, AllocationShareBufferQueue, alloc1, alloc2); in rsAllocationShareBufferQueue()
375 extern "C" void rsAllocationSetSurface (RsContext ctxWrapper, RsAllocation alloc, RsNativeWindow su… in rsAllocationSetSurface() argument
377 RS_DISPATCH(ctxWrapper, AllocationSetSurface, alloc, sur); in rsAllocationSetSurface()
380 extern "C" void rsAllocationAdapterOffset (RsContext ctxWrapper, RsAllocation alloc, in rsAllocationAdapterOffset() argument
383 RS_DISPATCH(ctxWrapper, AllocationAdapterOffset, alloc, offsets, offsets_length); in rsAllocationAdapterOffset()
386 extern "C" void rsAllocationCopyToBitmap (RsContext ctxWrapper, RsAllocation alloc, void * data, si… in rsAllocationCopyToBitmap() argument
388 RS_DISPATCH(ctxWrapper, AllocationCopyToBitmap, alloc, data, data_length); in rsAllocationCopyToBitmap()
391 extern "C" void * rsAllocationGetPointer (RsContext ctxWrapper, RsAllocation va, uint32_t lod, RsAl… in rsAllocationGetPointer() argument
394 …return RS_DISPATCH(ctxWrapper, AllocationGetPointer, va, lod, face, z, array, stride, stride_lengt… in rsAllocationGetPointer()
397 extern "C" void rsAllocation1DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t … in rsAllocation1DData() argument
400 RS_DISPATCH(ctxWrapper, Allocation1DData, va, xoff, lod, count, data, data_length); in rsAllocation1DData()
403 extern "C" void rsAllocation1DElementData (RsContext ctxWrapper, RsAllocation va, uint32_t x, uint3… in rsAllocation1DElementData() argument
406 RS_DISPATCH(ctxWrapper, Allocation1DElementData, va, x, lod, data, data_length, comp_offset); in rsAllocation1DElementData()
409 extern "C" void rsAllocationElementData (RsContext ctxWrapper, RsAllocation va, uint32_t x, uint32_… in rsAllocationElementData() argument
412 … RS_DISPATCH(ctxWrapper, AllocationElementData, va, x, y, z, lod, data, data_length, comp_offset); in rsAllocationElementData()
415 extern "C" void rsAllocation2DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t … in rsAllocation2DData() argument
419 …RS_DISPATCH(ctxWrapper, Allocation2DData, va, xoff, yoff, lod, face, w, h, data, data_length, stri… in rsAllocation2DData()
422 extern "C" void rsAllocation3DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t … in rsAllocation3DData() argument
426 …RS_DISPATCH(ctxWrapper, Allocation3DData, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, s… in rsAllocation3DData()
429 extern "C" void rsAllocationGenerateMipmaps (RsContext ctxWrapper, RsAllocation va) in rsAllocationGenerateMipmaps() argument
431 RS_DISPATCH(ctxWrapper, AllocationGenerateMipmaps, va); in rsAllocationGenerateMipmaps()
434 extern "C" void rsAllocationRead (RsContext ctxWrapper, RsAllocation va, void * data, size_t data_l… in rsAllocationRead() argument
436 RS_DISPATCH(ctxWrapper, AllocationRead, va, data, data_length); in rsAllocationRead()
439 extern "C" void rsAllocation1DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t … in rsAllocation1DRead() argument
442 RS_DISPATCH(ctxWrapper, Allocation1DRead, va, xoff, lod, count, data, data_length); in rsAllocation1DRead()
445 extern "C" void rsAllocationElementRead (RsContext ctxWrapper, RsAllocation va, uint32_t x, uint32_… in rsAllocationElementRead() argument
448 … RS_DISPATCH(ctxWrapper, AllocationElementRead, va, x, y, z, lod, data, data_length, comp_offset); in rsAllocationElementRead()
451 extern "C" void rsAllocation2DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t … in rsAllocation2DRead() argument
455 …RS_DISPATCH(ctxWrapper, Allocation2DRead, va, xoff, yoff, lod, face, w, h, data, data_length, stri… in rsAllocation2DRead()
458 extern "C" void rsAllocation3DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t … in rsAllocation3DRead() argument
462 …RS_DISPATCH(ctxWrapper, Allocation3DRead, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, s… in rsAllocation3DRead()
465 extern "C" void rsAllocationSyncAll (RsContext ctxWrapper, RsAllocation va, RsAllocationUsageType s… in rsAllocationSyncAll() argument
467 RS_DISPATCH(ctxWrapper, AllocationSyncAll, va, src); in rsAllocationSyncAll()
470 extern "C" void rsAllocationResize1D (RsContext ctxWrapper, RsAllocation va, uint32_t dimX) in rsAllocationResize1D() argument
472 RS_DISPATCH(ctxWrapper, AllocationResize1D, va, dimX); in rsAllocationResize1D()
475 extern "C" void rsAllocationCopy2DRange (RsContext ctxWrapper, in rsAllocationCopy2DRange() argument
484 RS_DISPATCH(ctxWrapper, AllocationCopy2DRange, dest, destXoff, destYoff, destMip, destFace, in rsAllocationCopy2DRange()
488 extern "C" void rsAllocationCopy3DRange (RsContext ctxWrapper, in rsAllocationCopy3DRange() argument
497 RS_DISPATCH(ctxWrapper, AllocationCopy3DRange, in rsAllocationCopy3DRange()
502 extern "C" void rsAllocationIoSend (RsContext ctxWrapper, RsAllocation alloc) in rsAllocationIoSend() argument
504 RS_DISPATCH(ctxWrapper, AllocationIoSend, alloc); in rsAllocationIoSend()
507 extern "C" int64_t rsAllocationIoReceive (RsContext ctxWrapper, RsAllocation alloc) in rsAllocationIoReceive() argument
509 return RS_DISPATCH(ctxWrapper, AllocationIoReceive, alloc); in rsAllocationIoReceive()
514 extern "C" void rsScriptGroupExecute (RsContext ctxWrapper, RsScriptGroup group) in rsScriptGroupExecute() argument
516 RS_DISPATCH(ctxWrapper, ScriptGroupExecute, group); in rsScriptGroupExecute()
519 extern "C" RsScriptGroup2 rsScriptGroup2Create (RsContext ctxWrapper, const char * name, size_t nam… in rsScriptGroup2Create() argument
523 return RS_DISPATCH(ctxWrapper, ScriptGroup2Create, in rsScriptGroup2Create()
529 extern "C" RsClosure rsClosureCreate (RsContext ctxWrapper, RsScriptKernelID kernelID, RsAllocation… in rsClosureCreate() argument
536 return RS_DISPATCH(ctxWrapper, ClosureCreate, kernelID, returnValue, fieldIDs, fieldIDs_length, in rsClosureCreate()
542 extern "C" RsClosure rsInvokeClosureCreate (RsContext ctxWrapper, RsScriptInvokeID invokeID, in rsInvokeClosureCreate() argument
548 return RS_DISPATCH(ctxWrapper, InvokeClosureCreate, invokeID, in rsInvokeClosureCreate()
555 extern "C" void rsClosureSetArg (RsContext ctxWrapper, RsClosure closureID, uint32_t index, in rsClosureSetArg() argument
558 RS_DISPATCH(ctxWrapper, ClosureSetArg, closureID, index, value, valueSize); in rsClosureSetArg()
561 extern "C" void rsClosureSetGlobal (RsContext ctxWrapper, RsClosure closureID, RsScriptFieldID fiel… in rsClosureSetGlobal() argument
564 RS_DISPATCH(ctxWrapper, ClosureSetGlobal, closureID, fieldID, value, valueSize); in rsClosureSetGlobal()
567 extern "C" RsScriptKernelID rsScriptKernelIDCreate (RsContext ctxWrapper, RsScript sid, int slot, i… in rsScriptKernelIDCreate() argument
569 return RS_DISPATCH(ctxWrapper, ScriptKernelIDCreate, sid, slot, sig); in rsScriptKernelIDCreate()
572 extern "C" RsScriptFieldID rsScriptFieldIDCreate (RsContext ctxWrapper, RsScript sid, int slot) in rsScriptFieldIDCreate() argument
574 return RS_DISPATCH(ctxWrapper, ScriptFieldIDCreate, sid, slot); in rsScriptFieldIDCreate()
577 extern "C" RsScriptGroup rsScriptGroupCreate (RsContext ctxWrapper, RsScriptKernelID * kernels, siz… in rsScriptGroupCreate() argument
583 return RS_DISPATCH(ctxWrapper, ScriptGroupCreate, in rsScriptGroupCreate()
589 extern "C" void rsScriptGroupSetOutput (RsContext ctxWrapper, RsScriptGroup group, in rsScriptGroupSetOutput() argument
592 RS_DISPATCH(ctxWrapper, ScriptGroupSetOutput, group, kernel, alloc); in rsScriptGroupSetOutput()
595 extern "C" void rsScriptGroupSetInput (RsContext ctxWrapper, RsScriptGroup group, in rsScriptGroupSetInput() argument
598 RS_DISPATCH(ctxWrapper, ScriptGroupSetInput, group, kernel, alloc); in rsScriptGroupSetInput()
603 extern "C" RsSampler rsSamplerCreate (RsContext ctxWrapper, RsSamplerValue magFilter, RsSamplerValu… in rsSamplerCreate() argument
607 … return RS_DISPATCH(ctxWrapper, SamplerCreate, magFilter, minFilter, wrapS, wrapT, wrapR, mAniso); in rsSamplerCreate()
612 extern "C" RsScript rsScriptCCreate (RsContext ctxWrapper, const char * resName, size_t resName_len… in rsScriptCCreate() argument
616 …return RS_DISPATCH(ctxWrapper, ScriptCCreate, resName, resName_length, cacheDir, cacheDir_length, … in rsScriptCCreate()
619 extern "C" RsScript rsScriptIntrinsicCreate (RsContext ctxWrapper, uint32_t id, RsElement eid) in rsScriptIntrinsicCreate() argument
621 return RS_DISPATCH(ctxWrapper, ScriptIntrinsicCreate, id, eid); in rsScriptIntrinsicCreate()
624 extern "C" void rsScriptBindAllocation (RsContext ctxWrapper, RsScript vtm, RsAllocation va, uint32… in rsScriptBindAllocation() argument
626 RS_DISPATCH(ctxWrapper, ScriptBindAllocation, vtm, va, slot); in rsScriptBindAllocation()
629 extern "C" void rsScriptSetTimeZone (RsContext ctxWrapper, RsScript s, const char * timeZone, size_… in rsScriptSetTimeZone() argument
631 RS_DISPATCH(ctxWrapper, ScriptSetTimeZone, s, timeZone, timeZone_length); in rsScriptSetTimeZone()
634 extern "C" RsScriptInvokeID rsScriptInvokeIDCreate (RsContext ctxWrapper, RsScript s, uint32_t slot) in rsScriptInvokeIDCreate() argument
636 return RS_DISPATCH(ctxWrapper, ScriptInvokeIDCreate, s, slot); in rsScriptInvokeIDCreate()
639 extern "C" void rsScriptInvoke (RsContext ctxWrapper, RsScript s, uint32_t slot) in rsScriptInvoke() argument
641 RS_DISPATCH(ctxWrapper, ScriptInvoke, s, slot); in rsScriptInvoke()
644 extern "C" void rsScriptInvokeV (RsContext ctxWrapper, RsScript s, uint32_t slot, const void * data… in rsScriptInvokeV() argument
646 RS_DISPATCH(ctxWrapper, ScriptInvokeV, s, slot, data, data_length); in rsScriptInvokeV()
649 extern "C" void rsScriptForEach (RsContext ctxWrapper, RsScript s, uint32_t slot, in rsScriptForEach() argument
654 RS_DISPATCH(ctxWrapper, ScriptForEach, s, slot, ain, aout, usr, usr_length, sc, sc_length); in rsScriptForEach()
657 extern "C" void rsScriptForEachMulti (RsContext ctxWrapper, RsScript s, uint32_t slot, in rsScriptForEachMulti() argument
662 …RS_DISPATCH(ctxWrapper, ScriptForEachMulti, s, slot, ains, ains_length, aout, usr, usr_length, sc,… in rsScriptForEachMulti()
665 extern "C" void rsScriptReduce (RsContext ctxWrapper, RsScript s, uint32_t slot, in rsScriptReduce() argument
669 RS_DISPATCH(ctxWrapper, ScriptReduce, s, slot, ains, ains_length, aout, sc, sc_length); in rsScriptReduce()
672 extern "C" void rsScriptSetVarI (RsContext ctxWrapper, RsScript s, uint32_t slot, int value) in rsScriptSetVarI() argument
674 RS_DISPATCH(ctxWrapper, ScriptSetVarI, s, slot, value); in rsScriptSetVarI()
677 extern "C" void rsScriptSetVarObj (RsContext ctxWrapper, RsScript s, uint32_t slot, RsObjectBase va… in rsScriptSetVarObj() argument
679 RS_DISPATCH(ctxWrapper, ScriptSetVarObj, s, slot, value); in rsScriptSetVarObj()
682 extern "C" void rsScriptSetVarJ (RsContext ctxWrapper, RsScript s, uint32_t slot, int64_t value) in rsScriptSetVarJ() argument
684 RS_DISPATCH(ctxWrapper, ScriptSetVarJ, s, slot, value); in rsScriptSetVarJ()
687 extern "C" void rsScriptSetVarF (RsContext ctxWrapper, RsScript s, uint32_t slot, float value) in rsScriptSetVarF() argument
689 RS_DISPATCH(ctxWrapper, ScriptSetVarF, s, slot, value); in rsScriptSetVarF()
692 extern "C" void rsScriptSetVarD (RsContext ctxWrapper, RsScript s, uint32_t slot, double value) in rsScriptSetVarD() argument
694 RS_DISPATCH(ctxWrapper, ScriptSetVarD, s, slot, value); in rsScriptSetVarD()
697 extern "C" void rsScriptSetVarV (RsContext ctxWrapper, RsScript s, uint32_t slot, in rsScriptSetVarV() argument
700 RS_DISPATCH(ctxWrapper, ScriptSetVarV, s, slot, data, data_length); in rsScriptSetVarV()
703 extern "C" void rsScriptGetVarV (RsContext ctxWrapper, RsScript s, uint32_t slot, in rsScriptGetVarV() argument
706 RS_DISPATCH(ctxWrapper, ScriptGetVarV, s, slot, data, data_length); in rsScriptGetVarV()
709 extern "C" void rsScriptSetVarVE (RsContext ctxWrapper, RsScript s, uint32_t slot, in rsScriptSetVarVE() argument
713 RS_DISPATCH(ctxWrapper, ScriptSetVarVE, s, slot, data, data_length, e, dims, dims_length); in rsScriptSetVarVE()
731 RsContextWrapper *ctxWrapper = new RsContextWrapper{context, instance.GetEntryFuncs()}; in rsContextCreateGL() local
735 contextMap.insert(std::make_pair(context, ctxWrapper)); in rsContextCreateGL()
737 return (RsContext) ctxWrapper; in rsContextCreateGL()
740 extern "C" void rsContextBindProgramStore (RsContext ctxWrapper, RsProgramStore pgm) in rsContextBindProgramStore() argument
742 RS_DISPATCH(ctxWrapper, ContextBindProgramStore, pgm); in rsContextBindProgramStore()
745 extern "C" void rsContextBindProgramFragment (RsContext ctxWrapper, RsProgramFragment pgm) in rsContextBindProgramFragment() argument
747 RS_DISPATCH(ctxWrapper, ContextBindProgramFragment, pgm); in rsContextBindProgramFragment()
750 extern "C" void rsContextBindProgramVertex (RsContext ctxWrapper, RsProgramVertex pgm) in rsContextBindProgramVertex() argument
752 RS_DISPATCH(ctxWrapper, ContextBindProgramVertex, pgm); in rsContextBindProgramVertex()
755 extern "C" void rsContextBindProgramRaster (RsContext ctxWrapper, RsProgramRaster pgm) in rsContextBindProgramRaster() argument
757 RS_DISPATCH(ctxWrapper, ContextBindProgramRaster, pgm); in rsContextBindProgramRaster()
760 extern "C" void rsContextBindFont (RsContext ctxWrapper, RsFont pgm) in rsContextBindFont() argument
762 RS_DISPATCH(ctxWrapper, ContextBindFont, pgm); in rsContextBindFont()
765 extern "C" void rsContextSetSurface (RsContext ctxWrapper, uint32_t width, uint32_t height, in rsContextSetSurface() argument
768 RS_DISPATCH(ctxWrapper, ContextSetSurface, width, height, sur); in rsContextSetSurface()
771 extern "C" void rsContextBindRootScript (RsContext ctxWrapper, RsScript sampler) in rsContextBindRootScript() argument
773 RS_DISPATCH(ctxWrapper, ContextBindRootScript, sampler); in rsContextBindRootScript()
776 extern "C" void rsContextPause (RsContext ctxWrapper) in rsContextPause() argument
778 RS_DISPATCH(ctxWrapper, ContextPause); in rsContextPause()
781 extern "C" void rsContextResume (RsContext ctxWrapper) in rsContextResume() argument
783 RS_DISPATCH(ctxWrapper, ContextResume); in rsContextResume()
786 extern "C" RsProgramStore rsProgramStoreCreate (RsContext ctxWrapper, in rsProgramStoreCreate() argument
794 return RS_DISPATCH(ctxWrapper, ProgramStoreCreate, in rsProgramStoreCreate()
799 extern "C" RsProgramRaster rsProgramRasterCreate (RsContext ctxWrapper, bool pointSprite, RsCullMod… in rsProgramRasterCreate() argument
801 return RS_DISPATCH(ctxWrapper, ProgramRasterCreate, pointSprite, cull); in rsProgramRasterCreate()
804 extern "C" RsProgramFragment rsProgramFragmentCreate (RsContext ctxWrapper, in rsProgramFragmentCreate() argument
810 return RS_DISPATCH(ctxWrapper, ProgramFragmentCreate, in rsProgramFragmentCreate()
816 extern "C" RsProgramVertex rsProgramVertexCreate (RsContext ctxWrapper, in rsProgramVertexCreate() argument
822 return RS_DISPATCH(ctxWrapper, ProgramVertexCreate, in rsProgramVertexCreate()
828 extern "C" RsFont rsFontCreateFromFile (RsContext ctxWrapper, const char * name, size_t name_length, in rsFontCreateFromFile() argument
831 return RS_DISPATCH(ctxWrapper, FontCreateFromFile, name, name_length, fontSize, dpi); in rsFontCreateFromFile()
834 extern "C" RsFont rsFontCreateFromMemory (RsContext ctxWrapper, const char * name, size_t name_leng… in rsFontCreateFromMemory() argument
838 …return RS_DISPATCH(ctxWrapper, FontCreateFromMemory, name, name_length, fontSize, dpi, data, data_… in rsFontCreateFromMemory()
841 extern "C" RsMesh rsMeshCreate (RsContext ctxWrapper, RsAllocation * vtx, size_t vtx_length, in rsMeshCreate() argument
845 …return RS_DISPATCH(ctxWrapper, MeshCreate, vtx, vtx_length, idx, idx_length, primType, primType_le… in rsMeshCreate()
848 extern "C" void rsProgramBindConstants (RsContext ctxWrapper, RsProgram vp, uint32_t slot, RsAlloca… in rsProgramBindConstants() argument
850 RS_DISPATCH(ctxWrapper, ProgramBindConstants, vp, slot, constants); in rsProgramBindConstants()
853 extern "C" void rsProgramBindTexture (RsContext ctxWrapper, RsProgramFragment pf, uint32_t slot, Rs… in rsProgramBindTexture() argument
855 RS_DISPATCH(ctxWrapper, ProgramBindTexture, pf, slot,a); in rsProgramBindTexture()
858 extern "C" void rsProgramBindSampler (RsContext ctxWrapper, RsProgramFragment pf, uint32_t slot, Rs… in rsProgramBindSampler() argument
860 RS_DISPATCH(ctxWrapper, ProgramBindSampler, pf, slot, s); in rsProgramBindSampler()
863 extern "C" RsObjectBase rsaFileA3DGetEntryByIndex(RsContext ctxWrapper, uint32_t index, RsFile file) in rsaFileA3DGetEntryByIndex() argument
865 return RS_DISPATCH(ctxWrapper, FileA3DGetEntryByIndex, index, file); in rsaFileA3DGetEntryByIndex()
868 extern "C" RsFile rsaFileA3DCreateFromMemory(RsContext ctxWrapper, const void *data, uint32_t len) in rsaFileA3DCreateFromMemory() argument
870 return RS_DISPATCH(ctxWrapper, FileA3DCreateFromMemory, data, len); in rsaFileA3DCreateFromMemory()
873 extern "C" RsFile rsaFileA3DCreateFromAsset(RsContext ctxWrapper, void *_asset) in rsaFileA3DCreateFromAsset() argument
875 return RS_DISPATCH(ctxWrapper, FileA3DCreateFromAsset, _asset); in rsaFileA3DCreateFromAsset()
878 extern "C" RsFile rsaFileA3DCreateFromFile(RsContext ctxWrapper, const char *path) in rsaFileA3DCreateFromFile() argument
880 return RS_DISPATCH(ctxWrapper, FileA3DCreateFromFile, path); in rsaFileA3DCreateFromFile()
883 extern "C" void rsaFileA3DGetNumIndexEntries(RsContext ctxWrapper, int32_t *numEntries, RsFile fil… in rsaFileA3DGetNumIndexEntries() argument
885 RS_DISPATCH(ctxWrapper, FileA3DGetNumIndexEntries, numEntries, file); in rsaFileA3DGetNumIndexEntries()
888 extern "C" void rsaFileA3DGetIndexEntries(RsContext ctxWrapper, RsFileIndexEntry *fileEntries, uint… in rsaFileA3DGetIndexEntries() argument
890 RS_DISPATCH(ctxWrapper, FileA3DGetIndexEntries, fileEntries, numEntries, file); in rsaFileA3DGetIndexEntries()
893 extern "C" void rsaMeshGetVertexBufferCount(RsContext ctxWrapper, RsMesh mv, int32_t *numVtx) in rsaMeshGetVertexBufferCount() argument
895 RS_DISPATCH(ctxWrapper, MeshGetVertexBufferCount, mv, numVtx); in rsaMeshGetVertexBufferCount()
898 extern "C" void rsaMeshGetIndexCount(RsContext ctxWrapper, RsMesh mv, int32_t *numIdx) in rsaMeshGetIndexCount() argument
900 RS_DISPATCH(ctxWrapper, MeshGetIndexCount, mv, numIdx); in rsaMeshGetIndexCount()
903 extern "C" void rsaMeshGetVertices(RsContext ctxWrapper, RsMesh mv, RsAllocation *vtxData, uint32_t… in rsaMeshGetVertices() argument
905 RS_DISPATCH(ctxWrapper, MeshGetVertices, mv, vtxData, vtxDataCount); in rsaMeshGetVertices()
908 extern "C" void rsaMeshGetIndices(RsContext ctxWrapper, RsMesh mv, RsAllocation *va, uint32_t *prim… in rsaMeshGetIndices() argument
910 RS_DISPATCH(ctxWrapper, MeshGetIndices, mv, va, primType, idxDataCount); in rsaMeshGetIndices()