HomeSort by relevance Sort by last modified time
    Searched refs:verts (Results 26 - 50 of 117) sorted by null

12 3 4 5

  /external/opencv3/samples/python2/
plane_ar.py 92 verts = ar_verts * [(x1-x0), (y1-y0), -(x1-x0)*0.3] + (x0, y0, 0)
93 verts = cv2.projectPoints(verts, rvec, tvec, K, dist_coef)[0].reshape(-1, 2)
95 (x0, y0), (x1, y1) = verts[i], verts[j]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
SoftBodyTest.java 106 final float[] verts = new float[vertCount * vertSize]; local
109 mesh.getVertices(verts);
111 verts[i * vertSize + normalOffset] = 0f;
112 verts[i * vertSize + normalOffset + 1] = 1f;
113 verts[i * vertSize + normalOffset + 2] = 0f;
114 verts[i * vertSize + uvOffset] = (verts[i * vertSize] - x0) / (x1 - x0);
115 verts[i * vertSize + uvOffset + 1] = (verts[i * vertSize + 2] - z0) / (z1 - z0);
117 mesh.setVertices(verts);
    [all...]
  /external/skia/src/gpu/batches/
GrAAStrokeRectBatch.cpp 384 intptr_t verts = reinterpret_cast<intptr_t>(vertices) + offset; local
389 SkPoint* fan0Pos = reinterpret_cast<SkPoint*>(verts);
390 SkPoint* fan1Pos = reinterpret_cast<SkPoint*>(verts + outerVertexNum * vertexStride);
391 SkPoint* fan2Pos = reinterpret_cast<SkPoint*>(verts + 2 * outerVertexNum * vertexStride);
392 SkPoint* fan3Pos = reinterpret_cast<SkPoint*>(verts +
448 SkPoint* fan0AssistPos = reinterpret_cast<SkPoint*>(verts + 4 * vertexStride);
449 SkPoint* fan1AssistPos = reinterpret_cast<SkPoint*>(verts +
475 // Make verts point to vertex color and then set all the color and coverage vertex attrs
477 verts += sizeof(SkPoint);
480 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = 0
    [all...]
GrAAFillRectBatch.cpp 76 static void generate_aa_fill_rect_geometry(intptr_t verts,
84 SkPoint* fan0Pos = reinterpret_cast<SkPoint*>(verts);
85 SkPoint* fan1Pos = reinterpret_cast<SkPoint*>(verts + 4 * vertexStride);
139 SkPoint* fan0Loc = reinterpret_cast<SkPoint*>(verts + sizeof(SkPoint) + sizeof(GrColor));
145 // Make verts point to vertex color and then set all the color and coverage vertex attrs
147 verts += sizeof(SkPoint);
153 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = 0;
155 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color;
156 *reinterpret_cast<float*>(verts + i * vertexStride + coverageOffset) = 0;
168 verts += 4 * vertexStride
    [all...]
GrDrawVerticesBatch.cpp 112 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); local
114 if (!verts) {
145 *((SkPoint*)verts) = args.fPositions[j];
147 *(GrColor*)((intptr_t)verts + colorOffset) = args.fColor;
149 *(GrColor*)((intptr_t)verts + colorOffset) = args.fColors[j];
152 *(SkPoint*)((intptr_t)verts + texOffset) = args.fLocalCoords[j];
154 verts = (void*)((intptr_t)verts + vertexStride);
GrAALinearizingConvexPathRenderer.cpp 70 intptr_t verts = reinterpret_cast<intptr_t>(vertices); local
73 *((SkPoint*)((intptr_t)verts + i * vertexStride)) = tess.point(i);
76 // Make 'verts' point to the colors
77 verts += sizeof(SkPoint);
83 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = scaledColor;
85 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color;
86 *reinterpret_cast<float*>(verts + i * vertexStride + sizeof(GrColor)) =
170 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, local
172 if (!verts) {
176 memcpy(verts, vertices, vertexCount * vertexStride)
    [all...]
GrNinePatch.cpp 111 intptr_t verts = reinterpret_cast<intptr_t>(vertices) + variable
119 SkPoint* positions = reinterpret_cast<SkPoint*>(verts);
129 SkPoint* coords = reinterpret_cast<SkPoint*>(verts + kLocalOffset);
133 GrColor* vertColor = reinterpret_cast<GrColor*>(verts + kColorOffset);
138 verts += kVertsPerRect * vertexStride;
GrAAHairLinePathRenderer.cpp 209 // trade off of fill vs cpu time on verts
443 static void set_uv_quad(const SkPoint qpts[3], BezierVertex verts[kQuadNumVertices]) {
446 DevToUV.apply<kQuadNumVertices, sizeof(BezierVertex), sizeof(SkPoint)>(verts);
450 const SkMatrix* toSrc, BezierVertex verts[kQuadNumVertices]) {
474 BezierVertex& a0 = verts[0];
475 BezierVertex& a1 = verts[1];
476 BezierVertex& b0 = verts[2];
477 BezierVertex& c0 = verts[3];
478 BezierVertex& c1 = verts[4];
517 toSrc->mapPointsWithStride(&verts[0].fPos, sizeof(BezierVertex), kQuadNumVertices)
647 VertexType* verts = reinterpret_cast<VertexType*>(vertices); local
870 LineVertex* verts = reinterpret_cast<LineVertex*>( local
    [all...]
GrTInstanceBatch.h 116 intptr_t verts = reinterpret_cast<intptr_t>(vertices) + variable
118 Impl::Tesselate(verts, vertexStride, fGeoData[i], fOverrides);
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_pt_fetch_shade_pipeline.c 186 output_verts->verts =
191 (const float (*)[4])input_verts->verts->data,
192 ( float (*)[4])output_verts->verts->data,
218 fetched_vert_info.verts =
221 if (!fetched_vert_info.verts) {
228 fetch( fpme->fetch, fetch_info, (char *)fetched_vert_info.verts );
236 * the pipeline verts.
245 FREE(vert_info->verts);
258 FREE(vert_info->verts);
291 FREE(vert_info->verts);
    [all...]
draw_pt.h 204 char *verts );
209 char *verts );
draw_pt_fetch.c 153 char *verts)
172 verts );
180 char *verts)
199 verts );
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/
Mesh.java 552 final FloatBuffer verts = vertices.getBuffer(); local
562 bbox.ext(verts.get(idx), 0, 0);
568 bbox.ext(verts.get(idx), verts.get(idx + 1), 0);
574 bbox.ext(verts.get(idx), verts.get(idx + 1), verts.get(idx + 2));
622 final FloatBuffer verts = vertices.getBuffer(); local
634 tmpV.set(verts.get(idx), 0, 0);
641 tmpV.set(verts.get(idx), 0, 0);
697 final FloatBuffer verts = vertices.getBuffer(); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
Wedge.java 32 private final static int VERTS = 6;
48 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 6 * 4);
52 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4);
56 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 8 * 2);
65 float[] verts = { local
74 coords = verts.clone();
76 float[] verts = { local
85 coords = verts.clone();
88 for (int i = 0; i < VERTS; i++) {
94 for (int i = 0; i < VERTS; i++)
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
btConvexHull.h 212 int calchull(btVector3 *verts,int verts_count, TUIntArray& tris_out, int &tris_count,int vlimit);
214 int calchullgen(btVector3 *verts,int verts_count, int vlimit);
216 int4 FindSimplex(btVector3 *verts,int verts_count,btAlignedObjectArray<int> &allow);
228 void BringOutYourDead(const btVector3* verts,unsigned int vcount, btVector3* overts,unsigned int &ocount,unsigned int* indices,unsigned indexcount);
  /external/mesa3d/src/gallium/auxiliary/postprocess/
postprocess.h 60 unsigned int *verts; member in struct:pp_queue_t
  /external/skia/include/utils/
SkMeshUtils.h 46 const SkPoint verts[], const SkColor colors[],
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
MultipleRenderTargetTest.java 294 float[] verts = new float[20]; local
297 verts[i++] = -1;
298 verts[i++] = -1;
299 verts[i++] = 0;
300 verts[i++] = 0f;
301 verts[i++] = 0f;
303 verts[i++] = 1f;
304 verts[i++] = -1;
305 verts[i++] = 0;
306 verts[i++] = 1f
    [all...]
  /external/skia/gm/
beziereffects.cpp 78 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(target, vertexStride, 1)); variable
79 if (!verts) {
83 verts[0].fPosition.setRectFan(fGeometry.fBounds.fLeft, fGeometry.fBounds.fTop,
87 verts[v].fKLM[0] = eval_line(verts[v].fPosition, fKlmEqs + 0, fSign);
88 verts[v].fKLM[1] = eval_line(verts[v].fPosition, fKlmEqs + 3, fSign);
89 verts[v].fKLM[2] = eval_line(verts[v].fPosition, fKlmEqs + 6, 1.f);
465 Vertex* verts = reinterpret_cast<Vertex*>(helper.init(target, vertexStride, 1)) variable
    [all...]
  /external/mesa3d/src/mesa/tnl_dd/
t_dd_vb.c 52 GLubyte *verts = GET_VERTEX_STORE(); local
54 GLuint *dst = (GLuint *)(verts + (edst * size));
55 GLuint *src = (GLuint *)(verts + (esrc * size));
63 GLubyte *verts = GET_VERTEX_STORE(); local
65 GLuint *dst = (GLuint *)(verts + (edst * size));
66 GLuint *src = (GLuint *)(verts + (esrc * size));
73 GLubyte *verts = GET_VERTEX_STORE(); local
75 GLuint *dst = (GLuint *)(verts + (edst * size));
76 GLuint *src = (GLuint *)(verts + (esrc * size));
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/
ObjLoader.java 80 final FloatArray verts = new FloatArray(300); field in class:ObjLoader
130 verts.add(Float.parseFloat(tokens[1]));
131 verts.add(Float.parseFloat(tokens[2]));
132 verts.add(Float.parseFloat(tokens[3]));
146 faces.add(getIndex(parts[0], verts.size));
156 faces.add(getIndex(parts[0], verts.size));
160 faces.add(getIndex(parts[0], verts.size));
216 finalVerts[vi++] = verts.get(vertIndex++);
217 finalVerts[vi++] = verts.get(vertIndex++);
218 finalVerts[vi++] = verts.get(vertIndex)
    [all...]
  /external/skia/src/utils/
SkBoundaryPatch.cpp 44 bool SkBoundaryPatch::evalPatch(SkPoint verts[], int rows, int cols) {
55 *verts++ = this->eval(x * invR, yy);
SkMeshUtils.cpp 89 int rows, int cols, const SkPoint verts[],
99 rows * cols, verts, idx.tex(), colors, nullptr,
  /external/mesa3d/src/mesa/state_tracker/
st_cb_drawpixels.c 572 GLfloat (*verts)[3][4]; /* four verts, three attribs, XYZW */
576 if (u_upload_alloc(st->uploader, 0, 4 * sizeof(verts[0]), &offset,
577 &buf, (void **) &verts) != PIPE_OK) {
596 verts[0][0][0] = clip_x0; /* v[0].attr[0].x */
597 verts[0][0][1] = clip_y0; /* v[0].attr[0].y */
600 verts[1][0][0] = clip_x1;
601 verts[1][0][1] = clip_y0;
604 verts[2][0][0] = clip_x1;
605 verts[2][0][1] = clip_y1
    [all...]
  /external/skia/src/gpu/effects/
GrDashingEffect.cpp 194 DashCircleVertex* verts = reinterpret_cast<DashCircleVertex*>(vertices); local
196 setup_dashed_rect_common<DashCircleVertex>(rect, matrix, verts, idx, offset, bloatX,
203 verts[idx + i].fIntervalLength = intervalLength;
204 verts[idx + i].fRadius = radius;
205 verts[idx + i].fCenterX = centerX;
210 DashLineVertex* verts = reinterpret_cast<DashLineVertex*>(vertices); local
212 setup_dashed_rect_common<DashLineVertex>(rect, matrix, verts, idx, offset, bloatX,
221 verts[idx + i].fIntervalLength = intervalLength;
222 verts[idx + i].fRect = rectParam;
228 SkPoint* verts) {
589 SkPoint* verts = reinterpret_cast<SkPoint*>(vertices); variable
606 SkPoint* verts = reinterpret_cast<SkPoint*>(vertices); variable
623 SkPoint* verts = reinterpret_cast<SkPoint*>(vertices); variable
    [all...]

Completed in 1930 milliseconds

12 3 4 5