HomeSort by relevance Sort by last modified time
    Searched refs:verts (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /external/skia/samplecode/
vertexdump.cpp 10 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]);
12 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) {
13 verts[0].set(107, 189);
15 verts[1].set(116, 189);
17 verts[2].set(203, 189);
19 verts[3].set(212, 189);
21 verts[4].set(107, 198);
23 verts[5].set(116, 198);
25 verts[6].set(203, 198);
27 verts[7].set(212, 198)
    [all...]
  /external/opencv3/samples/python2/
stereo_match.py 24 def write_ply(fn, verts, colors):
25 verts = verts.reshape(-1, 3)
27 verts = np.hstack([verts, colors])
29 f.write(ply_header % dict(vert_num=len(verts)))
30 np.savetxt(f, verts, '%f %f %f %d %d %d')
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/mesa3d/src/gallium/auxiliary/draw/
draw_pt_decompose.h 2 char *verts = (char *) vertices; \
draw_pipe.c 178 verts + stride * (i0), \
179 verts + stride * (i1), \
180 verts + stride * (i2) ); \
187 verts + stride * (i0), \
188 verts + stride * (i1) ); \
193 do_point( draw, verts + stride * (i0) ); \
230 draw->pipeline.verts = (char *)vert_info->verts;
262 vert_info->verts,
268 draw->pipeline.verts = NULL
321 char *verts = ((char*)vert_info->verts) + local
    [all...]
draw_pipe_util.c 61 /* This is only used for temporary verts.
125 if (draw->pipeline.verts)
128 char *verts = draw->pipeline.verts; local
132 ((struct vertex_header *)verts)->vertex_id = UNDEFINED_VERTEX_ID;
133 verts += stride;
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...]
  /external/mesa3d/src/mesa/swrast_setup/
ss_context.h 39 SWvertex *verts; member in struct:__anon20431
ss_triangle.c 118 SWvertex *verts = swsetup->verts; local
119 SWvertex *v0 = &verts[e0];
120 SWvertex *v1 = &verts[e1];
121 SWvertex *v2 = &verts[e2];
216 SWvertex *verts = SWSETUP_CONTEXT(ctx)->verts; local
222 _swrast_Point( ctx, &verts[VB->Elts[i]] );
227 _swrast_Point( ctx, &verts[i] );
233 SWvertex *verts = SWSETUP_CONTEXT(ctx)->verts local
    [all...]
  /external/skia/src/gpu/batches/
GrAAConvexPathRenderer.cpp 356 QuadVertex* verts,
369 // Check whether adding the verts for this segment to the current draw would cause index
378 verts += *v;
386 verts[*v + 0].fPos = sega.endPt();
387 verts[*v + 1].fPos = verts[*v + 0].fPos + sega.endNorm();
388 verts[*v + 2].fPos = verts[*v + 0].fPos + segb.fMid;
389 verts[*v + 3].fPos = verts[*v + 0].fPos + segb.fNorms[0]
697 intptr_t verts = reinterpret_cast<intptr_t>(vertices); local
820 void* verts = target->makeVertexSpace(vertexStride, tess.numPts(), &vertexBuffer, local
907 QuadVertex* verts = reinterpret_cast<QuadVertex*>(target->makeVertexSpace( variable
    [all...]
GrNonAAStrokeRectBatch.cpp 19 could use an indices array, and then only send 8 verts, but not sure that
22 static void init_stroke_rect_strip(SkPoint verts[10], const SkRect& rect, SkScalar width) {
28 verts[0].set(rect.fLeft + rad, rect.fTop + rad);
29 verts[1].set(rect.fLeft - rad, rect.fTop - rad);
30 verts[2].set(rect.fRight - rad, rect.fTop + rad);
31 verts[3].set(rect.fRight + rad, rect.fTop - rad);
32 verts[4].set(rect.fRight - rad, rect.fBottom - rad);
33 verts[5].set(rect.fRight + rad, rect.fBottom + rad);
34 verts[6].set(rect.fLeft + rad, rect.fBottom - rad);
35 verts[7].set(rect.fLeft - rad, rect.fBottom + rad)
136 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, variable
    [all...]
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...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
Canvas_VertexModeTest.java 41 float[] verts = new float[10]; local
51 verts,
64 verts,
77 verts,
  /external/mesa3d/src/gallium/auxiliary/postprocess/
filters.h 41 unsigned int verts; /* How many are vertex shaders */ member in struct:pp_filter_t
49 /* name inner shaders verts init run */
pp_program.c 63 static const float verts[4][2][4] = { local
83 PIPE_USAGE_STATIC, sizeof(verts));
84 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(verts), verts);
  /external/skia/src/gpu/
