Lines Matching refs:mContext

158         rsnContextDestroy(mContext);
163 rsnContextSetPriority(mContext, p);
168 rsnContextDump(mContext, bits);
173 rsnContextFinish(mContext);
179 rsnContextSendMessage(mContext, id, data);
187 if (mContext != 0) {
188 rsnObjDestroy(mContext, id);
195 return rsnElementCreate(mContext, type, kind, norm, vecSize);
200 return rsnElementCreate2(mContext, elements, names, arraySizes);
205 rsnElementGetNativeData(mContext, id, elementData);
211 rsnElementGetSubElements(mContext, id, IDs, names, arraySizes);
217 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);
222 rsnTypeGetNativeData(mContext, id, typeData);
228 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer);
233 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage);
239 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage);
246 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage);
251 return rsnAllocationCreateBitmapRef(mContext, type, bmp);
256 return rsnAllocationCreateFromAssetStream(mContext, mips, assetStream, usage);
262 rsnAllocationCopyToBitmap(mContext, alloc, bmp);
269 rsnAllocationSyncAll(mContext, alloc, src);
274 rsnAllocationIoSend(mContext, alloc);
279 rsnAllocationIoReceive(mContext, alloc);
286 rsnAllocationGenerateMipmaps(mContext, alloc);
291 rsnAllocationCopyFromBitmap(mContext, alloc, bmp);
298 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
303 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
308 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
313 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
319 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes);
334 rsnAllocationData2D(mContext,
345 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
350 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
355 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
360 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
365 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b);
380 rsnAllocationData3D(mContext,
389 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes);
394 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes);
399 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes);
404 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes);
411 rsnAllocationRead(mContext, id, d);
416 rsnAllocationRead(mContext, id, d);
421 rsnAllocationRead(mContext, id, d);
426 rsnAllocationRead(mContext, id, d);
431 return rsnAllocationGetType(mContext, id);
437 rsnAllocationResize1D(mContext, id, dimX);
442 rsnAllocationResize2D(mContext, id, dimX, dimY);
448 rsnScriptBindAllocation(mContext, script, alloc, slot);
453 rsnScriptSetTimeZone(mContext, script, timeZone);
458 rsnScriptInvoke(mContext, id, slot);
469 rsnScriptForEach(mContext, id, slot, ain, aout);
471 rsnScriptForEach(mContext, id, slot, ain, aout, params);
479 rsnScriptForEachClipped(mContext, id, slot, ain, aout, xstart, xend, ystart, yend, zstart, zend);
481 rsnScriptForEachClipped(mContext, id, slot, ain, aout, params, xstart, xend, ystart, yend, zstart, zend);
488 rsnScriptInvokeV(mContext, id, slot, params);
493 rsnScriptSetVarI(mContext, id, slot, val);
498 rsnScriptSetVarJ(mContext, id, slot, val);
503 rsnScriptSetVarF(mContext, id, slot, val);
508 rsnScriptSetVarD(mContext, id, slot, val);
513 rsnScriptSetVarV(mContext, id, slot, val);
520 rsnScriptSetVarVE(mContext, id, slot, val, e, dims);
525 rsnScriptSetVarObj(mContext, id, slot, val);
532 return rsnScriptCCreate(mContext, resName, cacheDir, script, length);
538 return rsnScriptIntrinsicCreate(mContext, id, eid);
544 return rsnScriptKernelIDCreate(mContext, sid, slot, sig);
550 return rsnScriptFieldIDCreate(mContext, sid, slot);
556 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types);
562 rsnScriptGroupSetInput(mContext, group, kernel, alloc);
568 rsnScriptGroupSetOutput(mContext, group, kernel, alloc);
574 rsnScriptGroupExecute(mContext, group);
582 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
588 int mContext;
792 if (mContext == 0) {
831 mRS.nContextInitToClient(mRS.mContext);
834 int msg = mRS.nContextPeekMessage(mRS.mContext, mAuxData);
842 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) !=
859 String e = mRS.nContextGetErrorMessage(mRS.mContext);
952 rs.mContext = rs.nContextCreate(rs.mDev, 0, sdkVersion, ct.mID);
953 if (rs.mContext == 0) {
1012 nContextDeinitToClient(mContext);
1020 mContext = 0;
1027 return mContext != 0;