/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | GeometryBinding.cpp | 45 float vertices[] = { -0.5f, 0.5f, 0.0f, 0.0f, 1.0f, local 55 GLC(m_context, m_context->bufferData(GraphicsContext3D::ARRAY_BUFFER, sizeof(vertices), vertices, GraphicsContext3D::STATIC_DRAW));
|
H A D | GLES2Canvas.cpp | 556 static void interpolateQuadratic(FloatPointVector* vertices, const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2) argument 561 vertices->append(c.evaluate(t)); 564 static void interpolateCubic(FloatPointVector* vertices, const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3) argument 569 vertices->append(c.evaluate(t)); 574 PolygonData(FloatPointVector* vertices, WTF::Vector<short>* indices) argument 575 : m_vertices(vertices) 677 FloatPointVector vertices; local 678 vertices.reserveInitialCapacity(inVertices.size()); 679 PolygonData data(&vertices, &indices); 687 vertices [all...] |
/external/jmonkeyengine/engine/src/bullet-native/ |
H A D | com_jme3_bullet_util_NativeMeshUtil.cpp | 52 float* vertices = (float*) env->GetDirectBufferAddress(vertexIndexBase); local 53 btTriangleIndexVertexArray* array = new btTriangleIndexVertexArray(numTriangles, triangles, triangleIndexStride, numVertices, vertices, vertexStride);
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
H A D | LoopBlinnPathCache.h | 53 // vertices in the mesh. 54 const float* vertices() const function in class:WebCore::LoopBlinnPathCache 64 // there are no vertices in the mesh. 81 // Base pointer to the interior vertices; two coordinates per 83 // are no interior vertices in the mesh. 97 // The number of interior edge vertices 99 // Base pointer to the interior vertices; two coordinates per 101 // no interior edge vertices in the mesh. 107 // The two-dimensional vertices of the triangle mesh.
|
H A D | SharedGraphicsContext3D.cpp | 349 float vertices[] = { 0.0f, 0.0f, local 355 m_context->bufferData(GraphicsContext3D::ARRAY_BUFFER, sizeof(vertices), vertices, GraphicsContext3D::STATIC_DRAW);
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
H A D | EmitterMeshVertexShape.java | 20 * This emiter shape emits the particles from the given shape's vertices 25 protected List<List<Vector3f>> vertices; field in class:EmitterMeshVertexShape 51 this.vertices = new ArrayList<List<Vector3f>>(meshes.size()); 70 // adding data to vertices and normals 71 List<Vector3f> vertices = new ArrayList<Vector3f>(vertToNormalMap.size()); 74 vertices.add(entry.getKey()); 77 this.vertices.add(vertices); 89 int meshIndex = FastMath.nextRandomInt(0, vertices.size() - 1); 90 int vertIndex = FastMath.nextRandomInt(0, vertices [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
H A D | MeshHelper.java | 116 // reading vertices
117 Vector3f[] vertices = this.getVertices(structure, blenderContext);
118 int verticesAmount = vertices.length;
120 // vertices Colors
157 // this map's key is the vertex index from 'vertices 'table and the value are indices from 'vertexList'
199 Vector3f n = FastMath.computeNormal(vertices[v1], vertices[v2], vertices[v3]);
200 this.addNormal(n, normalMap, smooth, vertices[v1], vertices[v 440 addNormal(Vector3f normalToAdd, Map<Vector3f, Vector3f> normalMap, boolean smooth, Vector3f... vertices) argument [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
H A D | DebugShapeFactory.java | 137 * Constructs the buffer for the vertices of the concave shape. 139 * @param concaveShape the shape to get the vertices for / from. 155 * @param convexShape the shape to retreieve the vertices from. 156 * @return the vertices as a FloatBuffer, ordered as Triangles. 176 // The number of bytes needed is: (floats in a vertex) * (vertices in a triangle) * (# of triangles) * (size of float in bytes) 178 FloatBuffer vertices = BufferUtils.createFloatBuffer(numberOfFloats); 181 vertices.limit(numberOfFloats); 196 vertices.put(vertexA.x).put(vertexA.y).put(vertexA.z); 197 vertices.put(vertexB.x).put(vertexB.y).put(vertexB.z); 198 vertices 215 private ArrayList<Vector3f> vertices; field in class:BufferedTriangleCallback [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
H A D | Surface.java | 88 Vector3f[] vertices = new Vector3f[(uSegments + 1) * (vSegments + 1)];
97 vertices[arrayIndex++] = interpolationResult;
120 Map<Vector3f, Vector3f> normalMap = new HashMap<Vector3f, Vector3f>(vertices.length);
122 Vector3f n = FastMath.computeNormal(vertices[indices[i]], vertices[indices[i + 1]], vertices[indices[i + 2]]);
123 this.addNormal(n, normalMap, smooth, vertices[indices[i]], vertices[indices[i + 1]], vertices[indices[i + 2]]);
125 //preparing normal list (the order of normals must match the order of vertices)
239 addNormal(Vector3f normalToAdd, Map<Vector3f, Vector3f> normalMap, boolean smooth, Vector3f... vertices) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
H A D | BufferUtils.java | 219 * @param vertices 220 * number of vertices that need to be held by the newly created 224 public static FloatBuffer createVector3Buffer(int vertices) { argument 225 FloatBuffer vBuff = createFloatBuffer(3 * vertices); 236 * @param vertices 237 * number of vertices that need to be held by the newly created 241 public static FloatBuffer createVector3Buffer(FloatBuffer buf, int vertices) { argument 242 if (buf != null && buf.limit() == 3 * vertices) { 247 return createFloatBuffer(3 * vertices); 475 * @param vertices 480 createVector2Buffer(int vertices) argument 497 createVector2Buffer(FloatBuffer buf, int vertices) argument [all...] |
H A D | TangentBinormalGenerator.java | 101 VertexData[] vertices = new VertexData[size]; 103 vertices[i] = new VertexData(); 105 return vertices; 143 VertexData[] vertices; 146 vertices = processTriangles(mesh, index, v, t); 149 vertices = processTriangleStrip(mesh, index, v, t); 152 vertices = processTriangleFan(mesh, index, v, t); 159 processTriangleData(mesh, vertices, approxTangents); 192 VertexData[] vertices = initVertexData(vertexBuffer.capacity() / 3); 203 vertices[inde 428 processTriangleData(Mesh mesh, VertexData[] vertices, boolean approxTangent) argument [all...] |
/external/skia/src/gpu/ |
H A D | GrBufferAllocPool.cpp | 398 const void* vertices, 404 vertices, 396 appendVertices(GrVertexLayout layout, int vertexCount, const void* vertices, const GrVertexBuffer** buffer, int* startVertex) argument
|
H A D | GrInOrderDrawBuffer.cpp | 92 GrPrintf("Failed to get space for vertices!\n"); 101 SetRectVertices(rect, &combinedMatrix, srcRects, srcMatrices, layout, geo.vertices()); 130 const GrPoint& p = *GetVertexPoint(geo.vertices(), v, stride); 453 void** vertices) { 456 GrAssert(NULL != vertices); 459 *vertices = fVertexPool.makeSpace(vertexLayout, 463 return NULL != *vertices; 451 onReserveVertexSpace(GrVertexLayout vertexLayout, int vertexCount, void** vertices) argument
|
H A D | GrGpu.cpp | 336 GrCrash("Can't get vertices into buffer!"); 854 void** vertices) { 858 GrAssert(NULL != vertices); 862 *vertices = fVertexPool->makeSpace(vertexLayout, 866 if (NULL == *vertices) { 852 onReserveVertexSpace(GrVertexLayout vertexLayout, int vertexCount, void** vertices) argument
|
H A D | GrTesselatedPathRenderer.cpp | 91 const GrPointArray& vertices() const { return fVertices; } function in class:GrTess 308 GrPoint* vertices, 315 matrix.mapPoints(vertices, numVertices); 317 sign = isCCW(vertices, numVertices) ? -1.0f : 1.0f; 319 GrPoint p = sanitizePoint(vertices[numVertices - 1]); 321 GrPoint q = sanitizePoint(vertices[i]); 339 vertices[i].fX -= edge.fX * 0.5f; 340 vertices[i].fY -= edge.fY * 0.5f; 342 vertices[i] = prev_edge.intersect(edge); 344 inverse.mapPoints(&vertices[ 306 computeEdgesAndIntersect(const GrMatrix& matrix, const GrMatrix& inverse, GrPoint* vertices, size_t numVertices, GrEdgeArray* edges, float sign) argument 546 const GrPointArray& vertices = ptess.vertices(); local 589 const GrPointArray& vertices = ptess.vertices(); local [all...] |
/external/skia/src/utils/ |
H A D | SkProxyCanvas.cpp | 137 const SkPoint vertices[], const SkPoint texs[], 141 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors, 136 drawVertices(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
|
H A D | SkNWayCanvas.cpp | 263 const SkPoint vertices[], const SkPoint texs[], 269 iter->drawVertices(vmode, vertexCount, vertices, texs, colors, xmode, 262 drawVertices(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
|
H A D | SkDeferredCanvas.cpp | 413 const SkPoint vertices[], 419 vertices, texs, 412 drawVertices(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
|
H A D | SkDumpCanvas.cpp | 378 const SkPoint vertices[], const SkPoint texs[], 383 toString(vmode), vertexCount, SkScalarToFloat(vertices[0].fX), 384 SkScalarToFloat(vertices[0].fY)); 377 drawVertices(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/webkit/Source/WebCore/platform/graphics/android/context/ |
H A D | RecordingContextCanvasProxy.h | 89 const SkPoint vertices[], const SkPoint texs[], 88 drawVertices(VertexMode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode*, const uint16_t indices[], int indexCount, const SkPaint&) argument
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | InstrumentedPlatformCanvas.h | 270 const SkPoint vertices[], const SkPoint texs[], 276 SkCanvas::drawVertices(mode, vertexCount, vertices, texs, 269 drawVertices(VertexMode mode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xfermode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
|
/external/skia/src/core/ |
H A D | SkConcaveToTriangles.cpp | 17 // No new vertices are created in the triangulation: triangles are constructed 24 // unfortunately introduces T-vertices. Make it robust without T-vertices. 169 // The next and previous vertices around the polygon. 682 DebugPrintf("Zeroing vertices\n"); 685 // Initialize vertices. 686 DebugPrintf("Initializing vertices\n"); 824 DebugPrintf("Counting vertices: "); 846 static void PrintLinkedVertices(size_t n, Vertex *vertices) { argument 847 DebugPrintf("%d vertices 952 SkTDArray<Vertex> vertices; local [all...] |
H A D | SkPictureRecord.cpp | 447 const SkPoint vertices[], const SkPoint texs[], 467 addPoints(vertices, vertexCount); 446 drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode*, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
|
H A D | SkDraw.cpp | 2291 const SkPoint vertices[], const SkPoint textures[], 2295 SkASSERT(0 == count || NULL != vertices); 2302 // transform out vertices into device coordinates 2305 fMatrix->mapPoints(devVerts, vertices, count); 2316 We can draw the vertices in 1 of 4 ways: 2378 if (texture_to_matrix(state, vertices, textures, &tempM)) { 2390 if (!triShader.setup(vertices, colors, 2290 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
|
/external/opencv/cxcore/src/ |
H A D | cxdatastructs.cpp | 2887 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...] |