Searched defs:vertices (Results 76 - 95 of 95) sorted by relevance

1234

/external/deqp/modules/gles3/functional/
H A Des3fFragmentOutputTests.cpp397 static void renderFloatReference (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight, int numComponents, const float* vertices) argument
411 const Vec4 v00 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+0)*numComponents, numComponents);
412 const Vec4 v01 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+0)*numComponents, numComponents);
413 const Vec4 v10 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+1)*numComponents, numComponents);
414 const Vec4 v11 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+1)*numComponents, numComponents);
428 static void renderIntReference (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight, int numComponents, const int* vertices) argument
439 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents);
/external/deqp/modules/gles31/functional/
H A Des31fLayoutBindingTests.cpp390 const Vec3 vertices[] = local
415 gl.bufferData(GL_ARRAY_BUFFER, (DE_LENGTH_OF_ARRAY(vertices)*(glw::GLsizeiptr)sizeof(vertices[0])), &vertices[0], GL_STATIC_DRAW);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_blitter.c60 float vertices[4][2][4]; /**< {pos, color} or {pos, texcoord} */ member in struct:blitter_context_priv
283 ctx->vertices[i][0][3] = 1; /*v.w*/
503 ctx->vertices[0][0][0] = (float)x1 / ctx->dst_width * 2.0f - 1.0f; /*v0.x*/
504 ctx->vertices[0][0][1] = (float)y1 / ctx->dst_height * 2.0f - 1.0f; /*v0.y*/
506 ctx->vertices[1][0][0] = (float)x2 / ctx->dst_width * 2.0f - 1.0f; /*v1.x*/
507 ctx->vertices[1][0][1] = (float)y1 / ctx->dst_height * 2.0f - 1.0f; /*v1.y*/
509 ctx->vertices[2][0][0] = (float)x2 / ctx->dst_width * 2.0f - 1.0f; /*v2.x*/
510 ctx->vertices[2][0][1] = (float)y2 / ctx->dst_height * 2.0f - 1.0f; /*v2.y*/
512 ctx->vertices[3][0][0] = (float)x1 / ctx->dst_width * 2.0f - 1.0f; /*v3.x*/
513 ctx->vertices[
[all...]
H A Du_gen_mipmap.c74 struct pipe_resource *vbuf; /**< quad vertices */
77 float vertices[4][2][4]; /**< vertex/texcoords for quad */ member in struct:gen_mipmap_state
1314 ctx->vertices[i][0][2] = 0.0f; /* z */
1315 ctx->vertices[i][0][3] = 1.0f; /* w */
1316 ctx->vertices[i][1][3] = 1.0f; /* q */
1381 const unsigned max_slots = 4096 / sizeof ctx->vertices;
1392 max_slots * sizeof ctx->vertices);
1395 return ctx->vbuf_slot++ * sizeof ctx->vertices;
1407 ctx->vertices[0][0][0] = -1.0f; /*x*/
1408 ctx->vertices[
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Drenderer.c96 VGfloat vertices[4][2][4]; member in struct:renderer
510 r->vertices[0][0][0] = x0;
511 r->vertices[0][0][1] = y0;
512 r->vertices[0][0][2] = z;
514 r->vertices[1][0][0] = x1;
515 r->vertices[1][0][1] = y0;
516 r->vertices[1][0][2] = z;
518 r->vertices[2][0][0] = x1;
519 r->vertices[2][0][1] = y1;
520 r->vertices[
[all...]
/external/opencv/cxcore/src/
H A Dcxdatastructs.cpp2887 CvSet *vertices = 0; local
2896 CV_CALL( vertices = cvCreateSet( graph_type, header_size, vtx_size, storage ));
2900 graph = (CvGraph*)vertices;
2909 /* Remove all vertices and edges from a graph: */
3030 /* Find a graph edge given pointers to the ending vertices: */
3071 /* Find an edge in the graph given indices of the ending vertices: */
3097 /* Given two vertices, return the edge
3170 /* Given two vertices, return the edge
3202 /* Remove the graph edge connecting two given vertices: */
3267 /* Remove the graph edge connecting two given vertices
[all...]
/external/skia/src/gpu/
H A DGrAAConvexPathRenderer.cpp700 // extract the result vertices and indices from the GrAAConvexTessellator
702 void* vertices,
707 intptr_t verts = reinterpret_cast<intptr_t>(vertices);
831 SkDebugf("Could not allocate vertices\n");
921 SkDebugf("Could not allocate vertices\n");
937 GrVertices vertices; variable
941 vertices.initIndexed(kTriangles_GrPrimitiveType, vertexBuffer, indexBuffer,
943 batchTarget->draw(vertices);
701 extract_verts(const GrAAConvexTessellator& tess, void* vertices, size_t vertexStride, GrColor color, uint16_t* idxs, bool tweakAlphaForCoverage) argument
H A DGrAAHairLinePathRenderer.cpp41 // For: 6 vertices and 18 indices (for 6 triangles)
641 bool check_bounds(const SkMatrix& viewMatrix, const SkRect& devBounds, void* vertices, int vCount) argument
654 VertexType* verts = reinterpret_cast<VertexType*>(vertices);
879 SkDebugf("Could not allocate vertices\n");
890 GrVertices vertices; local
891 vertices.initInstanced(kTriangles_GrPrimitiveType, vertexBuffer, linesIndexBuffer,
894 batchTarget->draw(vertices);
907 void *vertices = batchTarget->makeVertSpace(vertexStride, vertexCount, local
910 if (!vertices || !quadsIndexBuffer) {
911 SkDebugf("Could not allocate vertices\
[all...]
H A DGrTessellatingPathRenderer.cpp29 * 2) Build a mesh of edges connecting the vertices (build_edges()).
30 * 3) Sort the vertices in Y (and secondarily in X) (merge_sort()).
31 * 4) Simplify the mesh by inserting new vertices at intersecting edges (simplify()).
36 * of vertices (and the necessity of inserting new vertices on intersection).
40 * left-to-right based on the point where both edges are active (when both top vertices
41 * have been seen, so the "lower" top vertex of the two). If the top vertices are equal
69 * Only type 2 vertices (see paper) require the O(N) lookups, and these are much less
73 * path bounds. When the path is taller than it is wide, we sort vertices based on increasing Y
151 Vertex* fPrev; // Linked list of contours, then Y-sorted vertices
997 merge_coincident_vertices(Vertex** vertices, Comparator& c, SkChunkAlloc& alloc) argument
1011 Vertex* vertices = NULL; local
1120 simplify(Vertex* vertices, Comparator& c, SkChunkAlloc& alloc) argument
1172 tessellate(Vertex* vertices, SkChunkAlloc& alloc) argument
1302 Vertex* vertices = build_edges(contours, contourCnt, c, alloc); local
1458 GrVertices vertices; variable
[all...]
H A DGrAtlasTextContext.cpp102 // We overallocate vertices in our textblobs based on the assumption that A8 has the greatest
1556 void* vertices = batchTarget->makeVertSpace(vertexStride, variable
1562 if (!vertices || !flushInfo.fVertexBuffer) {
1563 SkDebugf("Could not allocate vertices\n");
1567 unsigned char* currVertex = reinterpret_cast<unsigned char*>(vertices);
1718 // now copy all vertices
1867 GrVertices vertices; local
1869 vertices.initInstanced(kTriangles_GrPrimitiveType, flushInfo->fVertexBuffer,
1873 batchTarget->draw(vertices);
H A DGrContext.cpp474 SkDebugf("Could not allocate vertices\n");
496 GrVertices vertices; variable
497 vertices.init(primType, vertexBuffer, firstVertex, vertexCount);
498 batchTarget->draw(vertices);
524 unique vertices, but we repeat the last 2 to close up. Alternatively we
674 // hairline rects. We jam all the vertices to pixel centers to avoid this, but not when MSAA
817 SkDebugf("Could not allocate vertices\n");
859 GrVertices vertices; variable
861 vertices.initIndexed(this->primitiveType(), vertexBuffer, indexBuffer, firstVertex,
865 vertices
[all...]
H A DSkGpuDevice.cpp1770 int vertexCount, const SkPoint vertices[],
1877 vertices,
1769 drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/skia/src/gpu/effects/
H A DGrDashingEffect.cpp163 void setup_dashed_rect_common(const SkRect& rect, const SkMatrix& matrix, T* vertices, int idx, argument
170 vertices[idx].fDashPos = SkPoint::Make(startDashX , startDashY);
171 vertices[idx + 1].fDashPos = SkPoint::Make(startDashX, endDashY);
172 vertices[idx + 2].fDashPos = SkPoint::Make(endDashX, endDashY);
173 vertices[idx + 3].fDashPos = SkPoint::Make(endDashX, startDashY);
175 vertices[idx].fPos = SkPoint::Make(rect.fLeft, rect.fTop);
176 vertices[idx + 1].fPos = SkPoint::Make(rect.fLeft, rect.fBottom);
177 vertices[idx + 2].fPos = SkPoint::Make(rect.fRight, rect.fBottom);
178 vertices[idx + 3].fPos = SkPoint::Make(rect.fRight, rect.fTop);
180 matrix.mapPointsWithStride(&vertices[id
183 setup_dashed_rect(const SkRect& rect, void* vertices, int idx, const SkMatrix& matrix, SkScalar offset, SkScalar bloatX, SkScalar bloatY, SkScalar len, SkScalar stroke, SkScalar startInterval, SkScalar endInterval, SkScalar strokeWidth, DashCap cap, const size_t vertexStride) argument
540 void* vertices = helper.init(batchTarget, gp->getVertexStride(), totalRectCount); variable
[all...]
/external/skia/src/pipe/
H A DSkGPipeWrite.cpp282 const SkPoint vertices[], const SkPoint texs[],
1036 const SkPoint vertices[], const SkPoint texs[],
1052 size += vertexCount * sizeof(SkPoint); // vertices
1076 fWriter.write(vertices, vertexCount * sizeof(SkPoint));
1035 onDrawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xfer, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/skia/src/utils/
H A DSkDeferredCanvas.cpp966 const SkPoint vertices[],
972 this->drawingCanvas()->drawVertices(vmode, vertexCount, vertices, texs, colors, xmode,
965 onDrawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/skia/src/core/
H A DSkDraw.cpp1947 // as our interators are intrinsically tied to the vertices, and nothing else.
2024 const SkPoint vertices[], const SkPoint textures[],
2028 SkASSERT(0 == count || vertices);
2035 // transform out vertices into device coordinates
2038 fMatrix->mapPoints(devVerts, vertices, count);
2041 We can draw the vertices in 1 of 4 ways:
2100 if (texture_to_matrix(state, vertices, textures, &tempM)) {
2128 if (!triColorShaderContext->setup(vertices, colors,
2023 drawVertices(SkCanvas::VertexMode vmode, int count, const SkPoint vertices[], const SkPoint textures[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) const argument
H A DSkCanvas.cpp1726 void SkCanvas::drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], argument
1729 this->onDrawVertices(vmode, vertexCount, vertices, texs, colors, xmode,
/external/skia/src/gpu/gl/
H A DGrGLGpu.cpp1453 const GrNonInstancedVertices& vertices,
1456 vbuf = (GrGLVertexBuffer*) vertices.vertexBuffer();
1462 if (vertices.isIndexed()) {
1466 ibuf = (GrGLIndexBuffer*)vertices.indexBuffer();
1480 size_t vertexOffsetInBytes = stride * vertices.startVertex();
1896 void GrGLGpu::onDraw(const DrawArgs& args, const GrNonInstancedVertices& vertices) { argument
1902 this->setupGeometry(*args.fPrimitiveProcessor, vertices, &indexOffsetInBytes);
1904 SkASSERT((size_t)vertices.primitiveType() < SK_ARRAY_COUNT(gPrimitiveType2GLMode));
1906 if (vertices.isIndexed()) {
1909 vertices
1452 setupGeometry(const GrPrimitiveProcessor& primProc, const GrNonInstancedVertices& vertices, size_t* indexOffsetInBytes) argument
[all...]
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ...

Completed in 519 milliseconds

1234