Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdPath.cpp53 DrvPathStatic(const Allocation *vtx, const Allocation *loops);
73 const Allocation *vtx, const Allocation *loops) { in rsdPathInitStatic() argument
77 DrvPathStatic *dps = new DrvPathStatic(vtx, loops); in rsdPathInitStatic()
112 DrvPathStatic::DrvPathStatic(const Allocation *vtx, const Allocation *loops) { in DrvPathStatic() argument
113 mSegmentCount = vtx->getType()->getDimX() / 3; in DrvPathStatic()
140 float vtx[12]; in draw() local
153 attribs[0].set(GL_FLOAT, 2, 8, false, (size_t)vtx, "ATTRIB_position"); in draw()
162 vtx[0] = s->x1; in draw()
163 vtx[1] = s->y1; in draw()
164 vtx[2] = s->xc; in draw()
[all …]
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
112 uint32_t vID = vtx->getStateBasedShaderID(rsc); in link()
121 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { in link()
132 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(), in link()
133 vtx->getUniformCount(), in link()
137 e->vtx = vID; in link()
172 e->vtxAttrs[ct].slot = glGetAttribLocation(pgm, vtx->getAttribName(ct)); in link()
173 e->vtxAttrs[ct].name = vtx->getAttribName(ct).string(); in link()
[all …]
DrsdShaderCache.h104 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0), in ProgramEntry()
137 uint32_t vtx; member
149 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.cpp326 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in SC_DrawQuadTexCoords() local
330 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position"); in SC_DrawQuadTexCoords()
/frameworks/base/rs/java/android/renderscript/
DPath.java41 Path(long id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { in Path() argument
43 mVertexBuffer = vtx; in Path()
66 … public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { in createStaticPath() argument
67 long id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); in createStaticPath()
72 …public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, A… in createStaticPath() argument
76 …public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { in createDynamicPath() argument
80 … createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { in createDynamicPath() argument
DMesh.java351 long[] vtx = new long[mVertexTypeCount]; in create() local
368 vtx[ct] = alloc.getID(mRS); in create()
387 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
507 long[] vtx = new long[mVertexTypeCount]; in create() local
518 vtx[ct] = entry.a.getID(mRS); in create()
531 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
DRenderScript.java827 native long rsnMeshCreate(long con, long[] vtx, long[] idx, int[] prim); in rsnMeshCreate() argument
828 synchronized long nMeshCreate(long[] vtx, long[] idx, int[] prim) { in nMeshCreate() argument
830 return rsnMeshCreate(mContext, vtx, idx, prim); in nMeshCreate()
853 native long rsnPathCreate(long con, int prim, boolean isStatic, long vtx, long loop, float q); in rsnPathCreate() argument
854 synchronized long nPathCreate(int prim, boolean isStatic, long vtx, long loop, float q) { in nPathCreate() argument
856 return rsnPathCreate(mContext, prim, isStatic, vtx, loop, q); in nPathCreate()
/frameworks/rs/
DrsPath.cpp28 Allocation *vtx, Allocation *loops, float quality) in Path() argument
36 rsc->mHal.funcs.path.initStatic(rsc, this, vtx, loops); in Path()
74 RsAllocation vtx, RsAllocation loops, float quality) { in rsi_PathCreate() argument
75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality); in rsi_PathCreate()
DrsPath.h41 Path(Context *, RsPathPrimitive pp, bool isStatic, Allocation *vtx, Allocation *loop, float q);
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()
Drs_hal.h284 …bool (*initStatic)(const Context *rsc, const Path *m, const Allocation *vtx, const Allocation *loo…
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java304 private static void setQuad(FloatBuffer vtx, float x, float y, float w, float h) { in setQuad() argument
308 vtx.put(0, x); in setQuad()
309 vtx.put(1, y); in setQuad()
310 vtx.put(2, x); in setQuad()
311 vtx.put(3, y + h); in setQuad()
312 vtx.put(4, x + w); in setQuad()
313 vtx.put(5, y + h); in setQuad()
314 vtx.put(6, x + w); in setQuad()
315 vtx.put(7, y); in setQuad()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Dui_test.rs238 Particle_t *vtx = Particles;
241 vtx->position.x = vtx->position.x + gSpeed[i];
242 vtx++;
/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/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()