Home
last modified time | relevance | path

Searched refs:dispatchTab (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/cpp/
DrsDispatch.cpp26 bool loadSymbols(void* handle, dispatchTable& dispatchTab, int targetApiLevel) { in loadSymbols() argument
29 dispatchTab.SetNativeLibDir = (SetNativeLibDirFnPtr)dlsym(handle, "rsaContextSetNativeLibDir"); in loadSymbols()
30 if (dispatchTab.SetNativeLibDir == nullptr) { in loadSymbols()
36 dispatchTab.Allocation1DData = (Allocation1DDataFnPtr)dlsym(handle, "rsAllocation1DData"); in loadSymbols()
37dispatchTab.Allocation1DElementData = (Allocation1DElementDataFnPtr)dlsym(handle, "rsAllocation1DE… in loadSymbols()
38 dispatchTab.Allocation1DRead = (Allocation1DReadFnPtr)dlsym(handle, "rsAllocation1DRead"); in loadSymbols()
39 dispatchTab.Allocation2DData = (Allocation2DDataFnPtr)dlsym(handle, "rsAllocation2DData"); in loadSymbols()
40 dispatchTab.Allocation2DRead = (Allocation2DReadFnPtr)dlsym(handle, "rsAllocation2DRead"); in loadSymbols()
41 dispatchTab.Allocation3DData = (Allocation3DDataFnPtr)dlsym(handle, "rsAllocation3DData"); in loadSymbols()
42 dispatchTab.Allocation3DRead = (Allocation3DReadFnPtr)dlsym(handle, "rsAllocation3DRead"); in loadSymbols()
[all …]
DrsDispatch.h263 bool loadSymbols(void* handle, dispatchTable& dispatchTab, int device_api = 0);
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp272 static dispatchTable dispatchTab; variable
295 if (loadSymbols(handle, dispatchTab, targetApi) == false) { in nLoadSO()
352 dispatchTab.ContextFinish((RsContext)con); in nContextFinish()
444 ret = (jlong)(uintptr_t)dispatchTab.ClosureCreate( in nClosureCreate()
501 ret = (jlong)(uintptr_t)dispatchTab.InvokeClosureCreate( in nInvokeClosureCreate()
520 dispatchTab.ClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index, in nClosureSetArg()
528 dispatchTab.ClosureSetGlobal((RsContext)con, (RsClosure)closureID, in nClosureSetGlobal()
559 ret = (jlong)(uintptr_t)dispatchTab.ScriptGroup2Create( in nScriptGroup2Create()
573 dispatchTab.ScriptGroupExecute((RsContext)con, (RsScriptGroup2)groupID); in nScriptGroup2Execute()
580 dispatchTab.ObjDestroy((RsContext)con, (void *)obj); in nObjDestroy()
[all …]
Dandroid_rscompat_usage_io.cpp9 …nv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur, dispatchTable dispatchTab) in AllocationSetSurface() argument
18 dispatchTab.AllocationSetSurface(con, alloc, s); in AllocationSetSurface()