Lines Matching refs:mContext

247         long curCon = mContext;  in nContextDestroy()
249 mContext = 0; in nContextDestroy()
257 rsnContextSetSurface(mContext, w, h, sur); in nContextSetSurface()
262 rsnContextSetSurfaceTexture(mContext, w, h, sur); in nContextSetSurfaceTexture()
267 rsnContextSetPriority(mContext, p); in nContextSetPriority()
272 rsnContextSetCacheDir(mContext, cacheDir); in nContextSetCacheDir()
277 rsnContextDump(mContext, bits); in nContextDump()
282 rsnContextFinish(mContext); in nContextFinish()
288 rsnContextSendMessage(mContext, id, data); in nContextSendMessage()
294 rsnContextBindRootScript(mContext, script); in nContextBindRootScript()
299 rsnContextBindSampler(mContext, sampler, slot); in nContextBindSampler()
304 rsnContextBindProgramStore(mContext, pfs); in nContextBindProgramStore()
309 rsnContextBindProgramFragment(mContext, pf); in nContextBindProgramFragment()
314 rsnContextBindProgramVertex(mContext, pv); in nContextBindProgramVertex()
319 rsnContextBindProgramRaster(mContext, pr); in nContextBindProgramRaster()
324 rsnContextPause(mContext); in nContextPause()
329 rsnContextResume(mContext); in nContextResume()
339 long c = rsnClosureCreate(mContext, kernelID, returnValue, fieldIDs, values, in nClosureCreate()
352 long c = rsnInvokeClosureCreate(mContext, invokeID, params, fieldIDs, in nInvokeClosureCreate()
365 rsnClosureSetArg(mContext, closureID, index, value, size); in nClosureSetArg()
374 rsnClosureSetGlobal(mContext, closureID, fieldID, value, size); in nClosureSetGlobal()
382 long g = rsnScriptGroup2Create(mContext, name, cachePath, closures); in nScriptGroup2Create()
392 rsnScriptGroup2Execute(mContext, groupID); in nScriptGroup2Execute()
398 rsnAssignName(mContext, obj, name); in nAssignName()
403 return rsnGetName(mContext, obj); in nGetName()
412 if (mContext != 0) { in nObjDestroy()
413 rsnObjDestroy(mContext, id); in nObjDestroy()
420 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate()
425 return rsnElementCreate2(mContext, elements, names, arraySizes); in nElementCreate2()
430 rsnElementGetNativeData(mContext, id, elementData); in nElementGetNativeData()
436 rsnElementGetSubElements(mContext, id, IDs, names, arraySizes); in nElementGetSubElements()
442 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate()
447 rsnTypeGetNativeData(mContext, id, typeData); in nTypeGetNativeData()
453 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); in nAllocationCreateTyped()
460 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCreateFromBitmap()
468 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); in nAllocationCreateBitmapBackedAllocation()
475 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCubeCreateFromBitmap()
481 rsnAllocationCopyToBitmap(mContext, alloc, bmp); in nAllocationCopyToBitmap()
487 rsnAllocationSyncAll(mContext, alloc, src); in nAllocationSyncAll()
495 return rsnAllocationGetByteBuffer(mContext, alloc, stride, xBytesSize, dimY, dimZ); in nAllocationGetByteBuffer()
501 rsnAllocationSetupBufferQueue(mContext, alloc, numAlloc); in nAllocationSetupBufferQueue()
506 rsnAllocationShareBufferQueue(mContext, alloc1, alloc2); in nAllocationShareBufferQueue()
511 return rsnAllocationGetSurface(mContext, alloc); in nAllocationGetSurface()
516 rsnAllocationSetSurface(mContext, alloc, sur); in nAllocationSetSurface()
521 rsnAllocationIoSend(mContext, alloc); in nAllocationIoSend()
526 return rsnAllocationIoReceive(mContext, alloc); in nAllocationIoReceive()
532 rsnAllocationGenerateMipmaps(mContext, alloc); in nAllocationGenerateMipmaps()
537 rsnAllocationCopyFromBitmap(mContext, alloc, bmp); in nAllocationCopyFromBitmap()
546 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding); in nAllocationData1D()
552 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); in nAllocationElementData()
567 rsnAllocationData2D(mContext, in nAllocationData2D()
582 …rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePad… in nAllocationData2D()
588 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b); in nAllocationData2D()
603 rsnAllocationData3D(mContext, in nAllocationData3D()
616 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, in nAllocationData3D()
623 rsnAllocationRead(mContext, id, d, dt.mID, mSize, usePadding); in nAllocationRead()
631 rsnAllocationRead1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding); in nAllocationRead1D()
639 rsnAllocationElementRead(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); in nAllocationElementRead()
649 …rsnAllocationRead2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePad… in nAllocationRead2D()
659 …rsnAllocationRead3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, dt.mID, mSize,… in nAllocationRead3D()
665 return rsnAllocationGetType(mContext, id); in nAllocationGetType()
671 rsnAllocationResize1D(mContext, id, dimX); in nAllocationResize1D()
677 return rsnAllocationAdapterCreate(mContext, allocId, typeId); in nAllocationAdapterCreate()
685 rsnAllocationAdapterOffset(mContext, id, x, y, z, mip, face, a1, a2, a3, a4); in nAllocationAdapterOffset()
691 return rsnFileA3DCreateFromAssetStream(mContext, assetStream); in nFileA3DCreateFromAssetStream()
696 return rsnFileA3DCreateFromFile(mContext, path); in nFileA3DCreateFromFile()
701 return rsnFileA3DCreateFromAsset(mContext, mgr, path); in nFileA3DCreateFromAsset()
706 return rsnFileA3DGetNumIndexEntries(mContext, fileA3D); in nFileA3DGetNumIndexEntries()
711 rsnFileA3DGetIndexEntries(mContext, fileA3D, numEntries, IDs, names); in nFileA3DGetIndexEntries()
716 return rsnFileA3DGetEntryByIndex(mContext, fileA3D, index); in nFileA3DGetEntryByIndex()
722 return rsnFontCreateFromFile(mContext, fileName, size, dpi); in nFontCreateFromFile()
727 return rsnFontCreateFromAssetStream(mContext, name, size, dpi, assetStream); in nFontCreateFromAssetStream()
732 return rsnFontCreateFromAsset(mContext, mgr, path, size, dpi); in nFontCreateFromAsset()
739 rsnScriptBindAllocation(mContext, script, alloc, slot); in nScriptBindAllocation()
744 rsnScriptSetTimeZone(mContext, script, timeZone); in nScriptSetTimeZone()
749 rsnScriptInvoke(mContext, id, slot); in nScriptInvoke()
758 rsnScriptForEach(mContext, id, slot, ains, aout, params, limits); in nScriptForEach()
766 rsnScriptReduce(mContext, id, slot, ains, aout, limits); in nScriptReduce()
772 rsnScriptInvokeV(mContext, id, slot, params); in nScriptInvokeV()
778 rsnScriptSetVarI(mContext, id, slot, val); in nScriptSetVarI()
783 return rsnScriptGetVarI(mContext, id, slot); in nScriptGetVarI()
789 rsnScriptSetVarJ(mContext, id, slot, val); in nScriptSetVarJ()
794 return rsnScriptGetVarJ(mContext, id, slot); in nScriptGetVarJ()
800 rsnScriptSetVarF(mContext, id, slot, val); in nScriptSetVarF()
805 return rsnScriptGetVarF(mContext, id, slot); in nScriptGetVarF()
810 rsnScriptSetVarD(mContext, id, slot, val); in nScriptSetVarD()
815 return rsnScriptGetVarD(mContext, id, slot); in nScriptGetVarD()
820 rsnScriptSetVarV(mContext, id, slot, val); in nScriptSetVarV()
825 rsnScriptGetVarV(mContext, id, slot, val); in nScriptGetVarV()
832 rsnScriptSetVarVE(mContext, id, slot, val, e, dims); in nScriptSetVarVE()
837 rsnScriptSetVarObj(mContext, id, slot, val); in nScriptSetVarObj()
845 return rsnScriptCCreate(mContext, resName, cacheDir, script, length); in nScriptCCreate()
851 return rsnScriptIntrinsicCreate(mContext, id, eid); in nScriptIntrinsicCreate()
857 return rsnScriptKernelIDCreate(mContext, sid, slot, sig); in nScriptKernelIDCreate()
863 return rsnScriptInvokeIDCreate(mContext, sid, slot); in nScriptInvokeIDCreate()
869 return rsnScriptFieldIDCreate(mContext, sid, slot); in nScriptFieldIDCreate()
875 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types); in nScriptGroupCreate()
881 rsnScriptGroupSetInput(mContext, group, kernel, alloc); in nScriptGroupSetInput()
887 rsnScriptGroupSetOutput(mContext, group, kernel, alloc); in nScriptGroupSetOutput()
893 rsnScriptGroupExecute(mContext, group); in nScriptGroupExecute()
901 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in nSamplerCreate()
911 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode, in nProgramStoreCreate()
918 return rsnProgramRasterCreate(mContext, pointSprite, cullMode); in nProgramRasterCreate()
924 rsnProgramBindConstants(mContext, pv, slot, mID); in nProgramBindConstants()
929 rsnProgramBindTexture(mContext, vpf, slot, a); in nProgramBindTexture()
934 rsnProgramBindSampler(mContext, vpf, slot, s); in nProgramBindSampler()
939 return rsnProgramFragmentCreate(mContext, shader, texNames, params); in nProgramFragmentCreate()
944 return rsnProgramVertexCreate(mContext, shader, texNames, params); in nProgramVertexCreate()
950 return rsnMeshCreate(mContext, vtx, idx, prim); in nMeshCreate()
955 return rsnMeshGetVertexBufferCount(mContext, id); in nMeshGetVertexBufferCount()
960 return rsnMeshGetIndexCount(mContext, id); in nMeshGetIndexCount()
965 rsnMeshGetVertices(mContext, id, vtxIds, vtxIdCount); in nMeshGetVertices()
970 rsnMeshGetIndices(mContext, id, idxIds, primitives, vtxIdCount); in nMeshGetIndices()
982 …rsnScriptIntrinsicBLAS_Single(mContext, id, func, TransA, TransB, Side, Uplo, Diag, M, N, K, alpha… in nScriptIntrinsicBLAS_Single()
994 …rsnScriptIntrinsicBLAS_Double(mContext, id, func, TransA, TransB, Side, Uplo, Diag, M, N, K, alpha… in nScriptIntrinsicBLAS_Double()
1006 …rsnScriptIntrinsicBLAS_Complex(mContext, id, func, TransA, TransB, Side, Uplo, Diag, M, N, K, alph… in nScriptIntrinsicBLAS_Complex()
1018 …rsnScriptIntrinsicBLAS_Z(mContext, id, func, TransA, TransB, Side, Uplo, Diag, M, N, K, alphaX, al… in nScriptIntrinsicBLAS_Z()
1028 …rsnScriptIntrinsicBLAS_BNNM(mContext, id, M, N, K, A, a_offset, B, b_offset, C, c_offset, c_mult_i… in nScriptIntrinsicBLAS_BNNM()
1033 long mContext; field in RenderScript
1245 if (mContext == 0) { in validate()
1286 mRS.nContextInitToClient(mRS.mContext); in run()
1289 int msg = mRS.nContextPeekMessage(mRS.mContext, mAuxData); in run()
1297 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run()
1314 String e = mRS.nContextGetErrorMessage(mRS.mContext); in run()
1343 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run()
1423 rs.mContext = rs.nContextCreate(device, flags, sdkVersion, ct.mID); in internalCreate()
1427 if (rs.mContext == 0) { in internalCreate()
1613 nContextDeinitToClient(mContext); in helpDestroy()
1665 return mContext != 0; in isAlive()