/frameworks/rs/ |
D | rsHidlAdaptation.h | 50 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 …]
|
D | rsApiStubs.h | 28 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 …]
|
D | rsApiStubs.cpp | 41 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 …]
|
D | rs.h | 27 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 …]
|
D | rsHidlAdaptation.cpp | 190 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 …]
|
D | rsApiFileA3D.cpp | 26 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()
|
D | rsApiContext.cpp | 28 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()
|
D | rsApiMesh.cpp | 22 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()
|
D | rsApiElement.cpp | 22 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem, in rsaElementGetNativeData() 35 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids, in rsaElementGetSubElements()
|
D | rsApiAllocation.cpp | 23 extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va) { in rsaAllocationGetType()
|
D | rsEnv.h | 5 typedef void * RsContext; typedef
|
D | rsApiType.cpp | 26 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t type… in rsaTypeGetNativeData()
|
D | rsDriverLoader.cpp | 47 typedef bool (*HalInit)(RsContext, uint32_t version_major, uint32_t version_minor); 48 typedef void (*HalAbort)(RsContext);
|
D | rs_hal.h | 543 bool rsdHalInit(RsContext, uint32_t version_major, uint32_t version_minor); 551 void rsdHalAbort(RsContext);
|
D | rsDefines.h | 35 typedef void * RsContext; typedef
|
/frameworks/rs/cpp/ |
D | rsDispatch.h | 22 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 …]
|
D | ScriptIntrinsicBLAS.cpp | 107 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()
|
D | rsCppStructs.h | 420 RsContext getContext() { return mContext; } in getContext() 438 RsContext mContext;
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 347 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/ |
D | android_renderscript_RenderScript.cpp | 351 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 …]
|
D | android_rscompat_usage_io.cpp | 9 extern "C" void AllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc… in AllocationSetSurface()
|
D | android_rscompat_usage_io_driver.cpp | 33 extern "C" void rscAllocationSetSurface(RsContext rscR, RsAllocation allocR, ANativeWindow *nw) { in rscAllocationSetSurface()
|
/frameworks/compile/slang/ |
D | slang_rs_pragma_handler.cpp | 565 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()
|
D | slang_rs_pragma_handler.h | 74 void AddPragmaHandlers(clang::Preprocessor &PP, RSContext *RsContext);
|
/frameworks/rs/driver/ |
D | rsdCore.cpp | 266 extern "C" void rsdHalAbort(RsContext) { in rsdHalAbort() argument 320 extern "C" bool rsdHalInit(RsContext c, uint32_t version_major, in rsdHalInit()
|