Home
last modified time | relevance | path

Searched refs:rsGetElementAt (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Drender.rs54 const SgTransform *objTransform = (const SgTransform *)rsGetElementAt(obj->transformMatrix, 0);
61 const SgRenderState *renderState = (const SgRenderState *)rsGetElementAt(obj->render_state, 0);
62 const SgVertexShader *pv = (const SgVertexShader *)rsGetElementAt(renderState->pv, 0);
63 const SgFragmentShader *pf = (const SgFragmentShader *)rsGetElementAt(renderState->pf, 0);
89 const SgTexture *tex = rsGetElementAt(obj->pf_textures[i], 0);
97 const SgRenderState *renderState = (const SgRenderState *)rsGetElementAt(obj->render_state, 0);
111 gActiveCamera = (SgCamera *)rsGetElementAt(cam, 0);
160 rs_allocation *drawAlloc = (rs_allocation*)rsGetElementAt(allObj, i);
161 SgRenderable *current = (SgRenderable*)rsGetElementAt(*drawAlloc, 0);
188 SgRenderPass *pass = (SgRenderPass*)rsGetElementAt(gRenderPasses, i);
[all …]
Dparams.rsh32 pTransform = (const SgTransform *)rsGetElementAt(pData->transform, 0);
42 pLight = (const SgLight *)rsGetElementAt(pData->light, 0);
77 pTransform = (const SgTransform *)rsGetElementAt(pData->transform, 0);
97 pLight = (const SgLight *)rsGetElementAt(pData->light, 0);
103 tex = rsGetElementAt(pData->texture, 0);
162 uint8_t *constantBuffer = (uint8_t*)rsGetElementAt(shaderConst, 0);
170 SgShaderParam *current = (SgShaderParam*)rsGetElementAt(allParams, i);
171 SgShaderParamData *currentData = (SgShaderParamData*)rsGetElementAt(current->data, 0);
186 SgShaderParam *current = (SgShaderParam*)rsGetElementAt(shader->shaderTextureParams, i);
187 SgShaderParamData *currentData = (SgShaderParamData*)rsGetElementAt(current->data, 0);
Dtransform.rs41 comp = (const SgTransformComponent *)rsGetElementAt(data->components, i);
44 rsDebug((const char*)rsGetElementAt(comp->name, 0), comp->value);
76 SgTransform *data = (SgTransform *)rsGetElementAt(*v_in, 0);
97 comp = (const SgTransformComponent *)rsGetElementAt(data->components, i);
Dlight.rs24 SgLight *light = (SgLight *)rsGetElementAt(*v_in, 0);
25 const SgTransform *lTransform = (const SgTransform *)rsGetElementAt(light->transformMatrix, 0);
Dcamera.rs24 SgCamera *cam = (SgCamera *)rsGetElementAt(*v_in, 0);
34 const SgTransform *camTransform = (const SgTransform *)rsGetElementAt(cam->transformMatrix, 0);
Dcull.rs24 const SgTransform *objTransform = (const SgTransform *)rsGetElementAt(obj->transformMatrix, 0);
67 SgRenderable *drawable = (SgRenderable *)rsGetElementAt(*v_out, 0);
Dvertex_params.rs26 SgVertexShader *shader = (SgVertexShader *)rsGetElementAt(*v_out, 0);
Dfragment_params.rs26 SgFragmentShader *shader = (SgFragmentShader *)rsGetElementAt(*v_out, 0);
Dobject_params.rs27 SgRenderable *drawable = (SgRenderable *)rsGetElementAt(*v_out, 0);
Dscenegraph_objects.rsh217 rsDebug((const char*)rsGetElementAt(name, 0), 0);
223 const SgTransform *camTransform = (const SgTransform *)rsGetElementAt(cam->transformMatrix, 0);
239 const SgTransform *lTransform = (const SgTransform *)rsGetElementAt(light->transformMatrix, 0);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dalloc.rs29 const void *p = rsGetElementAt(aRaw, i, j);
38 const void *p = rsGetElementAt(aRaw, i);
47 const void *p = rsGetElementAt(aRaw, i, j, 0);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dalloc.rs29 const void *p = rsGetElementAt(aRaw, i, j);
38 const void *p = rsGetElementAt(aRaw, i);
47 const void *p = rsGetElementAt(aRaw, i, j, 0);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dalloc.rs29 const void *p = rsGetElementAt(aRaw, i, j);
38 const void *p = rsGetElementAt(aRaw, i);
47 const void *p = rsGetElementAt(aRaw, i, j, 0);
Dapitest.rs382 c3.x = *(char*)rsGetElementAt(aChar3, 0);
383 c3.y = *(char*)rsGetElementAt(aChar3, 0, 0);
384 c3.z = *(char*)rsGetElementAt(aChar3, 0, 0, 0);
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
Dballs.rs62 BallGrid_t *bg = (BallGrid_t *)rsGetElementAt(gGrid, x, y);
73 BallGrid_t *bg = (BallGrid_t *)rsGetElementAt(gGrid, p.x, p.y);
83 BallGrid_t *bg = (BallGrid_t *)rsGetElementAt(gGrid, x, y);
Dball_physics.rs55 … const BallGrid_t *bg = (const BallGrid_t *)rsGetElementAt(gGrid, gridPos[gct].x, gridPos[gct].y);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
Dsimplemodel.rs111 MeshInfo_t *info = (MeshInfo_t*)rsGetElementAt(allMeshes, i);
128 MeshInfo_t *info = (MeshInfo_t*)rsGetElementAt(allMeshes, i);
/frameworks/rs/scriptc/
Drs_allocation.rsh137 rsGetElementAt(rs_allocation a, uint32_t x);
142 rsGetElementAt(rs_allocation a, uint32_t x, uint32_t y);
147 rsGetElementAt(rs_allocation a, uint32_t x, uint32_t y, uint32_t z);
162 return ((T *)rsGetElementAt(a, x))[0]; \
166 return ((T *)rsGetElementAt(a, x, y))[0]; \
170 return ((T *)rsGetElementAt(a, x, y, z))[0]; \
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
Dshaderstest.rs119 MeshInfo_t *info = (MeshInfo_t*)rsGetElementAt(allMeshes, i);
136 MeshInfo_t *info = (MeshInfo_t*)rsGetElementAt(allMeshes, i);
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
Dfbotest.rs103 MeshInfo_t *info = (MeshInfo_t*)rsGetElementAt(allMeshes, i);
120 MeshInfo_t *info = (MeshInfo_t*)rsGetElementAt(allMeshes, i);
Dfbosync.rs104 MeshInfo_t *info = (MeshInfo_t*)rsGetElementAt(allMeshes, i);
121 MeshInfo_t *info = (MeshInfo_t*)rsGetElementAt(allMeshes, i);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dalloc.rs29 const void *p = rsGetElementAt(aRaw, i);
/frameworks/rs/driver/runtime/
Drs_allocation.c190 rsGetElementAt(rs_allocation a, uint32_t x) { in rsGetElementAt() function
198 rsGetElementAt(rs_allocation a, uint32_t x, uint32_t y) { in rsGetElementAt() function
207 rsGetElementAt(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { in rsGetElementAt() function
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Drsbench.rs200 const char *testName = rsGetElementAt(gTestScripts[benchMode].debugName, 0);