/frameworks/rs/driver/ |
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) { 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, (uint32_t)vtx, "ATTRIB_position"); 162 vtx[0] = s->x1; 163 vtx[1] = s->y1 [all...] |
rsdShaderCache.cpp | 70 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { 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->getAttribName(ct).string() [all...] |
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);
|
rsdGL.cpp | 547 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; 551 attribs[0].set(GL_FLOAT, 3, 12, false, (uint32_t)vtx, "ATTRIB_position");
|
/frameworks/base/graphics/java/android/renderscript/ |
Path.java | 44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { 46 mVertexBuffer = vtx; 69 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { 70 int id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); 75 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { 79 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { 83 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
|
Mesh.java | 353 int[] vtx = new int[mVertexTypeCount]; local 370 vtx[ct] = alloc.getID(mRS); 389 int id = mRS.nMeshCreate(vtx, idx, prim); 509 int[] vtx = new int[mVertexTypeCount]; local 520 vtx[ct] = entry.a.getID(mRS); 533 int id = mRS.nMeshCreate(vtx, idx, prim);
|
RenderScript.java | [all...] |
/frameworks/rs/ |
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);
|
rsPath.h | 41 Path(Context *, RsPathPrimitive pp, bool isStatic, Allocation *vtx, Allocation *loop, float q);
|
rsg.spec | 73 param RsAllocation *vtx
|
rsMesh.cpp | 273 RsAllocation * vtx, size_t vtxCount, 281 sm->setVertexBuffer((Allocation*)vtx[i], i);
|
rs_hal.h | 255 bool (*initStatic)(const Context *rsc, const Path *m, const Allocation *vtx, const Allocation *loops);
|
/frameworks/base/services/java/com/android/server/power/ |
ElectronBeam.java | 349 private static void setVStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { 354 setQuad(vtx, x, y, w, h); 357 private static void setHStretchQuad(FloatBuffer vtx, float dw, float dh, float a) { 362 setQuad(vtx, x, y, w, h); 365 private static void setQuad(FloatBuffer vtx, float x, float y, float w, float h) { 369 vtx.put(0, x); 370 vtx.put(1, y); 371 vtx.put(2, x); 372 vtx.put(3, y + h); 373 vtx.put(4, x + w) [all...] |
/external/opencv/cxcore/src/ |
cxdatastructs.cpp | 2998 CvGraphVtx *vtx = 0; local 3349 CvGraphVtx* vtx; member in struct:CvGraphItem 3526 CvGraphVtx* vtx; local 3718 CvGraphVtx* vtx = (CvGraphVtx*)reader.ptr; local 3750 CvGraphVtx* vtx = (CvGraphVtx*)reader.ptr; local [all...] |
cxdrawing.cpp | 944 CvSeq vtx; 952 v, count, &vtx, &block )); 954 CV_CALL( icvCollectPolyEdges( img, &vtx, edges, color, line_type, XY_SHIFT )); [all...] |
cxpersistence.cpp | 4513 CvGraphVtx* vtx = (CvGraphVtx*)reader.ptr; local 4765 CvGraphVtx* vtx; local [all...] |
/external/eigen/unsupported/test/ |
openglsupport.cpp | 72 GLint createShader(const char* vtx, const char* frg) 79 glShaderSource(vtx_id, 1, &vtx, 0); 84 std::cerr << "vtx compilation failed\n"; 219 const char* vtx = "void main(void) { gl_Position = gl_Vertex; }\n"; local 236 GLint prg_id = createShader(vtx,frg); 264 GLint prg_id = createShader(vtx,frg); 294 GLint prg_id = createShader(vtx,frg); 319 GLint prg_id = createShader(vtx,frg);
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
SkeletonControl.java | 345 float vtx = posBuf[idxPositions++]; local 357 rx += (mat.m00 * vtx + mat.m01 * vty + mat.m02 * vtz + mat.m03) * weight; 358 ry += (mat.m10 * vtx + mat.m11 * vty + mat.m12 * vtz + mat.m13) * weight; 359 rz += (mat.m20 * vtx + mat.m21 * vty + mat.m22 * vtz + mat.m23) * weight; 460 float vtx = posBuf[idxPositions++]; local 479 rx += (mat.m00 * vtx + mat.m01 * vty + mat.m02 * vtz + mat.m03) * weight; 480 ry += (mat.m10 * vtx + mat.m11 * vty + mat.m12 * vtz + mat.m13) * weight; 481 rz += (mat.m20 * vtx + mat.m21 * vty + mat.m22 * vtz + mat.m23) * weight;
|
/external/opencv/cvaux/src/ |
enmin.cpp | 77 CvGraphVtx vtx; 408 int tempVtxIdx = cvGraphVtxIdx( graph, graphEdge -> vtx[1] ); 450 int tempVtxIdx = cvGraphVtxIdx( graph, graphEdge -> vtx[1] ); 454 tempVtxIdx = cvGraphVtxIdx( graph, graphEdge -> vtx[0] ); 559 hlpGraphEdge -> vtx[1] ); 583 hlpGraphEdge -> vtx[1] ); 631 CvGraphVtx* hlpGraphVtx2 = hlpGraphEdge -> vtx[ 1 ]; 639 CvGraphVtx* hlpGraphVtx3 = hlpGraphEdge -> vtx[0]; 658 CvGraphVtx* hlpGraphVtx3 = hlpGraphEdge -> vtx[1]; 740 hlpGraphVtx2 = hlpGraphEdge -> vtx[ 1 ] [all...] |
cvclique.cpp | 85 assert(edge->vtx[0]==vertex||edge->vtx[1] == vertex ), \ 86 (edge->vtx[0] == vertex)?edge->vtx[1]:edge->vtx[0] \
|
cvlcm.cpp | 601 pLCMEdge->vtx[0] = pLCMEdge->vtx[1] = NULL; 620 LCMEdge->vtx[i] = (CvGraphVtx*)LCMNode; 625 LCMEdge_prev->next[(LCMEdge_prev->vtx[0] != (CvGraphVtx*)LCMNode)] = (CvGraphEdge*)LCMEdge;
|
/frameworks/native/opengl/tests/gl_perf/ |
fill_common.cpp | 159 static const float vtx[] = { local 185 glVertexAttribPointer(A_POS, 2, GL_FLOAT, false, 8, vtx);
|
/external/opencv/cxcore/include/ |
cxcore.h | 1241 CvGraphVtx* vtx; \/* current graph vertex (or current edge origin) *\/ member in struct:CvGraphScanner [all...] |
cxtypes.h | [all...] |
/external/opencv/cv/src/ |
cvstereogc.cpp | 134 static int64 icvGCMaxFlow( GCVtx* vtx, int nvtx, GCEdge* edges, GCVtx**& _orphans, int& _maxOrphans ) 148 GCVtx* v = vtx + i; 612 static inline int icvAddTWeights( GCVtx* vtx, int sourceWeight, int sinkWeight ) 614 int w = vtx->weight; 619 vtx->weight = (short)(sourceWeight - sinkWeight);
|