• Home
  • Raw
  • Download

Lines Matching refs:mContext

132         rsnContextDestroy(mContext);  in nContextDestroy()
137 rsnContextSetSurface(mContext, w, h, sur); in nContextSetSurface()
142 rsnContextSetSurfaceTexture(mContext, w, h, sur); in nContextSetSurfaceTexture()
147 rsnContextSetPriority(mContext, p); in nContextSetPriority()
152 rsnContextDump(mContext, bits); in nContextDump()
157 rsnContextFinish(mContext); in nContextFinish()
163 rsnContextBindRootScript(mContext, script); in nContextBindRootScript()
168 rsnContextBindSampler(mContext, sampler, slot); in nContextBindSampler()
173 rsnContextBindProgramStore(mContext, pfs); in nContextBindProgramStore()
178 rsnContextBindProgramFragment(mContext, pf); in nContextBindProgramFragment()
183 rsnContextBindProgramVertex(mContext, pv); in nContextBindProgramVertex()
188 rsnContextBindProgramRaster(mContext, pr); in nContextBindProgramRaster()
193 rsnContextPause(mContext); in nContextPause()
198 rsnContextResume(mContext); in nContextResume()
204 rsnAssignName(mContext, obj, name); in nAssignName()
209 return rsnGetName(mContext, obj); in nGetName()
216 if (mContext != 0) { in nObjDestroy()
217 rsnObjDestroy(mContext, id); in nObjDestroy()
224 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate()
229 return rsnElementCreate2(mContext, elements, names, arraySizes); in nElementCreate2()
234 rsnElementGetNativeData(mContext, id, elementData); in nElementGetNativeData()
240 rsnElementGetSubElements(mContext, id, IDs, names, arraySizes); in nElementGetSubElements()
246 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces); in nTypeCreate()
251 rsnTypeGetNativeData(mContext, id, typeData); in nTypeGetNativeData()
257 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); in nAllocationCreateTyped()
262 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCreateFromBitmap()
267 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCubeCreateFromBitmap()
272 return rsnAllocationCreateBitmapRef(mContext, type, bmp); in nAllocationCreateBitmapRef()
277 return rsnAllocationCreateFromAssetStream(mContext, mips, assetStream, usage); in nAllocationCreateFromAssetStream()
283 rsnAllocationCopyToBitmap(mContext, alloc, bmp); in nAllocationCopyToBitmap()
290 rsnAllocationSyncAll(mContext, alloc, src); in nAllocationSyncAll()
295 return rsnAllocationGetSurfaceTextureID(mContext, alloc); in nAllocationGetSurfaceTextureID()
300 rsnAllocationGetSurfaceTextureID2(mContext, alloc, st); in nAllocationGetSurfaceTextureID2()
305 rsnAllocationSetSurface(mContext, alloc, sur); in nAllocationSetSurface()
310 rsnAllocationIoSend(mContext, alloc); in nAllocationIoSend()
315 rsnAllocationIoReceive(mContext, alloc); in nAllocationIoReceive()
322 rsnAllocationGenerateMipmaps(mContext, alloc); in nAllocationGenerateMipmaps()
327 rsnAllocationCopyFromBitmap(mContext, alloc, bmp); in nAllocationCopyFromBitmap()
334 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D()
339 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D()
344 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D()
349 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes); in nAllocationData1D()
355 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); in nAllocationElementData1D()
370 rsnAllocationData2D(mContext, in nAllocationData2D()
381 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
386 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
391 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
396 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
401 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b); in nAllocationData2D()
407 rsnAllocationRead(mContext, id, d); in nAllocationRead()
412 rsnAllocationRead(mContext, id, d); in nAllocationRead()
417 rsnAllocationRead(mContext, id, d); in nAllocationRead()
422 rsnAllocationRead(mContext, id, d); in nAllocationRead()
427 return rsnAllocationGetType(mContext, id); in nAllocationGetType()
433 rsnAllocationResize1D(mContext, id, dimX); in nAllocationResize1D()
438 rsnAllocationResize2D(mContext, id, dimX, dimY); in nAllocationResize2D()
444 return rsnFileA3DCreateFromAssetStream(mContext, assetStream); in nFileA3DCreateFromAssetStream()
449 return rsnFileA3DCreateFromFile(mContext, path); in nFileA3DCreateFromFile()
454 return rsnFileA3DCreateFromAsset(mContext, mgr, path); in nFileA3DCreateFromAsset()
459 return rsnFileA3DGetNumIndexEntries(mContext, fileA3D); in nFileA3DGetNumIndexEntries()
464 rsnFileA3DGetIndexEntries(mContext, fileA3D, numEntries, IDs, names); in nFileA3DGetIndexEntries()
469 return rsnFileA3DGetEntryByIndex(mContext, fileA3D, index); in nFileA3DGetEntryByIndex()
475 return rsnFontCreateFromFile(mContext, fileName, size, dpi); in nFontCreateFromFile()
480 return rsnFontCreateFromAssetStream(mContext, name, size, dpi, assetStream); in nFontCreateFromAssetStream()
485 return rsnFontCreateFromAsset(mContext, mgr, path, size, dpi); in nFontCreateFromAsset()
492 rsnScriptBindAllocation(mContext, script, alloc, slot); in nScriptBindAllocation()
497 rsnScriptSetTimeZone(mContext, script, timeZone); in nScriptSetTimeZone()
502 rsnScriptInvoke(mContext, id, slot); in nScriptInvoke()
509 rsnScriptForEach(mContext, id, slot, ain, aout); in nScriptForEach()
511 rsnScriptForEach(mContext, id, slot, ain, aout, params); in nScriptForEach()
517 rsnScriptInvokeV(mContext, id, slot, params); in nScriptInvokeV()
522 rsnScriptSetVarI(mContext, id, slot, val); in nScriptSetVarI()
527 rsnScriptSetVarJ(mContext, id, slot, val); in nScriptSetVarJ()
532 rsnScriptSetVarF(mContext, id, slot, val); in nScriptSetVarF()
537 rsnScriptSetVarD(mContext, id, slot, val); in nScriptSetVarD()
542 rsnScriptSetVarV(mContext, id, slot, val); in nScriptSetVarV()
549 rsnScriptSetVarVE(mContext, id, slot, val, e, dims); in nScriptSetVarVE()
554 rsnScriptSetVarObj(mContext, id, slot, val); in nScriptSetVarObj()
561 return rsnScriptCCreate(mContext, resName, cacheDir, script, length); in nScriptCCreate()
569 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in nSamplerCreate()
579 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode, in nProgramStoreCreate()
586 return rsnProgramRasterCreate(mContext, pointSprite, cullMode); in nProgramRasterCreate()
592 rsnProgramBindConstants(mContext, pv, slot, mID); in nProgramBindConstants()
597 rsnProgramBindTexture(mContext, vpf, slot, a); in nProgramBindTexture()
602 rsnProgramBindSampler(mContext, vpf, slot, s); in nProgramBindSampler()
607 return rsnProgramFragmentCreate(mContext, shader, texNames, params); in nProgramFragmentCreate()
612 return rsnProgramVertexCreate(mContext, shader, texNames, params); in nProgramVertexCreate()
618 return rsnMeshCreate(mContext, vtx, idx, prim); in nMeshCreate()
623 return rsnMeshGetVertexBufferCount(mContext, id); in nMeshGetVertexBufferCount()
628 return rsnMeshGetIndexCount(mContext, id); in nMeshGetIndexCount()
633 rsnMeshGetVertices(mContext, id, vtxIds, vtxIdCount); in nMeshGetVertices()
638 rsnMeshGetIndices(mContext, id, idxIds, primitives, vtxIdCount); in nMeshGetIndices()
644 return rsnPathCreate(mContext, prim, isStatic, vtx, loop, q); in nPathCreate()
648 int mContext; field in RenderScript
822 if (mContext == 0) { in validate()
861 mRS.nContextInitToClient(mRS.mContext); in run()
864 int msg = mRS.nContextPeekMessage(mRS.mContext, mAuxData); in run()
872 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run()
889 String e = mRS.nContextGetErrorMessage(mRS.mContext); in run()
945 rs.mContext = rs.nContextCreate(rs.mDev, 0, sdkVersion); in create()
946 if (rs.mContext == 0) { in create()
991 nContextDeinitToClient(mContext); in destroy()
999 mContext = 0; in destroy()
1006 return mContext != 0; in isAlive()