Lines Matching refs:mContext

124         rsnContextDestroy(mContext);
129 rsnContextSetPriority(mContext, p);
134 rsnContextDump(mContext, bits);
139 rsnContextFinish(mContext);
147 if (mContext != 0) {
148 rsnObjDestroy(mContext, id);
155 return rsnElementCreate(mContext, type, kind, norm, vecSize);
160 return rsnElementCreate2(mContext, elements, names, arraySizes);
165 rsnElementGetNativeData(mContext, id, elementData);
171 rsnElementGetSubElements(mContext, id, IDs, names, arraySizes);
177 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces);
182 rsnTypeGetNativeData(mContext, id, typeData);
188 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer);
193 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage);
198 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage);
203 return rsnAllocationCreateBitmapRef(mContext, type, bmp);
208 return rsnAllocationCreateFromAssetStream(mContext, mips, assetStream, usage);
214 rsnAllocationCopyToBitmap(mContext, alloc, bmp);
221 rsnAllocationSyncAll(mContext, alloc, src);
228 rsnAllocationGenerateMipmaps(mContext, alloc);
233 rsnAllocationCopyFromBitmap(mContext, alloc, bmp);
240 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
245 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
250 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
255 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
261 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes);
276 rsnAllocationData2D(mContext,
287 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
292 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
297 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
302 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
307 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b);
313 rsnAllocationRead(mContext, id, d);
318 rsnAllocationRead(mContext, id, d);
323 rsnAllocationRead(mContext, id, d);
328 rsnAllocationRead(mContext, id, d);
333 return rsnAllocationGetType(mContext, id);
339 rsnAllocationResize1D(mContext, id, dimX);
344 rsnAllocationResize2D(mContext, id, dimX, dimY);
350 rsnScriptBindAllocation(mContext, script, alloc, slot);
355 rsnScriptSetTimeZone(mContext, script, timeZone);
360 rsnScriptInvoke(mContext, id, slot);
367 rsnScriptForEach(mContext, id, slot, ain, aout);
369 rsnScriptForEach(mContext, id, slot, ain, aout, params);
375 rsnScriptInvokeV(mContext, id, slot, params);
380 rsnScriptSetVarI(mContext, id, slot, val);
385 rsnScriptSetVarJ(mContext, id, slot, val);
390 rsnScriptSetVarF(mContext, id, slot, val);
395 rsnScriptSetVarD(mContext, id, slot, val);
400 rsnScriptSetVarV(mContext, id, slot, val);
407 rsnScriptSetVarVE(mContext, id, slot, val, e, dims);
412 rsnScriptSetVarObj(mContext, id, slot, val);
419 return rsnScriptCCreate(mContext, resName, cacheDir, script, length);
425 return rsnScriptIntrinsicCreate(mContext, id, eid);
431 return rsnScriptKernelIDCreate(mContext, sid, slot, sig);
437 return rsnScriptFieldIDCreate(mContext, sid, slot);
443 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types);
449 rsnScriptGroupSetInput(mContext, group, kernel, alloc);
455 rsnScriptGroupSetOutput(mContext, group, kernel, alloc);
461 rsnScriptGroupExecute(mContext, group);
469 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
475 int mContext;
634 if (mContext == 0) {
673 mRS.nContextInitToClient(mRS.mContext);
676 int msg = mRS.nContextPeekMessage(mRS.mContext, mAuxData);
684 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) !=
701 String e = mRS.nContextGetErrorMessage(mRS.mContext);
757 rs.mContext = rs.nContextCreate(rs.mDev, 0, sdkVersion);
758 if (rs.mContext == 0) {
803 nContextDeinitToClient(mContext);
811 mContext = 0;
818 return mContext != 0;