Searched refs:vtx (Results 1 - 11 of 11) sorted by relevance

/frameworks/rs/driver/
H A DrsdShaderCache.cpp77 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { argument
79 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) {
116 RsdShader *vtx = mVertex; local
119 uint32_t vID = vtx->getStateBasedShaderID(rsc);
128 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) {
139 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(),
140 vtx->getUniformCount(),
144 e->vtx = vID;
180 glGetAttribLocation(pgm, vtx->getAttribName(ct).c_str());
181 e->vtxAttrs[ct].name = vtx
[all...]
H A DrsdShaderCache.h105 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0),
138 uint32_t vtx; member in struct:RsdShaderCache::ProgramEntry
150 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
H A DrsdGL.cpp540 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
545 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position");
H A DrsdRuntimeStubs.cpp813 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; local
817 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position");
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java303 private static void setQuad(FloatBuffer vtx, float x, float y, float w, float h) { argument
307 vtx.put(0, x);
308 vtx.put(1, y);
309 vtx.put(2, x);
310 vtx.put(3, y + h);
311 vtx.put(4, x + w);
312 vtx.put(5, y + h);
313 vtx.put(6, x + w);
314 vtx.put(7, y);
/frameworks/rs/
H A Drsg.spec73 param RsAllocation *vtx
H A DrsMesh.cpp270 RsAllocation * vtx, size_t vtxCount,
278 sm->setVertexBuffer((Allocation*)vtx[i], i);
269 rsi_MeshCreate(Context *rsc, RsAllocation * vtx, size_t vtxCount, RsAllocation * idx, size_t idxCount, uint32_t * primType, size_t primTypeCount) argument
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java352 long[] vtx = new long[mVertexTypeCount];
372 vtx[ct] = alloc.getID(mRS);
394 long id = mRS.nMeshCreate(vtx, idx, prim);
514 long[] vtx = new long[mVertexTypeCount];
525 vtx[ct] = entry.a.getID(mRS);
538 long id = mRS.nMeshCreate(vtx, idx, prim);
H A DRenderScript.java940 native long rsnMeshCreate(long con, long[] vtx, long[] idx, int[] prim); argument
941 synchronized long nMeshCreate(long[] vtx, long[] idx, int[] prim) { argument
943 return rsnMeshCreate(mContext, vtx, idx, prim);
/frameworks/native/opengl/tests/gl_perf/
H A Dfill_common.cpp159 static const float vtx[] = { local
185 glVertexAttribPointer(A_POS, 2, GL_FLOAT, false, 8, vtx);
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp393 vertex_t* const vtx[3] = { v0, v1, v2 }; local
401 vertex_t* const v = vtx[j];

Completed in 721 milliseconds