Home
last modified time | relevance | path

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

/frameworks/rs/cpp/
DrsDispatch.h22 typedef const void* (*AllocationGetTypeFnPtr)(RsContext con, RsAllocation va);
23 typedef void (*TypeGetNativeDataFnPtr)(RsContext, RsType, uint32_t *typeData, uint32_t typeDataSize…
24 typedef void (*ElementGetNativeDataFnPtr)(RsContext, RsElement, uint32_t *elemData, uint32_t elemDa…
25 typedef void (*ElementGetSubElementsFnPtr)(RsContext, RsElement, uint32_t *ids, const char **names,…
29 typedef RsContext (*ContextCreateFnPtr)(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsCon…
30 typedef void (*GetNameFnPtr)(RsContext, void * obj, const char **name);
32 typedef void (*ContextDestroyFnPtr) (RsContext);
33 typedef RsMessageToClientType (*ContextGetMessageFnPtr) (RsContext, void*, size_t, size_t*, size_t,…
34 typedef RsMessageToClientType (*ContextPeekMessageFnPtr) (RsContext, size_t*, size_t, uint32_t*, si…
35 typedef void (*ContextSendMessageFnPtr) (RsContext, uint32_t, const uint8_t*, size_t);
[all …]
DrsCppStructs.h141 RsContext getContext() { return mContext; } in getContext()
161 RsContext mContext;
/frameworks/rs/
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, RsMesh, RsAllocation *va,
[all …]
DrsFileA3D.cpp386 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { in rsaFileA3DGetEntryByIndex()
400 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) { in rsaFileA3DGetNumIndexEntries()
410 void rsaFileA3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, R… in rsaFileA3DGetIndexEntries()
431 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) { in rsaFileA3DCreateFromMemory()
445 RsFile rsaFileA3DCreateFromAsset(RsContext con, void *_asset) { in rsaFileA3DCreateFromAsset()
459 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { in rsaFileA3DCreateFromFile()
DrsEnv.h7 typedef void * RsContext; typedef
DrsMesh.cpp292 void rsaMeshGetVertexBufferCount(RsContext con, RsMesh mv, int32_t *numVtx) { in rsaMeshGetVertexBufferCount()
297 void rsaMeshGetIndexCount(RsContext con, RsMesh mv, int32_t *numIdx) { in rsaMeshGetIndexCount()
302 void rsaMeshGetVertices(RsContext con, RsMesh mv, RsAllocation *vtxData, uint32_t vtxDataCount) { in rsaMeshGetVertices()
312 void rsaMeshGetIndices(RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idx… in rsaMeshGetIndices()
DrsContext.cpp287 extern "C" bool rsdHalInit(RsContext c, uint32_t version_major, uint32_t version_minor);
936 extern "C" RsContext rsContextCreate(RsDevice vdev, uint32_t version, uint32_t sdkVersion, in rsContextCreate()
948 RsContext rsContextCreateGL(RsDevice vdev, uint32_t version, in rsContextCreateGL()
965 void rsaGetName(RsContext con, void * obj, const char **name) { in rsaGetName()
DrsDefines.h36 typedef void * RsContext; typedef
DrsElement.cpp404 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem, in rsaElementGetNativeData()
417 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids, in rsaElementGetSubElements()
DrsType.cpp307 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t type… in rsaTypeGetNativeData()
Drs_hal.h300 bool rsdHalInit(RsContext, uint32_t version_major, uint32_t version_minor);
DrsAllocation.cpp735 extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va) { in rsaAllocationGetType()
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp125 nContextFinish(JNIEnv *_env, jobject _this, RsContext con) in nContextFinish()
132 nAssignName(JNIEnv *_env, jobject _this, RsContext con, jint obj, jbyteArray str) in nAssignName()
142 nGetName(JNIEnv *_env, jobject _this, RsContext con, jint obj) in nGetName()
154 nObjDestroy(JNIEnv *_env, jobject _this, RsContext con, jint obj) in nObjDestroy()
215 nContextSetPriority(JNIEnv *_env, jobject _this, RsContext con, jint p) in nContextSetPriority()
224 nContextSetSurface(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject wnd) in nContextSetSurface()
239 nContextDestroy(JNIEnv *_env, jobject _this, RsContext con) in nContextDestroy()
246 nContextDump(JNIEnv *_env, jobject _this, RsContext con, jint bits) in nContextDump()
248 LOG_API("nContextDump, con(%p) bits(%i)", (RsContext)con, bits); in nContextDump()
249 rsContextDump((RsContext)con, bits); in nContextDump()
[all …]
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp93 nContextFinish(JNIEnv *_env, jobject _this, RsContext con) in nContextFinish()
100 nObjDestroy(JNIEnv *_env, jobject _this, RsContext con, jint obj) in nObjDestroy()
138 nContextSetPriority(JNIEnv *_env, jobject _this, RsContext con, jint p) in nContextSetPriority()
147 nContextDestroy(JNIEnv *_env, jobject _this, RsContext con) in nContextDestroy()
154 nContextDump(JNIEnv *_env, jobject _this, RsContext con, jint bits) in nContextDump()
156 LOG_API("nContextDump, con(%p) bits(%i)", (RsContext)con, bits); in nContextDump()
157 rsContextDump((RsContext)con, bits); in nContextDump()
162 nContextGetErrorMessage(JNIEnv *_env, jobject _this, RsContext con) in nContextGetErrorMessage()
181 nContextGetUserMessage(JNIEnv *_env, jobject _this, RsContext con, jintArray data) in nContextGetUserMessage()
201 nContextPeekMessage(JNIEnv *_env, jobject _this, RsContext con, jintArray auxData) in nContextPeekMessage()
[all …]
/frameworks/rs/driver/
DrsdCore.cpp177 extern "C" bool rsdHalInit(RsContext c, uint32_t version_major, in rsdHalInit()