Home
last modified time | relevance | path

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

/frameworks/rs/
DrsHidlAdaptation.h50 static IContext *GetIContextHandle(RsContext con);
53 …static RsContext ContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsContextType…
54 static void ContextDestroy(RsContext);
55 static void ContextFinish(RsContext);
56 static void ContextDump(RsContext, int32_t);
57 static void ContextSetCacheDir(RsContext rsc, const char *cacheDir, size_t cacheDir_length);
58 static void ContextSetPriority(RsContext, int32_t);
59 …static RsMessageToClientType ContextGetMessage(RsContext, void*, size_t, size_t*, size_t, uint32_t…
60 static RsMessageToClientType ContextPeekMessage(RsContext, size_t*, size_t, uint32_t*, size_t);
61 static void ContextSendMessage(RsContext, uint32_t, const uint8_t*, size_t);
[all …]
DrsApiStubs.h28 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsContex…
29 extern "C" void rsContextDestroy (RsContext rsc);
30 extern "C" void rsContextFinish (RsContext rsc);
31 extern "C" void rsContextDump (RsContext rsc, int32_t bits);
32 extern "C" void rsContextSetPriority (RsContext rsc, int32_t priority);
33 extern "C" void rsContextDestroyWorker (RsContext rsc);
34 extern "C" RsMessageToClientType rsContextGetMessage (RsContext rsc, void * data, size_t data_lengt…
35 extern "C" RsMessageToClientType rsContextPeekMessage (RsContext rsc, size_t * receiveLen, size_t r…
36 extern "C" void rsContextSendMessage (RsContext rsc, uint32_t id, const uint8_t * data, size_t data…
37 extern "C" void rsContextInitToClient (RsContext rsc);
[all …]
DrsApiStubs.cpp41 RsContext context;
48 RsContext context = wrapper->context; \
54 static std::map<RsContext, RsContextWrapper* > contextMap;
85 extern "C" RsContext rsDebugGetHighLevelContext(RsContext context) { in rsDebugGetHighLevelContext()
141 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreate()
149 RsContext context; in rsContextCreate()
186 return (RsContext) ctxWrapper; in rsContextCreate()
189 extern "C" void rsContextDestroy (RsContext ctxWrapper) in rsContextDestroy()
204 extern "C" void rsContextFinish (RsContext ctxWrapper) in rsContextFinish()
209 extern "C" void rsContextDump (RsContext ctxWrapper, int32_t bits) in rsContextDump()
[all …]
Drs.h27 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext, uint32_t idx, RsFile);
28 RsFile rsaFileA3DCreateFromMemory(RsContext, const void *data,
30 RsFile rsaFileA3DCreateFromAsset(RsContext, void *asset);
31 RsFile rsaFileA3DCreateFromFile(RsContext, const char *path);
32 void rsaFileA3DGetNumIndexEntries(RsContext, int32_t *numEntries, RsFile);
33 void rsaFileA3DGetIndexEntries(RsContext, RsFileIndexEntry *fileEntries,
36 void rsaMeshGetVertexBufferCount(RsContext, RsMesh, int32_t *vtxCount);
37 void rsaMeshGetIndexCount(RsContext, RsMesh, int32_t *idxCount);
38 void rsaMeshGetVertices(RsContext, RsMesh, RsAllocation *vtxData,
40 void rsaMeshGetIndices(RsContext, RsMesh, RsAllocation *va,
[all …]
DrsHidlAdaptation.cpp190 IContext *RsHidlAdaptation::GetIContextHandle(RsContext context) { in GetIContextHandle()
194 RsContext RsHidlAdaptation::ContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsC… in ContextCreate()
198 RsContext ret = (RsContext)(uintptr_t)context.get(); in ContextCreate()
205 void RsHidlAdaptation::ContextDestroy (RsContext context) in ContextDestroy()
214 const void* RsHidlAdaptation::AllocationGetType(RsContext context, RsAllocation allocation) in AllocationGetType()
223 void RsHidlAdaptation::TypeGetNativeData(RsContext context, RsType type, uintptr_t *typedata, uint3… in TypeGetNativeData()
236 void RsHidlAdaptation::ElementGetNativeData(RsContext context, RsElement element, uint32_t *elemDat… in ElementGetNativeData()
248 void RsHidlAdaptation::ElementGetSubElements(RsContext context, RsElement element, uintptr_t *ids, … in ElementGetSubElements()
266 void RsHidlAdaptation::GetName(RsContext context, void * obj, const char **name) { in GetName()
272 RsClosure RsHidlAdaptation::ClosureCreate(RsContext context, RsScriptKernelID kernelID, in ClosureCreate()
[all …]
DrsApiFileA3D.cpp26 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { in rsaFileA3DGetEntryByIndex()
40 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) { in rsaFileA3DGetNumIndexEntries()
50 void rsaFileA3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, R… in rsaFileA3DGetIndexEntries()
71 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) { in rsaFileA3DCreateFromMemory()
85 RsFile rsaFileA3DCreateFromAsset(RsContext con, void *_asset) { in rsaFileA3DCreateFromAsset()
90 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { in rsaFileA3DCreateFromFile()
DrsApiContext.cpp28 extern "C" RsContext rsContextCreateVendor(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreateVendor()
39 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreate()
44 extern "C" void rsaContextSetNativeLibDir(RsContext con, char *libDir, size_t length) { in rsaContextSetNativeLibDir()
55 extern "C" RsContext rsContextCreateGL(RsDevice vdev, uint32_t version, in rsContextCreateGL()
72 extern "C" void rsaGetName(RsContext con, void * obj, const char **name) { in rsaGetName()
DrsApiMesh.cpp22 void rsaMeshGetVertexBufferCount(RsContext con, RsMesh mv, int32_t *numVtx) { in rsaMeshGetVertexBufferCount()
27 void rsaMeshGetIndexCount(RsContext con, RsMesh mv, int32_t *numIdx) { in rsaMeshGetIndexCount()
32 void rsaMeshGetVertices(RsContext con, RsMesh mv, RsAllocation *vtxData, uint32_t vtxDataCount) { in rsaMeshGetVertices()
42 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.cpp26 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t type… in rsaTypeGetNativeData()
DrsDriverLoader.cpp47 typedef bool (*HalInit)(RsContext, uint32_t version_major, uint32_t version_minor);
48 typedef void (*HalAbort)(RsContext);
Drs_hal.h543 bool rsdHalInit(RsContext, uint32_t version_major, uint32_t version_minor);
551 void rsdHalAbort(RsContext);
DrsDefines.h35 typedef void * RsContext; typedef
/frameworks/rs/cpp/
DrsDispatch.h22 typedef void (*SetNativeLibDirFnPtr)(RsContext con, const char *nativeLibDir, size_t length);
23 typedef const void* (*AllocationGetTypeFnPtr)(RsContext con, RsAllocation va);
24 typedef void (*TypeGetNativeDataFnPtr)(RsContext, RsType, uintptr_t *typeData, uint32_t typeDataSiz…
25 typedef void (*ElementGetNativeDataFnPtr)(RsContext, RsElement, uint32_t *elemData, uint32_t elemDa…
26 typedef void (*ElementGetSubElementsFnPtr)(RsContext, RsElement, uintptr_t *ids, const char **names…
30 typedef RsContext (*ContextCreateFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsCon…
31 typedef RsContext (*ContextCreateVendorFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion,…
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_…
[all …]
DScriptIntrinsicBLAS.cpp107 nScriptIntrinsicBLAS_Single(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Single()
121 nScriptIntrinsicBLAS_Double(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Double()
134 nScriptIntrinsicBLAS_Complex(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Complex()
147 nScriptIntrinsicBLAS_Z(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Z()
161 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/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp347 ALOGD("nContextFinish, con(%p)", (RsContext)con); in nContextFinish()
349 rsContextFinish((RsContext)con); in nContextFinish()
465 (RsContext)con, (RsScriptKernelID)kernelID, (RsAllocation)returnValue, in nClosureCreate()
541 (RsContext)con, (RsScriptInvokeID)invokeID, jParams, jParamLength, in nInvokeClosureCreate()
559 rsClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index, in nClosureSetArg()
567 rsClosureSetGlobal((RsContext)con, (RsClosure)closureID, in nClosureSetGlobal()
603 (RsContext)con, nameUTF.c_str(), nameUTF.length(), in nScriptGroup2Create()
616 rsScriptGroupExecute((RsContext)con, (RsScriptGroup2)groupID); in nScriptGroup2Execute()
647 rsScriptForEachMulti((RsContext)con, (RsScript)id, 0, in nScriptIntrinsicBLAS_Single()
680 rsScriptForEachMulti((RsContext)con, (RsScript)id, 0, in nScriptIntrinsicBLAS_Double()
[all …]
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp351 LOG_API("nContextFinish, con(%p)", (RsContext)con); in nContextFinish()
352 dispatchTab.ContextFinish((RsContext)con); in nContextFinish()
445 (RsContext)con, (RsScriptKernelID)kernelID, (RsAllocation)returnValue, in nClosureCreate()
502 (RsContext)con, (RsScriptInvokeID)invokeID, jParams, jParamLength, in nInvokeClosureCreate()
520 dispatchTab.ClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index, in nClosureSetArg()
528 dispatchTab.ClosureSetGlobal((RsContext)con, (RsClosure)closureID, in nClosureSetGlobal()
560 (RsContext)con, nameUTF.c_str(), nameUTF.length(), in nScriptGroup2Create()
573 dispatchTab.ScriptGroupExecute((RsContext)con, (RsScriptGroup2)groupID); in nScriptGroup2Execute()
579 LOG_API("nObjDestroy, con(%p) obj(%p)", (RsContext)con, (void *)obj); in nObjDestroy()
580 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.cpp266 extern "C" void rsdHalAbort(RsContext) { in rsdHalAbort() argument
320 extern "C" bool rsdHalInit(RsContext c, uint32_t version_major, in rsdHalInit()