Home
last modified time | relevance | path

Searched refs:vtx (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/rs/driver/
DrsdShaderCache.cpp70 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { in hasArrayUniforms() argument
72 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) { in hasArrayUniforms()
109 RsdShader *vtx = mVertex; in link() local
111 if (!vtx->getShaderID()) { in link()
112 vtx->loadShader(rsc); in link()
119 if (!vtx->getShaderID() || !frag->getShaderID()) { in link()
125 if ((mEntries[ct]->vtx == vtx->getShaderID()) && in link()
139 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(), in link()
140 vtx->getUniformCount(), in link()
144 e->vtx = vtx->getShaderID(); in link()
[all …]
DrsdShaderCache.h100 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0), in ProgramEntry()
127 uint32_t vtx; member
138 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
/frameworks/base/services/surfaceflinger/
DSurfaceFlinger.cpp1910 GLfloat vtx[8]; in electronBeamOffAnimationImplLocked() local
1918 glVertexPointer(2, GL_FLOAT, 0, vtx); in electronBeamOffAnimationImplLocked()
1955 void operator()(GLfloat* vtx, float v) { in electronBeamOffAnimationImplLocked() argument
1960 vtx[0] = x; vtx[1] = y; in electronBeamOffAnimationImplLocked()
1961 vtx[2] = x; vtx[3] = y + h; in electronBeamOffAnimationImplLocked()
1962 vtx[4] = x + w; vtx[5] = y + h; in electronBeamOffAnimationImplLocked()
1963 vtx[6] = x + w; vtx[7] = y; in electronBeamOffAnimationImplLocked()
1973 void operator()(GLfloat* vtx, float v) { in electronBeamOffAnimationImplLocked() argument
1978 vtx[0] = x; vtx[1] = y; in electronBeamOffAnimationImplLocked()
1979 vtx[2] = x; vtx[3] = y + h; in electronBeamOffAnimationImplLocked()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DMesh.java329 int[] vtx = new int[mVertexTypeCount]; in create() local
346 vtx[ct] = alloc.getID(); in create()
365 int id = mRS.nMeshCreate(vtx, idx, prim); in create()
475 int[] vtx = new int[mVertexTypeCount]; in create() local
486 vtx[ct] = entry.a.getID(); in create()
499 int id = mRS.nMeshCreate(vtx, idx, prim); in create()
DRenderScript.java557 native int rsnMeshCreate(int con, int[] vtx, int[] idx, int[] prim); in rsnMeshCreate() argument
558 synchronized int nMeshCreate(int[] vtx, int[] idx, int[] prim) { in nMeshCreate() argument
560 return rsnMeshCreate(mContext, vtx, idx, prim); in nMeshCreate()
/frameworks/base/opengl/tests/gl_perf/
Dfill_common.cpp159 static const float vtx[] = { in setupVA() local
185 glVertexAttribPointer(A_POS, 2, GL_FLOAT, false, 8, vtx); in setupVA()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Drsbench.rs258 Particle_t *vtx = Particles;
261 vtx->position.x = vtx->position.x + gSpeed[i];
262 vtx++;
/frameworks/base/libs/rs/
DrsMesh.cpp256 RsAllocation * vtx, size_t vtxCount, in rsi_MeshCreate() argument
264 sm->setVertexBuffer((Allocation*)vtx[i], i); in rsi_MeshCreate()
DrsScriptC_LibGL.cpp151 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in rsrDrawQuadTexCoords() local
155 attribs[0].set(GL_FLOAT, 3, 12, false, (uint32_t)vtx, "ATTRIB_position"); in rsrDrawQuadTexCoords()
Drs.spec386 param RsAllocation *vtx
/frameworks/base/libs/hwui/
DFontRenderer.cpp603 float* vtx = mTextMeshPtr; in issueDrawCommand() local
604 float* tex = vtx + 3; in issueDrawCommand()
606 glVertexAttribPointer(mPositionAttrSlot, 3, GL_FLOAT, false, 20, vtx); in issueDrawCommand()
/frameworks/base/opengl/libagl/
Dprimitives.cpp393 vertex_t* const vtx[3] = { v0, v1, v2 }; in fetch_texcoord_impl() local
401 vertex_t* const v = vtx[j]; in fetch_texcoord_impl()