/frameworks/rs/driver/ |
H A D | rsdPath.cpp | 53 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 D | rsdShaderCache.cpp | 70 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 D | rsdShaderCache.h | 104 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);
|
H A D | rsdGL.cpp | 540 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 D | rsdRuntimeStubs.cpp | 326 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");
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Path.java | 41 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 D | Mesh.java | 351 long[] vtx = new long[mVertexTypeCount]; 368 vtx[ct] = alloc.getID(mRS); 387 long id = mRS.nMeshCreate(vtx, idx, prim); 507 long[] vtx = new long[mVertexTypeCount]; 518 vtx[ct] = entry.a.getID(mRS); 531 long id = mRS.nMeshCreate(vtx, idx, prim);
|
H A D | RenderScript.java | 827 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/rs/ |
H A D | rsPath.cpp | 28 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
|
H A D | rsPath.h | 41 Path(Context *, RsPathPrimitive pp, bool isStatic, Allocation *vtx, Allocation *loop, float q);
|
H A D | rsg.spec | 73 param RsAllocation *vtx
|
H A D | rsMesh.cpp | 270 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 D | rs_hal.h | 284 bool (*initStatic)(const Context *rsc, const Path *m, const Allocation *vtx, const Allocation *loops);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 304 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/tests/gl_perf/ |
H A D | fill_common.cpp | 159 static const float vtx[] = { local 185 glVertexAttribPointer(A_POS, 2, GL_FLOAT, false, 8, vtx);
|
/frameworks/native/opengl/libagl/ |
H A D | primitives.cpp | 393 vertex_t* const vtx[3] = { v0, v1, v2 }; local 401 vertex_t* const v = vtx[j];
|