Home | History | Annotate | Download | only in renderscript

Lines Matching full:mcontext

109         rsnContextDestroy(mContext);
114 rsnContextSetSurface(mContext, w, h, sur);
119 rsnContextSetSurfaceTexture(mContext, w, h, sur);
124 rsnContextSetPriority(mContext, p);
129 rsnContextDump(mContext, bits);
134 rsnContextFinish(mContext);
140 rsnContextBindRootScript(mContext, script);
145 rsnContextBindSampler(mContext, sampler, slot);
150 rsnContextBindProgramStore(mContext, pfs);
155 rsnContextBindProgramFragment(mContext, pf);
160 rsnContextBindProgramVertex(mContext, pv);
165 rsnContextBindProgramRaster(mContext, pr);
170 rsnContextPause(mContext);
175 rsnContextResume(mContext);
181 rsnAssignName(mContext, obj, name);
186 return rsnGetName(mContext, obj);
193 if (mContext != 0) {
194 rsnObjDestroy(mContext, id);
201 return rsnElementCreate(mContext, type, kind, norm, vecSize);
206 return rsnElementCreate2(mContext, elements, names, arraySizes);
211 rsnElementGetNativeData(mContext, id, elementData);
216 rsnElementGetSubElements(mContext, id, IDs, names);
222 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces);
227 rsnTypeGetNativeData(mContext, id, typeData);
233 return rsnAllocationCreateTyped(mContext, type, mip, usage);
238 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage);
243 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage);
248 return rsnAllocationCreateBitmapRef(mContext, type, bmp);
253 return rsnAllocationCreateFromAssetStream(mContext, mips, assetStream, usage);
259 rsnAllocationCopyToBitmap(mContext, alloc, bmp);
266 rsnAllocationSyncAll(mContext, alloc, src);
271 rsnAllocationGenerateMipmaps(mContext, alloc);
276 rsnAllocationCopyFromBitmap(mContext, alloc, bmp);
283 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
288 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
293 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
298 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
304 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes);
319 rsnAllocationData2D(mContext,
330 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
335 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
340 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
345 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
350 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b);
356 rsnAllocationRead(mContext, id, d);
361 rsnAllocationRead(mContext, id, d);
366 rsnAllocationRead(mContext, id, d);
371 rsnAllocationRead(mContext, id, d);
376 mContext, id);
382 rsnAllocationResize1D(mContext, id, dimX);
387 rsnAllocationResize2D(mContext, id, dimX, dimY);
393 return rsnFileA3DCreateFromAssetStream(mContext, assetStream);
398 return rsnFileA3DCreateFromFile(mContext, path);
403 return rsnFileA3DCreateFromAsset(mContext, mgr, path);
408 return rsnFileA3DGetNumIndexEntries(mContext, fileA3D);
413 rsnFileA3DGetIndexEntries(mContext, fileA3D, numEntries, IDs, names);
418 return rsnFileA3DGetEntryByIndex(mContext, fileA3D, index);
424 return rsnFontCreateFromFile(mContext, fileName, size, dpi);
429 return rsnFontCreateFromAssetStream(mContext, name, size, dpi, assetStream);
434 return rsnFontCreateFromAsset(mContext, mgr, path, size, dpi);
441 rsnScriptBindAllocation(mContext, script, alloc, slot);
446 rsnScriptSetTimeZone(mContext, script, timeZone);
451 rsnScriptInvoke(mContext, id, slot);
458 rsnScriptForEach(mContext, id, slot, ain, aout);
460 rsnScriptForEach(mContext, id, slot, ain, aout, params);
466 rsnScriptInvokeV(mContext, id, slot, params);
471 rsnScriptSetVarI(mContext, id, slot, val);
476 rsnScriptSetVarJ(mContext, id, slot, val);
481 rsnScriptSetVarF(mContext, id, slot, val);
486 rsnScriptSetVarD(mContext, id, slot, val);
491 rsnScriptSetVarV(mContext, id, slot, val);
496 rsnScriptSetVarObj(mContext, id, slot, val);
503 return rsnScriptCCreate(mContext, resName, cacheDir, script, length);
511 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
521 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode,
528 return rsnProgramRasterCreate(mContext, pointSprite, cullMode);
534 rsnProgramBindConstants(mContext, pv, slot, mID);
539 rsnProgramBindTexture(mContext, vpf, slot, a);
544 rsnProgramBindSampler(mContext, vpf, slot, s);
549 return rsnProgramFragmentCreate(mContext, shader, params);
554 return rsnProgramVertexCreate(mContext, shader, params);
560 return rsnMeshCreate(mContext, vtx, idx, prim);
565 return rsnMeshGetVertexBufferCount(mContext, id);
570 return rsnMeshGetIndexCount(mContext, id);
575 rsnMeshGetVertices(mContext, id, vtxIds, vtxIdCount);
580 rsnMeshGetIndices(mContext, id, idxIds, primitives, vtxIdCount);
585 int mContext;
758 if (mContext == 0) {
797 mRS.nContextInitToClient(mRS.mContext);
800 int msg = mRS.nContextPeekMessage(mRS.mContext, mAuxData);
808 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) !=
825 String e = mRS.nContextGetErrorMessage(mRS.mContext);
883 rs.mContext = rs.nContextCreate(rs.mDev, 0, sdkVersion);
884 if (rs.mContext == 0) {
918 nContextDeinitToClient(mContext);
926 mContext = 0;
933 return mContext != 0;