Searched defs:vtx (Results 1 - 11 of 11) sorted by path

/frameworks/base/rs/java/android/renderscript/
H A DPath.java41 Path(long id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { argument
43 mVertexBuffer = vtx;
66 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument
67 long id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality);
72 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument
76 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument
80 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument
H A DRenderScript.java827 native long rsnMeshCreate(long con, long[] vtx, long[] idx, int[] prim); argument
828 synchronized long nMeshCreate(long[] vtx, long[] idx, int[] prim) { argument
830 return rsnMeshCreate(mContext, vtx, idx, prim);
853 native long rsnPathCreate(long con, int prim, boolean isStatic, long vtx, long loop, float q); argument
854 synchronized long nPathCreate(int prim, boolean isStatic, long vtx, long loop, float q) { argument
856 return rsnPathCreate(mContext, prim, isStatic, vtx, loop, q);
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java304 private static void setQuad(FloatBuffer vtx, float x, float y, float w, float h) { argument
308 vtx.put(0, x);
309 vtx.put(1, y);
310 vtx.put(2, x);
311 vtx.put(3, y + h);
312 vtx.put(4, x + w);
313 vtx.put(5, y + h);
314 vtx.put(6, x + w);
315 vtx.put(7, y);
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp393 vertex_t* const vtx[3] = { v0, v1, v2 }; local
401 vertex_t* const v = vtx[j];
/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/rs/driver/
H A DrsdPath.cpp53 DrvPathStatic(const Allocation *vtx, const Allocation *loops);
73 const Allocation *vtx, const Allocation *loops) {
77 DrvPathStatic *dps = new DrvPathStatic(vtx, loops);
112 DrvPathStatic::DrvPathStatic(const Allocation *vtx, const Allocation *loops) { argument
113 mSegmentCount = vtx->getType()->getDimX() / 3;
116 const float *fin = (const float *)vtx->getPtr();
140 float vtx[12]; local
153 attribs[0].set(GL_FLOAT, 2, 8, false, (size_t)vtx, "ATTRIB_position");
162 vtx[0] = s->x1;
163 vtx[
72 rsdPathInitStatic(const Context *rsc, const Path *m, const Allocation *vtx, const Allocation *loops) argument
[all...]
H A DrsdRuntimeStubs.cpp326 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; local
330 attribs[0].set(GL_FLOAT, 3, 12, false, (size_t)vtx, "ATTRIB_position");
H A DrsdShaderCache.cpp70 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { argument
72 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) {
109 RsdShader *vtx = mVertex; local
112 uint32_t vID = vtx->getStateBasedShaderID(rsc);
121 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) {
132 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(),
133 vtx->getUniformCount(),
137 e->vtx = vID;
172 e->vtxAttrs[ct].slot = glGetAttribLocation(pgm, vtx->getAttribName(ct));
173 e->vtxAttrs[ct].name = vtx
[all...]
H A DrsdShaderCache.h104 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0),
137 uint32_t vtx; member in struct:RsdShaderCache::ProgramEntry
149 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
/frameworks/rs/
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
H A DrsPath.cpp28 Allocation *vtx, Allocation *loops, float quality)
36 rsc->mHal.funcs.path.initStatic(rsc, this, vtx, loops);
74 RsAllocation vtx, RsAllocation loops, float quality) {
75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality);
27 Path(Context *rsc, RsPathPrimitive pp, bool isStatic, Allocation *vtx, Allocation *loops, float quality) argument
73 rsi_PathCreate(Context *rsc, RsPathPrimitive pp, bool isStatic, RsAllocation vtx, RsAllocation loops, float quality) argument

Completed in 596 milliseconds