Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdShaderCache.cpp74 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { in hasArrayUniforms() argument
76 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) { in hasArrayUniforms()
113 RsdShader *vtx = mVertex; in link() local
116 uint32_t vID = vtx->getStateBasedShaderID(rsc); in link()
125 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { in link()
135 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(), in link()
136 vtx->getUniformCount(), in link()
140 e->vtx = vID; in link()
176 glGetAttribLocation(pgm, vtx->getAttribName(ct).c_str()); in link()
177 e->vtxAttrs[ct].name = vtx->getAttribName(ct).c_str(); in link()
[all …]
DrsdShaderCache.h101 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0), in ProgramEntry()
134 uint32_t vtx; member
146 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
DrsdGL.cpp546 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in rsdGLDrawQuadTexCoords() local
551 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position"); in rsdGLDrawQuadTexCoords()
DrsdRuntimeStubs.cpp874 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; local
878 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position");
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java310 private static void setQuad(FloatBuffer vtx, float x, float y, float w, float h) { in setQuad() argument
314 vtx.put(0, x); in setQuad()
315 vtx.put(1, y); in setQuad()
316 vtx.put(2, x); in setQuad()
317 vtx.put(3, y + h); in setQuad()
318 vtx.put(4, x + w); in setQuad()
319 vtx.put(5, y + h); in setQuad()
320 vtx.put(6, x + w); in setQuad()
321 vtx.put(7, y); in setQuad()
/frameworks/base/rs/java/android/renderscript/
DMesh.java357 long[] vtx = new long[mVertexTypeCount]; in create() local
377 vtx[ct] = alloc.getID(mRS); in create()
399 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
524 long[] vtx = new long[mVertexTypeCount]; in create() local
535 vtx[ct] = entry.a.getID(mRS); in create()
548 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
DRenderScript.java942 native long rsnMeshCreate(long con, long[] vtx, long[] idx, int[] prim); in rsnMeshCreate() argument
943 synchronized long nMeshCreate(long[] vtx, long[] idx, int[] prim) { in nMeshCreate() argument
945 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.cpp267 RsAllocation * vtx, size_t vtxCount, in rsi_MeshCreate() argument
275 sm->setVertexBuffer((Allocation*)vtx[i], i); in rsi_MeshCreate()
DrsApiStubs.cpp841 extern "C" RsMesh rsMeshCreate (RsContext ctxWrapper, RsAllocation * vtx, size_t vtx_length, in rsMeshCreate() argument
845 …return RS_DISPATCH(ctxWrapper, MeshCreate, vtx, vtx_length, idx, idx_length, primType, primType_le… in rsMeshCreate()
DrsApiStubs.h143 extern "C" RsMesh rsMeshCreate (RsContext rsc, RsAllocation * vtx, size_t vtx_length, RsAllocation …
/frameworks/rs/cpp/
DrsDispatch.h119 typedef RsMesh (*MeshCreateFnPtr) (RsContext rsc, RsAllocation * vtx, size_t vtx_length, RsAllocati…