Home
last modified time | relevance | path

Searched refs:RsContext (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/cpp/
DrsDispatch.h23 typedef void (*SetNativeLibDirFnPtr)(RsContext con, const char *nativeLibDir, size_t length);
24 typedef const void* (*AllocationGetTypeFnPtr)(RsContext con, RsAllocation va);
25 typedef void (*TypeGetNativeDataFnPtr)(RsContext, RsType, uintptr_t *typeData, uint32_t typeDataSiz…
26 typedef void (*ElementGetNativeDataFnPtr)(RsContext, RsElement, uintptr_t *elemData, uint32_t elemD…
27 typedef void (*ElementGetSubElementsFnPtr)(RsContext, RsElement, uintptr_t *ids, const char **names…
31 typedef RsContext (*ContextCreateFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsCon…
32 typedef void (*GetNameFnPtr)(RsContext, void * obj, const char **name);
33 typedef RsClosure (*ClosureCreateFnPtr)(RsContext, RsScriptKernelID, RsAllocation, RsScriptFieldID*…
34 typedef RsClosure (*InvokeClosureCreateFnPtr)(RsContext, RsScriptInvokeID, const void*, const size_…
35 typedef void (*ClosureSetArgFnPtr)(RsContext, RsClosure, uint32_t, uintptr_t, int);
[all …]
DScriptIntrinsicBLAS.cpp99 nScriptIntrinsicBLAS_Single(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Single()
113 nScriptIntrinsicBLAS_Double(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Double()
126 nScriptIntrinsicBLAS_Complex(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Complex()
139 nScriptIntrinsicBLAS_Z(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Z()
153 nScriptIntrinsicBLAS_BNNM(RS* mRS, RsContext con, RsScript id, int M, int N, int K, in nScriptIntrinsicBLAS_BNNM()
DrsCppStructs.h420 RsContext getContext() { return mContext; } in getContext()
438 RsContext mContext;
/frameworks/rs/
Drs.h27 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext, uint32_t idx, RsFile);
28 RsFile rsaFileA3DCreateFromMemory(RsContext, const void *data, uint32_t len);
29 RsFile rsaFileA3DCreateFromAsset(RsContext, void *asset);
30 RsFile rsaFileA3DCreateFromFile(RsContext, const char *path);
31 void rsaFileA3DGetNumIndexEntries(RsContext, int32_t *numEntries, RsFile);
32 void rsaFileA3DGetIndexEntries(RsContext, RsFileIndexEntry *fileEntries,
35 void rsaMeshGetVertexBufferCount(RsContext, RsMesh, int32_t *vtxCount);
36 void rsaMeshGetIndexCount(RsContext, RsMesh, int32_t *idxCount);
37 void rsaMeshGetVertices(RsContext, RsMesh, RsAllocation *vtxData, uint32_t vtxDataCount);
38 void rsaMeshGetIndices(RsContext, RsMesh, RsAllocation *va,
[all …]
DrsApiFileA3D.cpp23 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { in rsaFileA3DGetEntryByIndex()
37 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) { in rsaFileA3DGetNumIndexEntries()
47 void rsaFileA3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, R… in rsaFileA3DGetIndexEntries()
68 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) { in rsaFileA3DCreateFromMemory()
82 RsFile rsaFileA3DCreateFromAsset(RsContext con, void *_asset) { in rsaFileA3DCreateFromAsset()
96 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { in rsaFileA3DCreateFromFile()
DrsApiContext.cpp27 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreate()
38 extern "C" void rsaContextSetNativeLibDir(RsContext con, char *libDir, size_t length) { in rsaContextSetNativeLibDir()
46 RsContext rsContextCreateGL(RsDevice vdev, uint32_t version, in rsContextCreateGL()
63 extern "C" void rsaGetName(RsContext con, void * obj, const char **name) { in rsaGetName()
DrsApiMesh.cpp23 void rsaMeshGetVertexBufferCount(RsContext con, RsMesh mv, int32_t *numVtx) { in rsaMeshGetVertexBufferCount()
28 void rsaMeshGetIndexCount(RsContext con, RsMesh mv, int32_t *numIdx) { in rsaMeshGetIndexCount()
33 void rsaMeshGetVertices(RsContext con, RsMesh mv, RsAllocation *vtxData, uint32_t vtxDataCount) { in rsaMeshGetVertices()
43 void rsaMeshGetIndices(RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idx… in rsaMeshGetIndices()
DrsApiElement.cpp22 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem, in rsaElementGetNativeData()
35 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids, in rsaElementGetSubElements()
DrsApiAllocation.cpp23 extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va) { in rsaAllocationGetType()
DrsEnv.h5 typedef void * RsContext; typedef
DrsApiType.cpp30 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t type… in rsaTypeGetNativeData()
DrsDriverLoader.cpp55 typedef bool (*HalInit)(RsContext, uint32_t version_major, uint32_t version_minor);
56 typedef void (*HalAbort)(RsContext);
Drs_hal.h540 bool rsdHalInit(RsContext, uint32_t version_major, uint32_t version_minor);
548 void rsdHalAbort(RsContext);
DrsDefines.h35 typedef void * RsContext; typedef
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp346 ALOGD("nContextFinish, con(%p)", (RsContext)con); in nContextFinish()
348 rsContextFinish((RsContext)con); in nContextFinish()
452 (RsContext)con, (RsScriptKernelID)kernelID, (RsAllocation)returnValue, in nClosureCreate()
528 (RsContext)con, (RsScriptInvokeID)invokeID, jParams, jParamLength, in nInvokeClosureCreate()
546 rsClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index, in nClosureSetArg()
554 rsClosureSetGlobal((RsContext)con, (RsClosure)closureID, in nClosureSetGlobal()
590 (RsContext)con, nameUTF.c_str(), nameUTF.length(), in nScriptGroup2Create()
603 rsScriptGroupExecute((RsContext)con, (RsScriptGroup2)groupID); in nScriptGroup2Execute()
634 rsScriptForEachMulti((RsContext)con, (RsScript)id, 0, in nScriptIntrinsicBLAS_Single()
667 rsScriptForEachMulti((RsContext)con, (RsScript)id, 0, in nScriptIntrinsicBLAS_Double()
[all …]
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp349 LOG_API("nContextFinish, con(%p)", (RsContext)con); in nContextFinish()
350 dispatchTab.ContextFinish((RsContext)con); in nContextFinish()
430 (RsContext)con, (RsScriptKernelID)kernelID, (RsAllocation)returnValue, in nClosureCreate()
487 (RsContext)con, (RsScriptInvokeID)invokeID, jParams, jParamLength, in nInvokeClosureCreate()
505 dispatchTab.ClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index, in nClosureSetArg()
513 dispatchTab.ClosureSetGlobal((RsContext)con, (RsClosure)closureID, in nClosureSetGlobal()
545 (RsContext)con, nameUTF.c_str(), nameUTF.length(), in nScriptGroup2Create()
558 dispatchTab.ScriptGroupExecute((RsContext)con, (RsScriptGroup2)groupID); in nScriptGroup2Execute()
564 LOG_API("nObjDestroy, con(%p) obj(%p)", (RsContext)con, (void *)obj); in nObjDestroy()
565 dispatchTab.ObjDestroy((RsContext)con, (void *)obj); in nObjDestroy()
[all …]
Dandroid_rscompat_usage_io.cpp9 extern "C" void AllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc… in AllocationSetSurface()
Dandroid_rscompat_usage_io_driver.cpp33 extern "C" void rscAllocationSetSurface(RsContext rscR, RsAllocation allocR, ANativeWindow *nw) { in rscAllocationSetSurface()
/frameworks/compile/slang/
Dslang_rs_pragma_handler.cpp565 void AddPragmaHandlers(clang::Preprocessor &PP, RSContext *RsContext) { in AddPragmaHandlers() argument
568 new RSExportTypePragmaHandler("export_type", RsContext)); in AddPragmaHandlers()
572 "rs", new RSJavaPackageNamePragmaHandler("java_package_name", RsContext)); in AddPragmaHandlers()
576 "rs", new RSReducePragmaHandler(RSExportReduce::KeyReduce, RsContext)); in AddPragmaHandlers()
580 "rs", new RSReflectLicensePragmaHandler("set_reflect_license", RsContext)); in AddPragmaHandlers()
583 PP.AddPragmaHandler(new RSVersionPragmaHandler("version", RsContext)); in AddPragmaHandlers()
586 PP.AddPragmaHandler(new RSPrecisionPragmaHandler("rs_fp_full", RsContext)); in AddPragmaHandlers()
587 PP.AddPragmaHandler(new RSPrecisionPragmaHandler("rs_fp_relaxed", RsContext)); in AddPragmaHandlers()
588 PP.AddPragmaHandler(new RSPrecisionPragmaHandler("rs_fp_imprecise", RsContext)); in AddPragmaHandlers()
Dslang_rs_pragma_handler.h74 void AddPragmaHandlers(clang::Preprocessor &PP, RSContext *RsContext);
/frameworks/rs/driver/
DrsdCore.cpp260 extern "C" void rsdHalAbort(RsContext) { in rsdHalAbort() argument
313 extern "C" bool rsdHalInit(RsContext c, uint32_t version_major, in rsdHalInit()