Home | History | Annotate | Download | only in jni

Lines Matching refs:con

126 nContextFinish(JNIEnv *_env, jobject _this, RsContext con)
128 LOG_API("nContextFinish, con(%p)", con);
129 rsContextFinish(con);
133 nAssignName(JNIEnv *_env, jobject _this, RsContext con, jint obj, jbyteArray str)
135 LOG_API("nAssignName, con(%p), obj(%p)", con, (void *)obj);
138 rsAssignName(con, (void *)obj, (const char *)cptr, len);
143 nGetName(JNIEnv *_env, jobject _this, RsContext con, jint obj)
145 LOG_API("nGetName, con(%p), obj(%p)", con, (void *)obj);
147 rsaGetName(con, (void *)obj, &name);
155 nObjDestroy(JNIEnv *_env, jobject _this, RsContext con, jint obj)
157 LOG_API("nObjDestroy, con(%p) obj(%p)", con, (void *)obj);
158 rsObjDestroy(con, (void *)obj);
216 nContextSetPriority(JNIEnv *_env, jobject _this, RsContext con, jint p)
218 LOG_API("ContextSetPriority, con(%p), priority(%i)", con, p);
219 rsContextSetPriority(con, p);
225 nContextSetSurface(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject wnd)
227 LOG_API("nContextSetSurface, con(%p), width(%i), height(%i), surface(%p)", con, width, height, (Surface *)wnd);
236 rsContextSetSurface(con, width, height, window);
240 nContextSetSurfaceTexture(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject sur)
242 LOG_API("nContextSetSurfaceTexture, con(%p), width(%i), height(%i), surface(%p)", con, width, height, (Surface *)sur);
253 rsContextSetSurface(con, width, height, window.get());
257 nContextDestroy(JNIEnv *_env, jobject _this, RsContext con)
259 LOG_API("nContextDestroy, con(%p)", con);
260 rsContextDestroy(con);
264 nContextDump(JNIEnv *_env, jobject _this, RsContext con, jint bits)
266 LOG_API("nContextDump, con(%p) bits(%i)", (RsContext)con, bits);
267 rsContextDump((RsContext)con, bits);
271 nContextPause(JNIEnv *_env, jobject _this, RsContext con)
273 LOG_API("nContextPause, con(%p)", con);
274 rsContextPause(con);
278 nContextResume(JNIEnv *_env, jobject _this, RsContext con)
280 LOG_API("nContextResume, con(%p)", con);
281 rsContextResume(con);
286 nContextGetErrorMessage(JNIEnv *_env, jobject _this, RsContext con)
288 LOG_API("nContextGetErrorMessage, con(%p)", con);
293 int id = rsContextGetMessage(con,
304 nContextGetUserMessage(JNIEnv *_env, jobject _this, RsContext con, jintArray data)
307 LOG_API("nContextGetMessage, con(%p), len(%i)", con, len);
311 int id = rsContextGetMessage(con,
323 nContextPeekMessage(JNIEnv *_env, jobject _this, RsContext con, jintArray auxData)
325 LOG_API("nContextPeekMessage, con(%p)", con);
329 int id = rsContextPeekMessage(con, &receiveLen, sizeof(receiveLen),
337 static void nContextInitToClient(JNIEnv *_env, jobject _this, RsContext con)
339 LOG_API("nContextInitToClient, con(%p)", con);
340 rsContextInitToClient(con);
343 static void nContextDeinitToClient(JNIEnv *_env, jobject _this, RsContext con)
345 LOG_API("nContextDeinitToClient, con(%p)", con);
346 rsContextDeinitToClient(con);
351 nElementCreate(JNIEnv *_env, jobject _this, RsContext con, jint type, jint kind, jboolean norm, jint size)
353 LOG_API("nElementCreate, con(%p), type(%i), kind(%i), norm(%i), size(%i)", con, type, kind, norm, size);
354 return (jint)rsElementCreate(con, (RsDataType)type, (RsDataKind)kind, norm, size);
358 nElementCreate2(JNIEnv *_env, jobject _this, RsContext con,
362 LOG_API("nElementCreate2, con(%p)", con);
372 jint id = (jint)rsElementCreate2(con,
383 nElementGetNativeData(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArray _elementData)
386 LOG_API("nElementGetNativeData, con(%p)", con);
392 rsaElementGetNativeData(con, (RsElement)id, elementData, dataSize);
401 nElementGetSubElements(JNIEnv *_env, jobject _this, RsContext con, jint id,
407 LOG_API("nElementGetSubElements, con(%p)", con);
413 rsaElementGetSubElements(con, (RsElement)id, ids, names, arraySizes, (uint32_t)dataSize);
429 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid,
432 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i)",
433 con, eid, dimx, dimy, dimz, mips, faces);
435 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces);
440 nTypeGetNativeData(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArray _typeData)
447 LOG_API("nTypeCreate, con(%p)", con);
450 rsaTypeGetNativeData(con, (RsType)id, typeData, 6);
460 nAllocationCreateTyped(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mips, jint usage, jint pointer)
462 LOG_API("nAllocationCreateTyped, con(%p), type(%p), mip(%i), usage(%i), ptr(%p)", con, (RsElement)type, mips, usage, (void *)pointer);
463 return (jint) rsAllocationCreateTyped(con, (RsType)type, (RsAllocationMipmapControl)mips, (uint32_t)usage, (uint32_t)pointer);
467 nAllocationSyncAll(JNIEnv *_env, jobject _this, RsContext con, jint a, jint bits)
469 LOG_API("nAllocationSyncAll, con(%p), a(%p), bits(0x%08x)", con, (RsAllocation)a, bits);
470 rsAllocationSyncAll(con, (RsAllocation)a, (RsAllocationUsageType)bits);
474 nAllocationGetSurfaceTextureID(JNIEnv *_env, jobject _this, RsContext con, jint a)
476 LOG_API("nAllocationGetSurfaceTextureID, con(%p), a(%p)", con, (RsAllocation)a);
477 return rsAllocationGetSurfaceTextureID(con, (RsAllocation)a);
481 nAllocationGetSurfaceTextureID2(JNIEnv *_env, jobject _this, RsContext con, jint a, jobject jst)
483 LOG_API("nAllocationGetSurfaceTextureID2, con(%p), a(%p)", con, (RsAllocation)a);
486 rsAllocationGetSurfaceTextureID2(con, (RsAllocation)a, st.get(), sizeof(SurfaceTexture *));
490 nAllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur)
492 LOG_API("nAllocationSetSurfaceTexture, con(%p), alloc(%p), surface(%p)",
493 con, alloc, (Surface *)sur);
500 rsAllocationSetSurface(con, alloc, static_cast<ANativeWindow *>(s.get()));
504 nAllocationIoSend(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc)
506 LOG_API("nAllocationIoSend, con(%p), alloc(%p)", con, alloc);
507 rsAllocationIoSend(con, alloc);
511 nAllocationIoReceive(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc)
513 LOG_API("nAllocationIoReceive, con(%p), alloc(%p)", con, alloc);
514 rsAllocationIoReceive(con, alloc);
519 con, jint alloc)
521 LOG_API("nAllocationGenerateMipmaps, con(%p), a(%p)", con, (RsAllocation)alloc);
522 rsAllocationGenerateMipmaps(con, (RsAllocation)alloc);
526 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage)
534 jint id = (jint)rsAllocationCreateFromBitmap(con,
542 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage)
550 jint id = (jint)rsAllocationCubeCreateFromBitmap(con,
558 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap)
568 rsAllocation2DData(con, (RsAllocation)alloc, 0, 0,
575 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap)
583 rsAllocationCopyToBitmap(con, (RsAllocation)alloc, ptr, bitmap.getSize());
596 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes)
599 LOG_API("nAllocation1DData_i, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes);
601 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes);
606 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes)
609 LOG_API("nAllocation1DData_s, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes);
611 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes);
616 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes)
619 LOG_API("nAllocation1DData_b, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes);
621 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes);
626 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes)
629 LOG_API("nAllocation1DData_f, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes);
631 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes);
636 // native void rsnAllocationElementData1D(int con, int id, int xoff, int compIdx, byte[] d, int sizeBytes);
637 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyteArray data, int sizeBytes)
640 LOG_API("nAllocationElementData1D, con(%p), alloc(%p), offset(%i), comp(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, compIdx, len, sizeBytes);
642 rsAllocation1DElementData(con, (RsAllocation)alloc, offset, lod, ptr, sizeBytes, compIdx);
647 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face,
651 LOG_API("nAllocation2DData_s, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len);
653 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
658 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face,
662 LOG_API("nAllocation2DData_b, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len);
664 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
669 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face,
673 LOG_API("nAllocation2DData_i, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len);
675 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
680 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face,
684 LOG_API("nAllocation2DData_i, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len);
686 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
691 nAllocationData2D_alloc(JNIEnv *_env, jobject _this, RsContext con,
698 LOG_API("nAllocation2DData_s, con(%p), dstAlloc(%p), dstXoff(%i), dstYoff(%i),"
701 con, (RsAllocation)dstAlloc, dstXoff, dstYoff, dstMip, dstFace,
704 rsAllocationCopy2DRange(con,
715 nAllocationRead_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jintArray data)
718 LOG_API("nAllocationRead_i, con(%p), alloc(%p), len(%i)", con, (RsAllocation)alloc, len);
721 rsAllocationRead(con, (RsAllocation)alloc, ptr, length);
726 nAllocationRead_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jshortArray data)
729 LOG_API("nAllocationRead_i, con(%p), alloc(%p), len(%i)", con, (RsAllocation)alloc, len);
732 rsAllocationRead(con, (RsAllocation)alloc, ptr, length);
737 nAllocationRead_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jbyteArray data)
740 LOG_API("nAllocationRead_i, con(%p), alloc(%p), len(%i)", con, (RsAllocation)alloc, len);
743 rsAllocationRead(con, (RsAllocation)alloc, ptr, length);
748 nAllocationRead_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jfloatArray data)
751 LOG_API("nAllocationRead_f, con(%p), alloc(%p), len(%i)", con, (RsAllocation)alloc, len);
754 rsAllocationRead(con, (RsAllocation)alloc, ptr, length);
759 nAllocationGetType(JNIEnv *_env, jobject _this, RsContext con, jint a)
761 LOG_API("nAllocationGetType, con(%p), a(%p)", con, (RsAllocation)a);
762 return (jint) rsaAllocationGetType(con, (RsAllocation)a);
766 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX)
768 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i)", con, (RsAllocation)alloc, dimX);
769 rsAllocationResize1D(con, (RsAllocation)alloc, dimX);
773 nAllocationResize2D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX, jint dimY)
775 LOG_API("nAllocationResize1D, con(%p), alloc(%p), sizeX(%i), sizeY(%i)", con, (RsAllocation)alloc, dimX, dimY);
776 rsAllocationResize2D(con, (RsAllocation)alloc, dimX, dimY);
782 nFileA3DCreateFromAssetStream(JNIEnv *_env, jobject _this, RsContext con, jint native_asset)
788 jint id = (jint)rsaFileA3DCreateFromMemory(con, asset->getBuffer(false), asset->getLength());
793 nFileA3DCreateFromAsset(JNIEnv *_env, jobject _this, RsContext con, jobject _assetMgr, jstring _path)
806 jint id = (jint)rsaFileA3DCreateFromAsset(con, asset);
811 nFileA3DCreateFromFile(JNIEnv *_env, jobject _this, RsContext con, jstring fileName)
814 jint id = (jint)rsaFileA3DCreateFromFile(con, fileNameUTF.c_str());
820 nFileA3DGetNumIndexEntries(JNIEnv *_env, jobject _this, RsContext con, jint fileA3D)
823 rsaFileA3DGetNumIndexEntries(con, &numEntries, (RsFile)fileA3D);
828 nFileA3DGetIndexEntries(JNIEnv *_env, jobject _this, RsContext con, jint fileA3D, jint numEntries, jintArray _ids, jobjectArray _entries)
833 rsaFileA3DGetIndexEntries(con, fileEntries, (uint32_t)numEntries, (RsFile)fileA3D);
844 nFileA3DGetEntryByIndex(JNIEnv *_env, jobject _this, RsContext con, jint fileA3D, jint index)
847 jint id = (jint)rsaFileA3DGetEntryByIndex(con, (uint32_t)index, (RsFile)fileA3D);
854 nFontCreateFromFile(JNIEnv *_env, jobject _this, RsContext con,
858 jint id = (jint)rsFontCreateFromFile(con,
866 nFontCreateFromAssetStream(JNIEnv *_env, jobject _this, RsContext con,
872 jint id = (jint)rsFontCreateFromMemory(con,
880 nFontCreateFromAsset(JNIEnv *_env, jobject _this, RsContext con, jobject _assetMgr, jstring _path,
894 jint id = (jint)rsFontCreateFromMemory(con,
905 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot)
907 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot);
908 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot);
912 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con
914 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val);
915 rsScriptSetVarI(con, (RsScript)script, slot, val);
919 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val)
921 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val);
922 rsScriptSetVarObj(con, (RsScript)script, slot, (RsObjectBase)val);
926 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val)
928 LOG_API("nScriptSetVarJ, con(%p), s(%p), slot(%i), val(%lli)", con, (void *)script, slot, val);
929 rsScriptSetVarJ(con, (RsScript)script, slot, val);
933 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val)
935 LOG_API("nScriptSetVarF, con(%p), s(%p), slot(%i), val(%f)", con, (void *)script, slot, val);
936 rsScriptSetVarF(con, (RsScript)script, slot, val);
940 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val)
942 LOG_API("nScriptSetVarD, con(%p), s(%p), slot(%i), val(%lf)", con, (void *)script, slot, val);
943 rsScriptSetVarD(con, (RsScript)script, slot, val);
947 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data)
949 LOG_API("nScriptSetVarV, con(%p), s(%p), slot(%i)", con, (void *)script, slot);
952 rsScriptSetVarV(con, (RsScript)script, slot, ptr, len);
957 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims)
959 LOG_API("nScriptSetVarVE, con(%p), s(%p), slot(%i)", con, (void *)script, slot);
964 rsScriptSetVarVE(con, (RsScript)script, slot, ptr, len, (RsElement)elem,
972 nScriptSetTimeZone(JNIEnv *_env, jobject _this, RsContext con, jint script, jbyteArray timeZone)
974 LOG_API("nScriptCSetTimeZone, con(%p), s(%p), timeZone(%s)", con, (void *)script, (const char *)timeZone);
980 rsScriptSetTimeZone(con, (RsScript)script, (const char *)timeZone_ptr, length);
988 nScriptInvoke(JNIEnv *_env, jobject _this, RsContext con, jint obj, jint slot)
990 LOG_API("nScriptInvoke, con(%p), script(%p)", con, (void *)obj);
991 rsScriptInvoke(con, (RsScript)obj, slot);
995 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data)
997 LOG_API("nScriptInvokeV, con(%p), s(%p), slot(%i)", con, (void *)script, slot);
1000 rsScriptInvokeV(con, (RsScript)script, slot, ptr, len);
1005 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con,
1008 LOG_API("nScriptForEach, con(%p), s(%p), slot(%i)", con, (void *)script, slot);
1009 rsScriptForEach(con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, NULL, 0);
1012 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con,
1015 LOG_API("nScriptForEach, con(%p), s(%p), slot(%i)", con, (void *)script, slot);
1018 rsScriptForEach(con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, ptr, len);
1026 nScriptCCreate(JNIEnv *_env, jobject _this, RsContext con,
1030 LOG_API("nScriptCCreate, con(%p)", con);
1058 //rsScriptCSetText(con, (const char *)script_ptr, length);
1060 ret = (jint)rsScriptCCreate(con,
1077 nProgramStoreCreate(JNIEnv *_env, jobject _this, RsContext con,
1083 LOG_API("nProgramStoreCreate, con(%p)", con);
1084 return (jint)rsProgramStoreCreate(con, colorMaskR, colorMaskG, colorMaskB, colorMaskA,
1092 nProgramBindConstants(JNIEnv *_env, jobject _this, RsContext con, jint vpv, jint slot, jint a)
1094 LOG_API("nProgramBindConstants, con(%p), vpf(%p), sloat(%i), a(%p)", con, (RsProgramVertex)vpv, slot, (RsAllocation)a);
1095 rsProgramBindConstants(con, (RsProgram)vpv, slot, (RsAllocation)a);
1099 nProgramBindTexture(JNIEnv *_env, jobject _this, RsContext con, jint vpf, jint slot, jint a)
1101 LOG_API("nProgramBindTexture, con(%p), vpf(%p), slot(%i), a(%p)", con, (RsProgramFragment)vpf, slot, (RsAllocation)a);
1102 rsProgramBindTexture(con, (RsProgramFragment)vpf, slot, (RsAllocation)a);
1106 nProgramBindSampler(JNIEnv *_env, jobject _this, RsContext con, jint vpf, jint slot, jint a)
1108 LOG_API("nProgramBindSampler, con(%p), vpf(%p), slot(%i), a(%p)", con, (RsProgramFragment)vpf, slot, (RsSampler)a);
1109 rsProgramBindSampler(con, (RsProgramFragment)vpf, slot, (RsSampler)a);
1115 nProgramFragmentCreate(JNIEnv *_env, jobject _this, RsContext con, jstring shader,
1127 LOG_API("nProgramFragmentCreate, con(%p), paramLen(%i)", con, paramLen);
1129 jint ret = (jint)rsProgramFragmentCreate(con, shaderUTF.c_str(), shaderUTF.length(),
1141 nProgramVertexCreate(JNIEnv *_env, jobject _this, RsContext con, jstring shader,
1148 LOG_API("nProgramVertexCreate, con(%p), paramLen(%i)", con, paramLen);
1155 jint ret = (jint)rsProgramVertexCreate(con, shaderUTF.c_str(), shaderUTF.length(),
1166 nProgramRasterCreate(JNIEnv *_env, jobject _this, RsContext con, jboolean pointSprite, jint cull)
1168 LOG_API("nProgramRasterCreate, con(%p), pointSprite(%i), cull(%i)", con, pointSprite, cull);
1169 return (jint)rsProgramRasterCreate(con, pointSprite, (RsCullMode)cull);
1176 nContextBindRootScript(JNIEnv *_env, jobject _this, RsContext con, jint script)
1178 LOG_API("nContextBindRootScript, con(%p), script(%p)", con, (RsScript)script);
1179 rsContextBindRootScript(con, (RsScript)script);
1183 nContextBindProgramStore(JNIEnv *_env, jobject _this, RsContext con, jint pfs)
1185 LOG_API("nContextBindProgramStore, con(%p), pfs(%p)", con, (RsProgramStore)pfs);
1186 rsContextBindProgramStore(con, (RsProgramStore)pfs);
1190 nContextBindProgramFragment(JNIEnv *_env, jobject _this, RsContext con, jint pf)
1192 LOG_API("nContextBindProgramFragment, con(%p), pf(%p)", con, (RsProgramFragment)pf);
1193 rsContextBindProgramFragment(con, (RsProgramFragment)pf);
1197 nContextBindProgramVertex(JNIEnv *_env, jobject _this, RsContext con, jint pf)
1199 LOG_API("nContextBindProgramVertex, con(%p), pf(%p)", con, (RsProgramVertex)pf);
1200 rsContextBindProgramVertex(con, (RsProgramVertex)pf);
1204 nContextBindProgramRaster(JNIEnv *_env, jobject _this, RsContext con, jint pf)
1206 LOG_API("nContextBindProgramRaster, con(%p), pf(%p)", con, (RsProgramRaster)pf);
1207 rsContextBindProgramRaster(con, (RsProgramRaster)pf);
1214 nSamplerCreate(JNIEnv *_env, jobject _this, RsContext con, jint magFilter, jint minFilter,
1217 LOG_API("nSamplerCreate, con(%p)", con);
1218 return (jint)rsSamplerCreate(con,
1229 //native int rsnPathCreate(int con, int prim, boolean isStatic, int vtx, int loop, float q);
1231 nPathCreate(JNIEnv *_env, jobject _this, RsContext con, jint prim, jboolean isStatic, jint _vtx, jint _loop, jfloat q) {
1232 LOG_API("nPathCreate, con(%p)", con);
1234 int id = (int)rsPathCreate(con, (RsPathPrimitive)prim, isStatic,
1241 nMeshCreate(JNIEnv *_env, jobject _this, RsContext con, jintArray _vtx, jintArray _idx, jintArray _prim)
1243 LOG_API("nMeshCreate, con(%p)", con);
1252 int id = (int)rsMeshCreate(con,
1264 nMeshGetVertexBufferCount(JNIEnv *_env, jobject _this, RsContext con, jint mesh)
1266 LOG_API("nMeshGetVertexBufferCount, con(%p), Mesh(%p)", con, (RsMesh)mesh);
1268 rsaMeshGetVertexBufferCount(con, (RsMesh)mesh, &vtxCount);
1273 nMeshGetIndexCount(JNIEnv *_env, jobject _this, RsContext con, jint mesh)
1275 LOG_API("nMeshGetIndexCount, con(%p), Mesh(%p)", con, (RsMesh)mesh);
1277 rsaMeshGetIndexCount(con, (RsMesh)mesh, &idxCount);
1282 nMeshGetVertices(JNIEnv *_env, jobject _this, RsContext con, jint mesh, jintArray _ids, int numVtxIDs)
1284 LOG_API("nMeshGetVertices, con(%p), Mesh(%p)", con, (RsMesh)mesh);
1287 rsaMeshGetVertices(con, (RsMesh)mesh, allocs, (uint32_t)numVtxIDs);
1297 nMeshGetIndices(JNIEnv *_env, jobject _this, RsContext con, jint mesh, jintArray _idxIds, jintArray _primitives, int numIndices)
1299 LOG_API("nMeshGetVertices, con(%p), Mesh(%p)", con, (RsMesh)mesh);
1304 rsaMeshGetIndices(con, (RsMesh)mesh, allocs, prims, (uint32_t)numIndices);