GrTessellator.h 29 // for all three vertices of a triangle). The 'verts' out parameter is set to point to the resultant
32 WindingVertex** verts);
GrOvalRenderer.cpp 681 CircleVertex* verts = reinterpret_cast<CircleVertex*>(helper.init(target, vertexStride, variable
683 if (!verts) {
698 verts[0].fPos = SkPoint::Make(bounds.fLeft, bounds.fTop);
699 verts[0].fColor = color;
700 verts[0].fOffset = SkPoint::Make(-1, -1);
701 verts[0].fOuterRadius = outerRadius;
702 verts[0].fInnerRadius = innerRadius;
704 verts[1].fPos = SkPoint::Make(bounds.fLeft, bounds.fBottom);
705 verts[1].fColor = color;
706 verts[1].fOffset = SkPoint::Make(-1, 1)
894 EllipseVertex* verts = reinterpret_cast<EllipseVertex*>( variable
1144 DIEllipseVertex* verts = reinterpret_cast<DIEllipseVertex*>( variable
1437 CircleVertex* verts = reinterpret_cast<CircleVertex*>(helper.init(target, variable
1616 EllipseVertex* verts = reinterpret_cast<EllipseVertex*>( variable
    [all...]
  /external/mesa3d/src/mesa/drivers/common/
meta.c 1504 struct vertex verts[4]; local
1591 struct vertex verts[4]; local
1761 struct vertex verts[4]; local
1999 } verts[4]; local
2110 struct vertex verts[4]; local
2364 struct vertex verts[4]; local
2633 struct vertex verts[4]; local
3240 struct vertex verts[4]; local
3613 struct vertex verts[4]; local
3852 struct vertex verts[4]; local
    [all...]
  /external/opencv3/modules/viz/src/vtk/
vtkXYZReader.cpp 89 vtkSmartPointer<vtkCellArray> verts = vtkSmartPointer<vtkCellArray>::New(); local
97 verts->InsertNextCell(1, &id);
104 output->SetVerts(verts);
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_blit.c 282 float verts[12]; local
290 verts[0] = dst_x_offset;
291 verts[1] = dst_y_offset + reg_height;
292 verts[2] = texcoords[0];
293 verts[3] = texcoords[3];
295 verts[4] = dst_x_offset + reg_width;
296 verts[5] = dst_y_offset + reg_height;
297 verts[6] = texcoords[1];
298 verts[7] = texcoords[3];
300 verts[8] = dst_x_offset + reg_width
    [all...]
  /external/skia/include/utils/
SkBoundaryPatch.h 41 bool evalPatch(SkPoint verts[], int rows, int cols);
  /external/skia/src/utils/
SkNinePatch.cpp 74 static void fillRow(SkPoint verts[], SkPoint texs[],
79 verts->set(vx, vy); verts++;
89 verts->set(vx, vy); verts++;
92 verts->set(bounds.fRight, vy); verts++;
188 // number of celss * 2 (tris per cell) * 3 (verts per tri)
190 // allocate 2 times, one for verts, one for texs, plus indices
193 SkPoint* verts = (SkPoint*)storage.get() local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_blit.c 407 float verts[12]; local
415 verts[0] = dst_x_offset;
416 verts[1] = dst_y_offset + reg_height;
417 verts[2] = texcoords[0];
418 verts[3] = texcoords[3];
420 verts[4] = dst_x_offset + reg_width;
421 verts[5] = dst_y_offset + reg_height;
422 verts[6] = texcoords[1];
423 verts[7] = texcoords[3];
425 verts[8] = dst_x_offset + reg_width
    [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...]

Completed in 356 milliseconds

1 2 3 4 5