/frameworks/native/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 151 const GLfloat vertices[] = { local 166 glVertexPointer(3, GL_FLOAT, 0, vertices);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
RotationVectorDemo.java | 163 final float vertices[] = { local 186 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); 189 mVertexBuffer.put(vertices);
|
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 165 float vertices[] = { local 188 vbb = ByteBuffer.allocateDirect(vertices.length*4); 191 mVertexBuffer.put(vertices);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Surface.java | 88 Vector3f[] vertices = new Vector3f[(uSegments + 1) * (vSegments + 1)];
local 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)
[all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
SharedGraphicsContext3D.cpp | 349 float vertices[] = { 0.0f, 0.0f, local 355 m_context->bufferData(GraphicsContext3D::ARRAY_BUFFER, sizeof(vertices), vertices, GraphicsContext3D::STATIC_DRAW);
|
/frameworks/base/libs/hwui/ |
Matrix.cpp | 421 float vertices[] = { local 431 float px = vertices[i]; 432 float py = vertices[i + 1]; 439 vertices[i] = x * z; 440 vertices[i + 1] = y * z; 443 r.left = r.right = vertices[0]; 444 r.top = r.bottom = vertices[1]; 447 x = vertices[i]; 448 y = vertices[i + 1];
|
DisplayListOp.h | 749 TextureVertex vertices[6 * ops.size()]; local 750 TextureVertex* vertex = &vertices[0]; 769 return renderer.drawBitmaps(mBitmap, ops.size(), &vertices[0], bounds, mPaint); 876 float* vertices, int* colors, SkPaint* paint) 877 : DrawBoundedOp(vertices, 2 * (meshWidth + 1) * (meshHeight + 1), paint), 879 mVertices(vertices), mColors(colors) {} [all...] |
OpenGLRenderer.cpp | 2391 void* vertices = vertexBuffer.getBuffer(); local [all...] |
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 232 const GLfloat vertices[] = {
local 253 glVertexPointer(3, GL_FLOAT, 0, vertices);
|
/external/ceres-solver/internal/ceres/ |
visibility_based_preconditioner.cc | 172 // vertices and approximating it with a degree-2 maximum spanning 507 const HashSet<int>& vertices = forest.vertices(); local 508 CHECK_EQ(vertices.size(), num_clusters_); 512 for (HashSet<int>::const_iterator it1 = vertices.begin(); 513 it1 != vertices.end(); 544 // Construct a graph whose vertices are the clusters, and the edge 546 // vertices. 577 // Canonical views clustering returns a HashMap from vertices to 579 // possible that some of the vertices may not be associated with an [all...] |
/external/skia/legacy/src/core/ |
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. 606 DebugPrintf("\nSorted Vertices:\n"); 682 DebugPrintf("Zeroing vertices\n"); 685 // Initialize vertices. 686 DebugPrintf("Initializing vertices\n"); 824 DebugPrintf("Counting vertices: "); 830 FailureMessage("Vertices do not seem to be in a linked chain\n") 952 SkTDArray<Vertex> vertices; local [all...] |
/external/skia/src/gpu/ |
GrDrawTarget.h | 173 * There are three types of "sources" of geometry (vertices and indices) for 175 * indices and vertices can use different source types. Once a source is 217 * Reserves space for vertices and/or indices. Zero can be specifed as 219 * space for only indices or only vertices. If zero is specifed for 223 * If the function returns true then the reserve suceeded and the vertices 230 * The pointers to the space allocated for vertices and indices remain valid 235 * @param vertexLayout the format of vertices (ignored if vertexCount == 0). 236 * @param vertexCount the number of vertices to reserve space for. Can be 239 * @param vertices will point to reserved vertex space if vertexCount is 247 void** vertices, 570 void* vertices() const { GrAssert(this->succeeded()); return fVertices; } function in class:GrDrawTarget::AutoReleaseGeometry [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
PlanetsRenderer.java | 94 * x (numSlices x 1) much of vertices 398 FloatBuffer vertices = mSpheres[i].getVertices(); local 399 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, vertices.limit() 400 * Sphere.FLOAT_SIZE, vertices, GLES20.GL_STATIC_DRAW);
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
demo.c | 116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, 123 result->count = vertices; 125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * 127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); 130 result->normalArray = (GLfixed *)malloc(vertices * 3 * 207 const long vertices = triangleCount * 3; local 213 result = newGLObject(vertices, 3, 1); 338 // Set number of vertices in object to the actual amount created. 351 const long vertices = triangleCount * 3; local 356 result = newGLObject(vertices, 2, 0) [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/ |
CurvesHelper.java | 420 float[] vertices = BufferUtils.getFloatArray(positions);
local 454 //these vertices need to be thrown on XY plane
456 Vector3f[] verts = new Vector3f[vertices.length / 3];
458 temp[0] = vertices[j * 3] * taperScale;
459 temp[1] = vertices[j * 3 + 1] * taperScale;
478 //(which is less by 1 than its number of vertices)
480 //and multiplied by the amount of bevel curve repeats which is equal to the amount of vertices on the target curve
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
MeshHelper.java | 116 // reading vertices
117 Vector3f[] vertices = this.getVertices(structure, blenderContext);
local 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[v2], vertices[v3]); 515 Vector3f[] vertices = new Vector3f[verticesAmount]; local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
TangentBinormalGenerator.java | 101 VertexData[] vertices = new VertexData[size]; local 103 vertices[i] = new VertexData(); 105 return vertices; 143 VertexData[] vertices; local 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); local 203 vertices[index[0]].triangles.add(triData) 218 VertexData[] vertices = initVertexData(vertexBuffer.capacity() \/ 3); local 266 VertexData[] vertices = initVertexData(vertexBuffer.capacity() \/ 3); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
GLES2Canvas.cpp | 556 static void interpolateQuadratic(FloatPointVector* vertices, const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2) 561 vertices->append(c.evaluate(t)); 564 static void interpolateCubic(FloatPointVector* vertices, const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3) 569 vertices->append(c.evaluate(t)); 574 PolygonData(FloatPointVector* vertices, WTF::Vector<short>* indices) 575 : m_vertices(vertices) 677 FloatPointVector vertices; local 678 vertices.reserveInitialCapacity(inVertices.size()); 679 PolygonData data(&vertices, &indices); 687 vertices.append(FloatPoint(inVertex[0], inVertex[1])) [all...] |
/frameworks/native/libs/gui/tests/ |
SurfaceTexture_test.cpp | 462 GLfloat vertices[][2] = { {i*16.0f, 0}, {(i+1)*16.0f, 0}, {(i+1)*16.0f, 16.0f}, {i*16.0f, 16.0f} }; local 463 glVertexPointer(2, GL_FLOAT, 0, vertices); [all...] |
/frameworks/native/opengl/tests/angeles/ |
demo.c | 116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, 123 result->count = vertices; 125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * 127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); 130 result->normalArray = (GLfixed *)malloc(vertices * 3 * 207 const long vertices = triangleCount * 3; local 213 result = newGLObject(vertices, 3, 1); 338 // Set number of vertices in object to the actual amount created. 351 const long vertices = triangleCount * 3; local 356 result = newGLObject(vertices, 2, 0) [all...] |
/external/opencv/cxcore/src/ |
cxdatastructs.cpp | 2887 CvSet *vertices = 0; local [all...] |
/frameworks/native/services/surfaceflinger/ |
SurfaceFlinger.cpp | 809 GLfloat vertices[][2] = { local 815 glVertexPointer(2, GL_FLOAT, 0, vertices); 1665 GLfloat vertices[][2] = { local [all...] |
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/ |
GLEScmImp.cpp | 2237 T vertices[4*3] = {x , y, z, local [all...] |
/external/zxing/core/ |
core.jar | |
/prebuilts/tools/common/m2/internal/com/google/code/findbugs/findbugs/2.0.1/ |
findbugs-2.0.1.jar | |