Lines Matching refs:RS_DISPATCH
45 #define RS_DISPATCH(opaqueWrapper, func, ...) \ macro
195 RS_DISPATCH(ctxWrapper, ContextDestroy); in rsContextDestroy()
206 RS_DISPATCH(ctxWrapper, ContextFinish); in rsContextFinish()
211 RS_DISPATCH(ctxWrapper, ContextDump, bits); in rsContextDump()
216 RS_DISPATCH(ctxWrapper, ContextSetPriority, priority); in rsContextSetPriority()
227 return RS_DISPATCH(ctxWrapper, ContextGetMessage, data, data_length, in rsContextGetMessage()
236 return RS_DISPATCH(ctxWrapper, ContextPeekMessage, in rsContextPeekMessage()
243 RS_DISPATCH(ctxWrapper, ContextSendMessage, id, data, data_length); in rsContextSendMessage()
248 RS_DISPATCH(ctxWrapper, ContextInitToClient); in rsContextInitToClient()
253 RS_DISPATCH(ctxWrapper, ContextDeinitToClient); in rsContextDeinitToClient()
258 RS_DISPATCH(ctxWrapper, ContextSetCacheDir, cacheDir, cacheDir_length); in rsContextSetCacheDir()
269 RS_DISPATCH(ctxWrapper, AssignName, obj, name, name_length); in rsAssignName()
274 RS_DISPATCH(ctxWrapper, GetName, obj, name); in rsaGetName()
279 RS_DISPATCH(ctxWrapper, ObjDestroy, objPtr); in rsObjDestroy()
287 return RS_DISPATCH(ctxWrapper, ElementCreate, mType, mKind, mNormalized, mVectorSize); in rsElementCreate()
294 return RS_DISPATCH(ctxWrapper, ElementCreate2, in rsElementCreate2()
302 RS_DISPATCH(ctxWrapper, ElementGetNativeData, elem, elemData, elemDataSize); in rsaElementGetNativeData()
308 RS_DISPATCH(ctxWrapper, ElementGetSubElements, elem, ids, names, arraySizes, dataSize); in rsaElementGetSubElements()
316 return RS_DISPATCH(ctxWrapper, TypeCreate, e, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsTypeCreate()
326 RS_DISPATCH(ctxWrapper, TypeGetNativeData, type, typeData, typeDataSize); in rsaTypeGetNativeData()
335 return RS_DISPATCH(ctxWrapper, AllocationCreateTyped, vtype, mipmaps, usages, ptr); in rsAllocationCreateTyped()
341 …return RS_DISPATCH(ctxWrapper, AllocationCreateFromBitmap, vtype, mipmaps, data, data_length, usag… in rsAllocationCreateFromBitmap()
347 …return RS_DISPATCH(ctxWrapper, AllocationCubeCreateFromBitmap, vtype, mipmaps, data, data_length, … in rsAllocationCubeCreateFromBitmap()
352 return RS_DISPATCH(ctxWrapper, AllocationAdapterCreate, vtype, baseAlloc); in rsAllocationAdapterCreate()
357 return RS_DISPATCH(ctxWrapper, AllocationGetType, va); in rsaAllocationGetType()
362 return RS_DISPATCH(ctxWrapper, AllocationGetSurface, alloc); in rsAllocationGetSurface()
367 RS_DISPATCH(ctxWrapper, AllocationSetupBufferQueue, alloc, numAlloc); in rsAllocationSetupBufferQueue()
372 RS_DISPATCH(ctxWrapper, AllocationShareBufferQueue, alloc1, alloc2); in rsAllocationShareBufferQueue()
377 RS_DISPATCH(ctxWrapper, AllocationSetSurface, alloc, sur); in rsAllocationSetSurface()
383 RS_DISPATCH(ctxWrapper, AllocationAdapterOffset, alloc, offsets, offsets_length); in rsAllocationAdapterOffset()
388 RS_DISPATCH(ctxWrapper, AllocationCopyToBitmap, alloc, data, data_length); in rsAllocationCopyToBitmap()
394 …return RS_DISPATCH(ctxWrapper, AllocationGetPointer, va, lod, face, z, array, stride, stride_lengt… in rsAllocationGetPointer()
400 RS_DISPATCH(ctxWrapper, Allocation1DData, va, xoff, lod, count, data, data_length); in rsAllocation1DData()
406 RS_DISPATCH(ctxWrapper, Allocation1DElementData, va, x, lod, data, data_length, comp_offset); in rsAllocation1DElementData()
412 … RS_DISPATCH(ctxWrapper, AllocationElementData, va, x, y, z, lod, data, data_length, comp_offset); in rsAllocationElementData()
419 …RS_DISPATCH(ctxWrapper, Allocation2DData, va, xoff, yoff, lod, face, w, h, data, data_length, stri… in rsAllocation2DData()
426 …RS_DISPATCH(ctxWrapper, Allocation3DData, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, s… in rsAllocation3DData()
431 RS_DISPATCH(ctxWrapper, AllocationGenerateMipmaps, va); in rsAllocationGenerateMipmaps()
436 RS_DISPATCH(ctxWrapper, AllocationRead, va, data, data_length); in rsAllocationRead()
442 RS_DISPATCH(ctxWrapper, Allocation1DRead, va, xoff, lod, count, data, data_length); in rsAllocation1DRead()
448 … RS_DISPATCH(ctxWrapper, AllocationElementRead, va, x, y, z, lod, data, data_length, comp_offset); in rsAllocationElementRead()
455 …RS_DISPATCH(ctxWrapper, Allocation2DRead, va, xoff, yoff, lod, face, w, h, data, data_length, stri… in rsAllocation2DRead()
462 …RS_DISPATCH(ctxWrapper, Allocation3DRead, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, s… in rsAllocation3DRead()
467 RS_DISPATCH(ctxWrapper, AllocationSyncAll, va, src); in rsAllocationSyncAll()
472 RS_DISPATCH(ctxWrapper, AllocationResize1D, va, dimX); in rsAllocationResize1D()
484 RS_DISPATCH(ctxWrapper, AllocationCopy2DRange, dest, destXoff, destYoff, destMip, destFace, in rsAllocationCopy2DRange()
497 RS_DISPATCH(ctxWrapper, AllocationCopy3DRange, in rsAllocationCopy3DRange()
504 RS_DISPATCH(ctxWrapper, AllocationIoSend, alloc); in rsAllocationIoSend()
509 return RS_DISPATCH(ctxWrapper, AllocationIoReceive, alloc); in rsAllocationIoReceive()
516 RS_DISPATCH(ctxWrapper, ScriptGroupExecute, group); in rsScriptGroupExecute()
523 return RS_DISPATCH(ctxWrapper, ScriptGroup2Create, in rsScriptGroup2Create()
536 return RS_DISPATCH(ctxWrapper, ClosureCreate, kernelID, returnValue, fieldIDs, fieldIDs_length, in rsClosureCreate()
548 return RS_DISPATCH(ctxWrapper, InvokeClosureCreate, invokeID, in rsInvokeClosureCreate()
558 RS_DISPATCH(ctxWrapper, ClosureSetArg, closureID, index, value, valueSize); in rsClosureSetArg()
564 RS_DISPATCH(ctxWrapper, ClosureSetGlobal, closureID, fieldID, value, valueSize); in rsClosureSetGlobal()
569 return RS_DISPATCH(ctxWrapper, ScriptKernelIDCreate, sid, slot, sig); in rsScriptKernelIDCreate()
574 return RS_DISPATCH(ctxWrapper, ScriptFieldIDCreate, sid, slot); in rsScriptFieldIDCreate()
583 return RS_DISPATCH(ctxWrapper, ScriptGroupCreate, in rsScriptGroupCreate()
592 RS_DISPATCH(ctxWrapper, ScriptGroupSetOutput, group, kernel, alloc); in rsScriptGroupSetOutput()
598 RS_DISPATCH(ctxWrapper, ScriptGroupSetInput, group, kernel, alloc); in rsScriptGroupSetInput()
607 … return RS_DISPATCH(ctxWrapper, SamplerCreate, magFilter, minFilter, wrapS, wrapT, wrapR, mAniso); in rsSamplerCreate()
616 …return RS_DISPATCH(ctxWrapper, ScriptCCreate, resName, resName_length, cacheDir, cacheDir_length, … in rsScriptCCreate()
621 return RS_DISPATCH(ctxWrapper, ScriptIntrinsicCreate, id, eid); in rsScriptIntrinsicCreate()
626 RS_DISPATCH(ctxWrapper, ScriptBindAllocation, vtm, va, slot); in rsScriptBindAllocation()
631 RS_DISPATCH(ctxWrapper, ScriptSetTimeZone, s, timeZone, timeZone_length); in rsScriptSetTimeZone()
636 return RS_DISPATCH(ctxWrapper, ScriptInvokeIDCreate, s, slot); in rsScriptInvokeIDCreate()
641 RS_DISPATCH(ctxWrapper, ScriptInvoke, s, slot); in rsScriptInvoke()
646 RS_DISPATCH(ctxWrapper, ScriptInvokeV, s, slot, data, data_length); in rsScriptInvokeV()
654 RS_DISPATCH(ctxWrapper, ScriptForEach, s, slot, ain, aout, usr, usr_length, sc, sc_length); in rsScriptForEach()
662 …RS_DISPATCH(ctxWrapper, ScriptForEachMulti, s, slot, ains, ains_length, aout, usr, usr_length, sc,… in rsScriptForEachMulti()
669 RS_DISPATCH(ctxWrapper, ScriptReduce, s, slot, ains, ains_length, aout, sc, sc_length); in rsScriptReduce()
674 RS_DISPATCH(ctxWrapper, ScriptSetVarI, s, slot, value); in rsScriptSetVarI()
679 RS_DISPATCH(ctxWrapper, ScriptSetVarObj, s, slot, value); in rsScriptSetVarObj()
684 RS_DISPATCH(ctxWrapper, ScriptSetVarJ, s, slot, value); in rsScriptSetVarJ()
689 RS_DISPATCH(ctxWrapper, ScriptSetVarF, s, slot, value); in rsScriptSetVarF()
694 RS_DISPATCH(ctxWrapper, ScriptSetVarD, s, slot, value); in rsScriptSetVarD()
700 RS_DISPATCH(ctxWrapper, ScriptSetVarV, s, slot, data, data_length); in rsScriptSetVarV()
706 RS_DISPATCH(ctxWrapper, ScriptGetVarV, s, slot, data, data_length); in rsScriptGetVarV()
713 RS_DISPATCH(ctxWrapper, ScriptSetVarVE, s, slot, data, data_length, e, dims, dims_length); in rsScriptSetVarVE()
742 RS_DISPATCH(ctxWrapper, ContextBindProgramStore, pgm); in rsContextBindProgramStore()
747 RS_DISPATCH(ctxWrapper, ContextBindProgramFragment, pgm); in rsContextBindProgramFragment()
752 RS_DISPATCH(ctxWrapper, ContextBindProgramVertex, pgm); in rsContextBindProgramVertex()
757 RS_DISPATCH(ctxWrapper, ContextBindProgramRaster, pgm); in rsContextBindProgramRaster()
762 RS_DISPATCH(ctxWrapper, ContextBindFont, pgm); in rsContextBindFont()
768 RS_DISPATCH(ctxWrapper, ContextSetSurface, width, height, sur); in rsContextSetSurface()
773 RS_DISPATCH(ctxWrapper, ContextBindRootScript, sampler); in rsContextBindRootScript()
778 RS_DISPATCH(ctxWrapper, ContextPause); in rsContextPause()
783 RS_DISPATCH(ctxWrapper, ContextResume); in rsContextResume()
794 return RS_DISPATCH(ctxWrapper, ProgramStoreCreate, in rsProgramStoreCreate()
801 return RS_DISPATCH(ctxWrapper, ProgramRasterCreate, pointSprite, cull); in rsProgramRasterCreate()
810 return RS_DISPATCH(ctxWrapper, ProgramFragmentCreate, in rsProgramFragmentCreate()
822 return RS_DISPATCH(ctxWrapper, ProgramVertexCreate, in rsProgramVertexCreate()
831 return RS_DISPATCH(ctxWrapper, FontCreateFromFile, name, name_length, fontSize, dpi); in rsFontCreateFromFile()
838 …return RS_DISPATCH(ctxWrapper, FontCreateFromMemory, name, name_length, fontSize, dpi, data, data_… in rsFontCreateFromMemory()
845 …return RS_DISPATCH(ctxWrapper, MeshCreate, vtx, vtx_length, idx, idx_length, primType, primType_le… in rsMeshCreate()
850 RS_DISPATCH(ctxWrapper, ProgramBindConstants, vp, slot, constants); in rsProgramBindConstants()
855 RS_DISPATCH(ctxWrapper, ProgramBindTexture, pf, slot,a); in rsProgramBindTexture()
860 RS_DISPATCH(ctxWrapper, ProgramBindSampler, pf, slot, s); in rsProgramBindSampler()
865 return RS_DISPATCH(ctxWrapper, FileA3DGetEntryByIndex, index, file); in rsaFileA3DGetEntryByIndex()
870 return RS_DISPATCH(ctxWrapper, FileA3DCreateFromMemory, data, len); in rsaFileA3DCreateFromMemory()
875 return RS_DISPATCH(ctxWrapper, FileA3DCreateFromAsset, _asset); in rsaFileA3DCreateFromAsset()
880 return RS_DISPATCH(ctxWrapper, FileA3DCreateFromFile, path); in rsaFileA3DCreateFromFile()
885 RS_DISPATCH(ctxWrapper, FileA3DGetNumIndexEntries, numEntries, file); in rsaFileA3DGetNumIndexEntries()
890 RS_DISPATCH(ctxWrapper, FileA3DGetIndexEntries, fileEntries, numEntries, file); in rsaFileA3DGetIndexEntries()
895 RS_DISPATCH(ctxWrapper, MeshGetVertexBufferCount, mv, numVtx); in rsaMeshGetVertexBufferCount()
900 RS_DISPATCH(ctxWrapper, MeshGetIndexCount, mv, numIdx); in rsaMeshGetIndexCount()
905 RS_DISPATCH(ctxWrapper, MeshGetVertices, mv, vtxData, vtxDataCount); in rsaMeshGetVertices()
910 RS_DISPATCH(ctxWrapper, MeshGetIndices, mv, va, primType, idxDataCount); in rsaMeshGetIndices()