• Home
  • Raw
  • Download

Lines Matching refs:dispatch

37 dispatchTable* RS::dispatch = NULL;  member in RS
57 RS::dispatch->ContextDeinitToClient(mContext); in ~RS()
62 RS::dispatch->ContextDestroy(mContext); in ~RS()
64 RS::dispatch->DeviceDestroy(mDev); in ~RS()
75 RS::dispatch->AllocationGetType = (AllocationGetTypeFnPtr)dlsym(handle, "rsaAllocationGetType"); in loadSymbols()
76 if (RS::dispatch->AllocationGetType == NULL) { in loadSymbols()
80 RS::dispatch->TypeGetNativeData = (TypeGetNativeDataFnPtr)dlsym(handle, "rsaTypeGetNativeData"); in loadSymbols()
81 if (RS::dispatch->TypeGetNativeData == NULL) { in loadSymbols()
85 …RS::dispatch->ElementGetNativeData = (ElementGetNativeDataFnPtr)dlsym(handle, "rsaElementGetNative… in loadSymbols()
86 if (RS::dispatch->ElementGetNativeData == NULL) { in loadSymbols()
90 …RS::dispatch->ElementGetSubElements = (ElementGetSubElementsFnPtr)dlsym(handle, "rsaElementGetSubE… in loadSymbols()
91 if (RS::dispatch->ElementGetSubElements == NULL) { in loadSymbols()
95 RS::dispatch->DeviceCreate = (DeviceCreateFnPtr)dlsym(handle, "rsDeviceCreate"); in loadSymbols()
96 if (RS::dispatch->DeviceCreate == NULL) { in loadSymbols()
100 RS::dispatch->DeviceDestroy = (DeviceDestroyFnPtr)dlsym(handle, "rsDeviceDestroy"); in loadSymbols()
101 if (RS::dispatch->DeviceDestroy == NULL) { in loadSymbols()
105 RS::dispatch->DeviceSetConfig = (DeviceSetConfigFnPtr)dlsym(handle, "rsDeviceSetConfig"); in loadSymbols()
106 if (RS::dispatch->DeviceSetConfig == NULL) { in loadSymbols()
110 RS::dispatch->ContextCreate = (ContextCreateFnPtr)dlsym(handle, "rsContextCreate");; in loadSymbols()
111 if (RS::dispatch->ContextCreate == NULL) { in loadSymbols()
115 RS::dispatch->GetName = (GetNameFnPtr)dlsym(handle, "rsaGetName");; in loadSymbols()
116 if (RS::dispatch->GetName == NULL) { in loadSymbols()
120 RS::dispatch->ContextDestroy = (ContextDestroyFnPtr)dlsym(handle, "rsContextDestroy"); in loadSymbols()
121 if (RS::dispatch->ContextDestroy == NULL) { in loadSymbols()
125 RS::dispatch->ContextGetMessage = (ContextGetMessageFnPtr)dlsym(handle, "rsContextGetMessage"); in loadSymbols()
126 if (RS::dispatch->ContextGetMessage == NULL) { in loadSymbols()
130 … RS::dispatch->ContextPeekMessage = (ContextPeekMessageFnPtr)dlsym(handle, "rsContextPeekMessage"); in loadSymbols()
131 if (RS::dispatch->ContextPeekMessage == NULL) { in loadSymbols()
135 … RS::dispatch->ContextSendMessage = (ContextSendMessageFnPtr)dlsym(handle, "rsContextSendMessage"); in loadSymbols()
136 if (RS::dispatch->ContextSendMessage == NULL) { in loadSymbols()
140 …RS::dispatch->ContextInitToClient = (ContextInitToClientFnPtr)dlsym(handle, "rsContextInitToClient… in loadSymbols()
141 if (RS::dispatch->ContextInitToClient == NULL) { in loadSymbols()
145 …RS::dispatch->ContextDeinitToClient = (ContextDeinitToClientFnPtr)dlsym(handle, "rsContextDeinitTo… in loadSymbols()
146 if (RS::dispatch->ContextDeinitToClient == NULL) { in loadSymbols()
150 RS::dispatch->TypeCreate = (TypeCreateFnPtr)dlsym(handle, "rsTypeCreate"); in loadSymbols()
151 if (RS::dispatch->TypeCreate == NULL) { in loadSymbols()
155 …RS::dispatch->AllocationCreateTyped = (AllocationCreateTypedFnPtr)dlsym(handle, "rsAllocationCreat… in loadSymbols()
156 if (RS::dispatch->AllocationCreateTyped == NULL) { in loadSymbols()
160 …RS::dispatch->AllocationCreateFromBitmap = (AllocationCreateFromBitmapFnPtr)dlsym(handle, "rsAlloc… in loadSymbols()
161 if (RS::dispatch->AllocationCreateFromBitmap == NULL) { in loadSymbols()
165 …RS::dispatch->AllocationCubeCreateFromBitmap = (AllocationCubeCreateFromBitmapFnPtr)dlsym(handle, … in loadSymbols()
166 if (RS::dispatch->AllocationCubeCreateFromBitmap == NULL) { in loadSymbols()
170 …RS::dispatch->AllocationGetSurface = (AllocationGetSurfaceFnPtr)dlsym(handle, "rsAllocationGetSurf… in loadSymbols()
171 if (RS::dispatch->AllocationGetSurface == NULL) { in loadSymbols()
175 …RS::dispatch->AllocationSetSurface = (AllocationSetSurfaceFnPtr)dlsym(handle, "rsAllocationSetSurf… in loadSymbols()
176 if (RS::dispatch->AllocationSetSurface == NULL) { in loadSymbols()
180 RS::dispatch->ContextFinish = (ContextFinishFnPtr)dlsym(handle, "rsContextFinish"); in loadSymbols()
181 if (RS::dispatch->ContextFinish == NULL) { in loadSymbols()
185 RS::dispatch->ContextDump = (ContextDumpFnPtr)dlsym(handle, "rsContextDump"); in loadSymbols()
186 if (RS::dispatch->ContextDump == NULL) { in loadSymbols()
190 … RS::dispatch->ContextSetPriority = (ContextSetPriorityFnPtr)dlsym(handle, "rsContextSetPriority"); in loadSymbols()
191 if (RS::dispatch->ContextSetPriority == NULL) { in loadSymbols()
195 RS::dispatch->AssignName = (AssignNameFnPtr)dlsym(handle, "rsAssignName"); in loadSymbols()
196 if (RS::dispatch->AssignName == NULL) { in loadSymbols()
200 RS::dispatch->ObjDestroy = (ObjDestroyFnPtr)dlsym(handle, "rsObjDestroy"); in loadSymbols()
201 if (RS::dispatch->ObjDestroy == NULL) { in loadSymbols()
205 RS::dispatch->ElementCreate = (ElementCreateFnPtr)dlsym(handle, "rsElementCreate"); in loadSymbols()
206 if (RS::dispatch->ElementCreate == NULL) { in loadSymbols()
210 RS::dispatch->ElementCreate2 = (ElementCreate2FnPtr)dlsym(handle, "rsElementCreate2"); in loadSymbols()
211 if (RS::dispatch->ElementCreate2 == NULL) { in loadSymbols()
215 …RS::dispatch->AllocationCopyToBitmap = (AllocationCopyToBitmapFnPtr)dlsym(handle, "rsAllocationCop… in loadSymbols()
216 if (RS::dispatch->AllocationCopyToBitmap == NULL) { in loadSymbols()
220 RS::dispatch->Allocation1DData = (Allocation1DDataFnPtr)dlsym(handle, "rsAllocation1DData"); in loadSymbols()
221 if (RS::dispatch->Allocation1DData == NULL) { in loadSymbols()
225 …RS::dispatch->Allocation1DElementData = (Allocation1DElementDataFnPtr)dlsym(handle, "rsAllocation1… in loadSymbols()
226 if (RS::dispatch->Allocation1DElementData == NULL) { in loadSymbols()
230 RS::dispatch->Allocation2DData = (Allocation2DDataFnPtr)dlsym(handle, "rsAllocation2DData"); in loadSymbols()
231 if (RS::dispatch->Allocation2DData == NULL) { in loadSymbols()
235 RS::dispatch->Allocation3DData = (Allocation3DDataFnPtr)dlsym(handle, "rsAllocation3DData"); in loadSymbols()
236 if (RS::dispatch->Allocation3DData == NULL) { in loadSymbols()
240 …RS::dispatch->AllocationGenerateMipmaps = (AllocationGenerateMipmapsFnPtr)dlsym(handle, "rsAllocat… in loadSymbols()
241 if (RS::dispatch->AllocationGenerateMipmaps == NULL) { in loadSymbols()
245 RS::dispatch->AllocationRead = (AllocationReadFnPtr)dlsym(handle, "rsAllocationRead"); in loadSymbols()
246 if (RS::dispatch->AllocationRead == NULL) { in loadSymbols()
250 RS::dispatch->Allocation1DRead = (Allocation1DReadFnPtr)dlsym(handle, "rsAllocation1DRead"); in loadSymbols()
251 if (RS::dispatch->Allocation1DRead == NULL) { in loadSymbols()
255 RS::dispatch->Allocation2DRead = (Allocation2DReadFnPtr)dlsym(handle, "rsAllocation2DRead"); in loadSymbols()
256 if (RS::dispatch->Allocation2DRead == NULL) { in loadSymbols()
260 RS::dispatch->AllocationSyncAll = (AllocationSyncAllFnPtr)dlsym(handle, "rsAllocationSyncAll"); in loadSymbols()
261 if (RS::dispatch->AllocationSyncAll == NULL) { in loadSymbols()
265 … RS::dispatch->AllocationResize1D = (AllocationResize1DFnPtr)dlsym(handle, "rsAllocationResize1D"); in loadSymbols()
266 if (RS::dispatch->AllocationResize1D == NULL) { in loadSymbols()
270 …RS::dispatch->AllocationCopy2DRange = (AllocationCopy2DRangeFnPtr)dlsym(handle, "rsAllocationCopy2… in loadSymbols()
271 if (RS::dispatch->AllocationCopy2DRange == NULL) { in loadSymbols()
275 …RS::dispatch->AllocationCopy3DRange = (AllocationCopy3DRangeFnPtr)dlsym(handle, "rsAllocationCopy3… in loadSymbols()
276 if (RS::dispatch->AllocationCopy3DRange == NULL) { in loadSymbols()
280 RS::dispatch->SamplerCreate = (SamplerCreateFnPtr)dlsym(handle, "rsSamplerCreate"); in loadSymbols()
281 if (RS::dispatch->SamplerCreate == NULL) { in loadSymbols()
285 …RS::dispatch->ScriptBindAllocation = (ScriptBindAllocationFnPtr)dlsym(handle, "rsScriptBindAllocat… in loadSymbols()
286 if (RS::dispatch->ScriptBindAllocation == NULL) { in loadSymbols()
290 RS::dispatch->ScriptSetTimeZone = (ScriptSetTimeZoneFnPtr)dlsym(handle, "rsScriptSetTimeZone"); in loadSymbols()
291 if (RS::dispatch->ScriptSetTimeZone == NULL) { in loadSymbols()
295 RS::dispatch->ScriptInvoke = (ScriptInvokeFnPtr)dlsym(handle, "rsScriptInvoke"); in loadSymbols()
296 if (RS::dispatch->ScriptInvoke == NULL) { in loadSymbols()
300 RS::dispatch->ScriptInvokeV = (ScriptInvokeVFnPtr)dlsym(handle, "rsScriptInvokeV"); in loadSymbols()
301 if (RS::dispatch->ScriptInvokeV == NULL) { in loadSymbols()
305 RS::dispatch->ScriptForEach = (ScriptForEachFnPtr)dlsym(handle, "rsScriptForEach"); in loadSymbols()
306 if (RS::dispatch->ScriptForEach == NULL) { in loadSymbols()
310 RS::dispatch->ScriptSetVarI = (ScriptSetVarIFnPtr)dlsym(handle, "rsScriptSetVarI"); in loadSymbols()
311 if (RS::dispatch->ScriptSetVarI == NULL) { in loadSymbols()
315 RS::dispatch->ScriptSetVarObj = (ScriptSetVarObjFnPtr)dlsym(handle, "rsScriptSetVarObj"); in loadSymbols()
316 if (RS::dispatch->ScriptSetVarObj == NULL) { in loadSymbols()
320 RS::dispatch->ScriptSetVarJ = (ScriptSetVarJFnPtr)dlsym(handle, "rsScriptSetVarJ"); in loadSymbols()
321 if (RS::dispatch->ScriptSetVarJ == NULL) { in loadSymbols()
325 RS::dispatch->ScriptSetVarF = (ScriptSetVarFFnPtr)dlsym(handle, "rsScriptSetVarF"); in loadSymbols()
326 if (RS::dispatch->ScriptSetVarF == NULL) { in loadSymbols()
330 RS::dispatch->ScriptSetVarD = (ScriptSetVarDFnPtr)dlsym(handle, "rsScriptSetVarD"); in loadSymbols()
331 if (RS::dispatch->ScriptSetVarD == NULL) { in loadSymbols()
335 RS::dispatch->ScriptSetVarV = (ScriptSetVarVFnPtr)dlsym(handle, "rsScriptSetVarV"); in loadSymbols()
336 if (RS::dispatch->ScriptSetVarV == NULL) { in loadSymbols()
340 RS::dispatch->ScriptGetVarV = (ScriptGetVarVFnPtr)dlsym(handle, "rsScriptGetVarV"); in loadSymbols()
341 if (RS::dispatch->ScriptGetVarV == NULL) { in loadSymbols()
345 RS::dispatch->ScriptSetVarVE = (ScriptSetVarVEFnPtr)dlsym(handle, "rsScriptSetVarVE"); in loadSymbols()
346 if (RS::dispatch->ScriptSetVarVE == NULL) { in loadSymbols()
350 RS::dispatch->ScriptCCreate = (ScriptCCreateFnPtr)dlsym(handle, "rsScriptCCreate"); in loadSymbols()
351 if (RS::dispatch->ScriptCCreate == NULL) { in loadSymbols()
355 …RS::dispatch->ScriptIntrinsicCreate = (ScriptIntrinsicCreateFnPtr)dlsym(handle, "rsScriptIntrinsic… in loadSymbols()
356 if (RS::dispatch->ScriptIntrinsicCreate == NULL) { in loadSymbols()
360 …RS::dispatch->ScriptKernelIDCreate = (ScriptKernelIDCreateFnPtr)dlsym(handle, "rsScriptKernelIDCre… in loadSymbols()
361 if (RS::dispatch->ScriptKernelIDCreate == NULL) { in loadSymbols()
365 …RS::dispatch->ScriptFieldIDCreate = (ScriptFieldIDCreateFnPtr)dlsym(handle, "rsScriptFieldIDCreate… in loadSymbols()
366 if (RS::dispatch->ScriptFieldIDCreate == NULL) { in loadSymbols()
370 RS::dispatch->ScriptGroupCreate = (ScriptGroupCreateFnPtr)dlsym(handle, "rsScriptGroupCreate"); in loadSymbols()
371 if (RS::dispatch->ScriptGroupCreate == NULL) { in loadSymbols()
375 …RS::dispatch->ScriptGroupSetOutput = (ScriptGroupSetOutputFnPtr)dlsym(handle, "rsScriptGroupSetOut… in loadSymbols()
376 if (RS::dispatch->ScriptGroupSetOutput == NULL) { in loadSymbols()
380 …RS::dispatch->ScriptGroupSetInput = (ScriptGroupSetInputFnPtr)dlsym(handle, "rsScriptGroupSetInput… in loadSymbols()
381 if (RS::dispatch->ScriptGroupSetInput == NULL) { in loadSymbols()
385 … RS::dispatch->ScriptGroupExecute = (ScriptGroupExecuteFnPtr)dlsym(handle, "rsScriptGroupExecute"); in loadSymbols()
386 if (RS::dispatch->ScriptGroupExecute == NULL) { in loadSymbols()
390 RS::dispatch->AllocationIoSend = (AllocationIoSendFnPtr)dlsym(handle, "rsAllocationIoSend"); in loadSymbols()
391 if (RS::dispatch->AllocationIoSend == NULL) { in loadSymbols()
395 …RS::dispatch->AllocationIoReceive = (AllocationIoReceiveFnPtr)dlsym(handle, "rsAllocationIoReceive… in loadSymbols()
396 if (RS::dispatch->AllocationIoReceive == NULL) { in loadSymbols()
440 RS::dispatch = new dispatchTable; in initDispatch()
471 mDev = RS::dispatch->DeviceCreate(); in init()
482 mContext = RS::dispatch->ContextCreate(mDev, 0, targetApi, RS_CONTEXT_TYPE_NORMAL, flags); in init()
524 RS::dispatch->ContextInitToClient(rs->mContext); in threadProc()
531 RsMessageToClientType r = RS::dispatch->ContextPeekMessage(rs->mContext, in threadProc()
543 … RS::dispatch->ContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen), in threadProc()
592 RS::dispatch->ContextFinish(mContext); in finish()