Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdShaderCache.cpp77 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { in hasArrayUniforms() argument
79 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) { in hasArrayUniforms()
116 RsdShader *vtx = mVertex; in link() local
119 uint32_t vID = vtx->getStateBasedShaderID(rsc); in link()
128 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { in link()
139 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(), in link()
140 vtx->getUniformCount(), in link()
144 e->vtx = vID; in link()
180 glGetAttribLocation(pgm, vtx->getAttribName(ct).c_str()); in link()
181 e->vtxAttrs[ct].name = vtx->getAttribName(ct).c_str(); in link()
[all …]
DrsdShaderCache.h105 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0), in ProgramEntry()
138 uint32_t vtx; member
150 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
DrsdGL.cpp540 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in rsdGLDrawQuadTexCoords() local
545 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position"); in rsdGLDrawQuadTexCoords()
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/
DColorFade.java303 private static void setQuad(FloatBuffer vtx, float x, float y, float w, float h) { in setQuad() argument
307 vtx.put(0, x); in setQuad()
308 vtx.put(1, y); in setQuad()
309 vtx.put(2, x); in setQuad()
310 vtx.put(3, y + h); in setQuad()
311 vtx.put(4, x + w); in setQuad()
312 vtx.put(5, y + h); in setQuad()
313 vtx.put(6, x + w); in setQuad()
314 vtx.put(7, y); in setQuad()
/frameworks/base/rs/java/android/renderscript/
DMesh.java352 long[] vtx = new long[mVertexTypeCount]; in create() local
372 vtx[ct] = alloc.getID(mRS); in create()
394 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
514 long[] vtx = new long[mVertexTypeCount]; in create() local
525 vtx[ct] = entry.a.getID(mRS); in create()
538 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
DRenderScript.java940 native long rsnMeshCreate(long con, long[] vtx, long[] idx, int[] prim); in rsnMeshCreate() argument
941 synchronized long nMeshCreate(long[] vtx, long[] idx, int[] prim) { in nMeshCreate() argument
943 return rsnMeshCreate(mContext, vtx, idx, prim); in nMeshCreate()
/frameworks/native/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/rs/
Drsg.spec73 param RsAllocation *vtx
DrsMesh.cpp270 RsAllocation * vtx, size_t vtxCount, in rsi_MeshCreate() argument
278 sm->setVertexBuffer((Allocation*)vtx[i], i); in rsi_MeshCreate()
/frameworks/native/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()