/frameworks/rs/driver/ |
D | rsdPath.cpp | 53 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, (uint32_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 …]
|
D | rsdShaderCache.cpp | 70 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 …]
|
D | rsdShaderCache.h | 100 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0), in ProgramEntry() 133 uint32_t vtx; member 145 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
|
D | rsdGL.cpp | 549 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in rsdGLDrawQuadTexCoords() local 553 attribs[0].set(GL_FLOAT, 3, 12, false, (uint32_t)vtx, "ATTRIB_position"); in rsdGLDrawQuadTexCoords()
|
D | rsdRuntimeStubs.cpp | 252 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in SC_DrawQuadTexCoords() local 256 attribs[0].set(GL_FLOAT, 3, 12, false, (uint32_t)vtx, "ATTRIB_position"); in SC_DrawQuadTexCoords()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Path.java | 44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { in Path() argument 46 mVertexBuffer = vtx; in Path() 69 … public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { in createStaticPath() argument 70 int id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); in createStaticPath() 75 …public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, A… in createStaticPath() argument 79 …public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { in createDynamicPath() argument 83 … createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { in createDynamicPath() argument
|
D | Mesh.java | 352 int[] vtx = new int[mVertexTypeCount]; in create() local 369 vtx[ct] = alloc.getID(mRS); in create() 388 int id = mRS.nMeshCreate(vtx, idx, prim); in create() 508 int[] vtx = new int[mVertexTypeCount]; in create() local 519 vtx[ct] = entry.a.getID(mRS); in create() 532 int id = mRS.nMeshCreate(vtx, idx, prim); in create()
|
D | RenderScript.java | 657 native int rsnMeshCreate(int con, int[] vtx, int[] idx, int[] prim); in rsnMeshCreate() argument 658 synchronized int nMeshCreate(int[] vtx, int[] idx, int[] prim) { in nMeshCreate() argument 660 return rsnMeshCreate(mContext, vtx, idx, prim); in nMeshCreate() 683 native int rsnPathCreate(int con, int prim, boolean isStatic, int vtx, int loop, float q); in rsnPathCreate() argument 684 synchronized int nPathCreate(int prim, boolean isStatic, int vtx, int loop, float q) { in nPathCreate() argument 686 return rsnPathCreate(mContext, prim, isStatic, vtx, loop, q); in nPathCreate()
|
/frameworks/rs/ |
D | rsPath.cpp | 28 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()
|
D | rsPath.h | 41 Path(Context *, RsPathPrimitive pp, bool isStatic, Allocation *vtx, Allocation *loop, float q);
|
D | rsMesh.cpp | 273 RsAllocation * vtx, size_t vtxCount, in rsi_MeshCreate() argument 281 sm->setVertexBuffer((Allocation*)vtx[i], i); in rsi_MeshCreate()
|
D | rs_hal.h | 250 …bool (*initStatic)(const Context *rsc, const Path *m, const Allocation *vtx, const Allocation *loo…
|
D | rs.spec | 470 param RsAllocation *vtx
|
/frameworks/base/services/java/com/android/server/power/ |
D | ElectronBeam.java | 341 private static void setVStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { in setVStretchQuad() argument 346 setQuad(vtx, x, y, w, h); in setVStretchQuad() 349 private static void setHStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { in setHStretchQuad() argument 354 setQuad(vtx, x, y, w, h); in setHStretchQuad() 357 private static void setQuad(FloatBuffer vtx, float x, float y, float w, float h) { in setQuad() argument 361 vtx.put(0, x); in setQuad() 362 vtx.put(1, y); in setQuad() 363 vtx.put(2, x); in setQuad() 364 vtx.put(3, y + h); in setQuad() 365 vtx.put(4, x + w); in setQuad() [all …]
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | ui_test.rs | 238 Particle_t *vtx = Particles; 241 vtx->position.x = vtx->position.x + gSpeed[i]; 242 vtx++;
|
/frameworks/native/opengl/tests/gl_perf/ |
D | fill_common.cpp | 159 static const float vtx[] = { in setupVA() local 185 glVertexAttribPointer(A_POS, 2, GL_FLOAT, false, 8, vtx); in setupVA()
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rs_hal.h | 249 …bool (*initStatic)(const Context *rsc, const Path *m, const Allocation *vtx, const Allocation *loo…
|
/frameworks/native/opengl/libagl/ |
D | primitives.cpp | 393 vertex_t* const vtx[3] = { v0, v1, v2 }; in fetch_texcoord_impl() local 401 vertex_t* const v = vtx[j]; in fetch_texcoord_impl()
|