Searched defs:vertices (Results 1 - 25 of 125) sorted by relevance

12345

/external/eigen/demos/opengl/
H A Dicosphere.h20 const std::vector<Eigen::Vector3f>& vertices() const { return mVertices; } function in class:IcoSphere
H A Dgpuhelper.cpp100 static float vertices[][3] = { local
111 glNormal3f(0,0,-1); glVertex3fv(vertices[0]); glVertex3fv(vertices[2]); glVertex3fv(vertices[3]); glVertex3fv(vertices[1]);
112 glNormal3f(0,0, 1); glVertex3fv(vertices[4]); glVertex3fv(vertices[5]); glVertex3fv(vertices[7]); glVertex3fv(vertices[6]);
113 glNormal3f(0,-1,0); glVertex3fv(vertices[
[all...]
/external/deqp/framework/referencerenderer/
H A DrrPrimitivePacket.hpp45 const VertexPacket* vertices[6]; member in struct:rr::PrimitivePacket
51 * Geometry emitter handles outputting of new vertices from geometry shader
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_prim.h171 u_gs_prims_for_vertices(int primitive, int vertices) argument
175 return vertices;
177 return vertices / 2;
179 return vertices;
181 return vertices - 1;
183 return vertices / 3;
185 return vertices - 2;
187 return vertices - 2;
189 return vertices / 2;
191 return vertices
[all...]
/external/skia/tests/
H A DPrimitiveProcessorTest.cpp94 SkPoint* vertices = reinterpret_cast<SkPoint*>(helper.init(target, vertexStride, 1)); variable
95 vertices->setRectFan(0.f, 0.f, 1.f, 1.f, vertexStride);
/external/autotest/client/deps/glbench/src/
H A Dtrianglesetuptest.cc47 GLfloat *vertices = NULL; local
49 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height,
52 vertex_buffer_size, vertices);
101 delete[] vertices;
H A Dattributefetchtest.cc97 GLfloat *vertices = NULL; local
99 CreateLattice(&vertices, &vertex_buffer_size, 1.f / g_width, 1.f / g_height,
102 vertex_buffer_size, vertices);
142 delete[] vertices;
H A Dvaryingsandddxytest.cc169 GLfloat *vertices = NULL; local
171 CreateLattice(&vertices, &vertex_buffer_size, 1.f / c, 1.f / c, c, c);
173 vertex_buffer_size, vertices);
217 delete[] vertices;
H A Dwindowmanagertest.cc60 "attribute vec4 vertices;"
63 " gl_Position = vec4(vertices.x, vertices.y, 0.0, 1.0);"
64 " v1 = vec2(0.5 * vertices.x + 0.5, 0.5 * vertices.y + 0.5);"
109 GLfloat vertices[8] = { local
117 int attribute_index = glGetAttribLocation(program, "vertices");
118 glVertexAttribPointer(attribute_index, 2, GL_FLOAT, GL_FALSE, 0, vertices);
H A Dyuvtest.cc218 GLfloat vertices[8] = { local
224 vertex_buffer = SetupVBO(GL_ARRAY_BUFFER, sizeof(vertices), vertices);
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10tri/
H A Dd3d10tri.cpp36 static struct vertex vertices[3] = variable in typeref:struct:vertex
72 bufferd.ByteWidth = sizeof(vertices);
79 buffersd.pSysMem = vertices;
80 buffersd.SysMemPitch = sizeof(vertices);
81 buffersd.SysMemSlicePitch = sizeof(vertices);
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tri/
H A Dd3d11tri.cpp36 static struct vertex vertices[3] = variable in typeref:struct:vertex
73 bufferd.ByteWidth = sizeof(vertices);
81 buffersd.pSysMem = vertices;
82 buffersd.SysMemPitch = sizeof(vertices);
83 buffersd.SysMemSlicePitch = sizeof(vertices);
/external/mesa3d/src/gallium/tests/graw/
H A Dfs-fragcoord.c24 static struct vertex vertices[] = variable in typeref:struct:vertex
47 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0]))
73 sizeof(vertices),
74 vertices);
H A Dfs-frontface.c23 static struct vertex vertices[] = variable in typeref:struct:vertex
68 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0]))
95 sizeof(vertices),
96 vertices);
H A Dfs-write-z.c27 static struct vertex vertices[] = variable in typeref:struct:vertex
72 #define NUM_VERTS (sizeof(vertices) / sizeof(vertices[0]))
99 sizeof(vertices),
100 vertices);
H A Dtri.c22 static struct vertex vertices[3] = variable in typeref:struct:vertex
61 sizeof(vertices),
62 vertices);
H A Docclusion-query.c78 set_vertices(struct vertex *vertices, unsigned bytes) argument
101 vertices);
H A Dquad-tex.c22 static struct vertex vertices[] = variable in typeref:struct:vertex
62 sizeof(vertices),
63 vertices);
H A Dtex-swizzle.c22 static struct vertex vertices[] = variable in typeref:struct:vertex
60 sizeof(vertices),
61 vertices);
/external/deqp/modules/gles3/stress/
H A Des3sSyncTests.cpp162 std::vector<float> vertices; local
177 // Generate vertices
180 generateVertices (vertices, m_numSyncs, m_rnd);
181 glVertexAttribPointer (0, 4, GL_FLOAT, GL_FALSE, 0, &vertices[0]);
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_prim_vbuf.c31 * draw_arrays() functions below will be called. Loop over the vertices and
545 sp_vbuf_so_info(struct vbuf_render *vbr, uint primitives, uint vertices, argument
553 vertices * 4 /*sizeof(float|int32)*/ * 4 /*x,y,z,w*/;
/external/skia/src/gpu/ops/
H A DGrLatticeOp.cpp90 void* vertices = helper.init(target, kTriangles_GrPrimitiveType, vertexStride, variable
92 if (!vertices || !indexBuffer) {
93 SkDebugf("Could not allocate vertices\n");
97 intptr_t verts = reinterpret_cast<intptr_t>(vertices);
H A DGrMeshDrawOp.cpp31 void* vertices = local
33 if (!vertices) {
43 return vertices;
H A DGrNonAAFillRectOp.cpp37 static void tesselate(intptr_t vertices, argument
43 SkPoint* positions = reinterpret_cast<SkPoint*>(vertices);
57 reinterpret_cast<SkPoint*>(vertices + kLocalOffset + i * vertexStride);
63 GrColor* vertColor = reinterpret_cast<GrColor*>(vertices + kColorOffset);
137 void* vertices = variable
140 if (!vertices || !indexBuffer) {
141 SkDebugf("Could not allocate vertices\n");
147 reinterpret_cast<intptr_t>(vertices) + i * kVertsPerInstance * vertexStride;
H A DGrRegionOp.cpp26 static void tesselate_region(intptr_t vertices, argument
32 intptr_t verts = vertices;
107 void* vertices = variable
110 if (!vertices || !indexBuffer) {
111 SkDebugf("Could not allocate vertices\n");
115 intptr_t verts = reinterpret_cast<intptr_t>(vertices);

Completed in 434 milliseconds

12345