Searched refs:RsContext (Results 1 - 20 of 20) sorted by relevance

/frameworks/rs/cpp/
H A 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 typeDataSize);
26 typedef void (*ElementGetNativeDataFnPtr)(RsContext, RsElement, uintptr_t *elemData, uint32_t elemDataSize);
27 typedef void (*ElementGetSubElementsFnPtr)(RsContext, RsElement, uintptr_t *ids, const char **names, uint32_t *arraySizes, uint32_t dataSize);
31 typedef RsContext (*ContextCreateFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsContextType ct, uint32_t flags);
32 typedef void (*GetNameFnPtr)(RsContext, void * obj, const char **name);
33 typedef RsClosure (*ClosureCreateFnPtr)(RsContext, RsScriptKernelID, RsAllocation, RsScriptFieldID*, size_t, uintptr_t*, size_t, int*, size_t, RsClosure*, size_t, RsScriptFieldID*, size_t);
34 typedef RsClosure (*InvokeClosureCreateFnPtr)(RsContext, RsScriptInvokeID, const void*, const size_t, const RsScriptFieldID*, const size_t, const uintptr_t*, const size_t, const int*, const size_t);
35 typedef void (*ClosureSetArgFnPtr)(RsContext, RsClosur
[all...]
H A DrsCppStructs.h149 RsContext getContext() { return mContext; }
169 RsContext mContext;
/frameworks/rs/
H A 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, RsMes
[all...]
H A DrsEnv.h7 typedef void * RsContext; typedef
H A DrsFileA3D.cpp394 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) {
408 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) {
418 void rsaFileA3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, RsFile file) {
439 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) {
453 RsFile rsaFileA3DCreateFromAsset(RsContext con, void *_asset) {
467 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) {
H A DrsMesh.cpp292 void rsaMeshGetVertexBufferCount(RsContext con, RsMesh mv, int32_t *numVtx) {
297 void rsaMeshGetIndexCount(RsContext con, RsMesh mv, int32_t *numIdx) {
302 void rsaMeshGetVertices(RsContext con, RsMesh mv, RsAllocation *vtxData, uint32_t vtxDataCount) {
312 void rsaMeshGetIndices(RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idxDataCount) {
H A DrsDriverLoader.cpp55 typedef bool (*HalInit)(RsContext, uint32_t version_major, uint32_t version_minor);
56 typedef void (*HalAbort)(RsContext);
H A DrsContext.cpp937 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion,
948 extern "C" void rsaContextSetNativeLibDir(RsContext con, char *libDir, size_t length) {
956 RsContext rsContextCreateGL(RsDevice vdev, uint32_t version,
973 void rsaGetName(RsContext con, void * obj, const char **name) {
H A DrsDefines.h37 typedef void * RsContext; typedef
H A DrsElement.cpp439 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem,
452 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids,
H A Drs_hal.h501 bool rsdHalInit(RsContext, uint32_t version_major, uint32_t version_minor);
509 void rsdHalAbort(RsContext);
H A DrsType.cpp387 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t typeDataSize) {
H A DrsAllocation.cpp901 extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va) {
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp321 ALOGD("nContextFinish, con(%p)", (RsContext)con);
323 rsContextFinish((RsContext)con);
413 (RsContext)con, (RsScriptKernelID)kernelID, (RsAllocation)returnValue,
480 (RsContext)con, (RsScriptInvokeID)invokeID, jParams, jParamLength,
497 rsClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index,
504 rsClosureSetGlobal((RsContext)con, (RsClosure)closureID,
536 (RsContext)con, nameUTF.c_str(), nameUTF.length(),
549 rsScriptGroupExecute((RsContext)con, (RsScriptGroup2)groupID);
580 rsScriptForEachMulti((RsContext)con, (RsScript)id, 0,
613 rsScriptForEachMulti((RsContext)co
[all...]
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp339 LOG_API("nContextFinish, con(%p)", (RsContext)con);
340 dispatchTab.ContextFinish((RsContext)con);
430 (RsContext)con, (RsScriptKernelID)kernelID, (RsAllocation)returnValue,
497 (RsContext)con, (RsScriptInvokeID)invokeID, jParams, jParamLength,
514 dispatchTab.ClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index,
521 dispatchTab.ClosureSetGlobal((RsContext)con, (RsClosure)closureID,
553 (RsContext)con, nameUTF.c_str(), nameUTF.length(),
566 dispatchTab.ScriptGroupExecute((RsContext)con, (RsScriptGroup2)groupID);
572 LOG_API("nObjDestroy, con(%p) obj(%p)", (RsContext)con, (void *)obj);
573 dispatchTab.ObjDestroy((RsContext)co
[all...]
H A Dandroid_rscompat_usage_io.cpp9 extern "C" void AllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur, dispatchTable dispatchTab)
H A Dandroid_rscompat_usage_io_driver.cpp33 extern "C" void rscAllocationSetSurface(RsContext rscR, RsAllocation allocR, ANativeWindow *nw) {
/frameworks/compile/slang/
H A Dslang_rs_pragma_handler.cpp344 void AddPragmaHandlers(clang::Preprocessor &PP, RSContext *RsContext) { argument
347 new RSExportTypePragmaHandler("export_type", RsContext));
351 "rs", new RSJavaPackageNamePragmaHandler("java_package_name", RsContext));
355 "rs", new RSReflectLicensePragmaHandler("set_reflect_license", RsContext));
358 PP.AddPragmaHandler(new RSVersionPragmaHandler("version", RsContext));
361 PP.AddPragmaHandler(new RSPrecisionPragmaHandler("rs_fp_full", RsContext));
362 PP.AddPragmaHandler(new RSPrecisionPragmaHandler("rs_fp_relaxed", RsContext));
363 PP.AddPragmaHandler(new RSPrecisionPragmaHandler("rs_fp_imprecise", RsContext));
H A Dslang_rs_pragma_handler.h74 void AddPragmaHandlers(clang::Preprocessor &PP, RSContext *RsContext);
/frameworks/rs/driver/
H A DrsdCore.cpp254 extern "C" void rsdHalAbort(RsContext) {
307 extern "C" bool rsdHalInit(RsContext c, uint32_t version_major,

Completed in 447 milliseconds