Searched refs:vertices (Results 1 - 25 of 163) sorted by relevance

1234567

/external/deqp/framework/referencerenderer/
H A DrrPrimitiveAssembler.hpp80 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
85 *(outputIterator++) = Triangle(vertices[ndx], vertices[ndx+1], vertices[ndx+2], provokingOffset);
88 static size_t getPrimitiveCount (size_t vertices) argument
90 return vertices / 3;
97 static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
104 VertexPacket* vert0 = vertices[0];
105 VertexPacket* vert1 = vertices[1];
114 *(outputIterator++) = Triangle(vert0, vert1, vertices[nd
133 getPrimitiveCount(size_t vertices) argument
142 exec(Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
157 getPrimitiveCount(size_t vertices) argument
205 exec(Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
213 getPrimitiveCount(size_t vertices) argument
222 exec(Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
239 getPrimitiveCount(size_t vertices) argument
248 exec(Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
267 getPrimitiveCount(size_t vertices) argument
296 exec(Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
304 getPrimitiveCount(size_t vertices) argument
358 exec(Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
366 getPrimitiveCount(size_t vertices) argument
375 exec(Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
383 getPrimitiveCount(size_t vertices) argument
444 exec(Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
452 getPrimitiveCount(size_t vertices) argument
461 exec(Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::ProvokingVertex provokingConvention) argument
504 getPrimitiveCount(size_t vertices) argument
[all...]
H A DrrPrimitivePacket.hpp45 const VertexPacket* vertices[6]; member in struct:rr::PrimitivePacket
51 * Geometry emitter handles outputting of new vertices from geometry shader
H A DrrRenderer.cpp271 TriangleVertex vertices[3]; member in struct:rr::__anon4212::cliputil::SubTriangle
436 void clipTriangleToPlane (std::vector<TriangleVertex>& clippedEdges, const TriangleVertex* vertices, const ClipVolumePlane& plane) argument
438 const bool v0Clipped = !plane.pointInClipVolume(vertices[0].position);
439 const bool v1Clipped = !plane.pointInClipVolume(vertices[1].position);
440 const bool v2Clipped = !plane.pointInClipVolume(vertices[2].position);
446 clippedEdges.insert(clippedEdges.begin(), vertices, vertices + 3);
451 if (v0Clipped) clipTriangleOneVertex(clippedEdges, plane, vertices[0], vertices[1], vertices[
860 makeSharedVerticeDistinct(VertexPacket*& packet, std::set<VertexPacket*, std::less<void*> >& vertices, VertexPacketAllocator& vpalloc) argument
884 makeSharedVerticesDistinct(pa::Triangle& target, std::set<VertexPacket*, std::less<void*> >& vertices, VertexPacketAllocator& vpalloc) argument
891 makeSharedVerticesDistinct(pa::Line& target, std::set<VertexPacket*, std::less<void*> >& vertices, VertexPacketAllocator& vpalloc) argument
897 makeSharedVerticesDistinct(pa::Point& target, std::set<VertexPacket*, std::less<void*> >& vertices, VertexPacketAllocator& vpalloc) argument
905 std::set<VertexPacket*, std::less<void*> > vertices; local
1386 drawGeometryShaderOutputAsPrimitives(const RenderState& state, const RenderTarget& renderTarget, const Program& program, VertexPacket* const* vertices, size_t numVertices, VertexPacketAllocator& vpalloc) argument
1473 drawAsPrimitives(const RenderState& state, const RenderTarget& renderTarget, const Program& program, VertexPacket* const* vertices, int numVertices, DrawContext& drawContext, VertexPacketAllocator& vpalloc) argument
[all...]
/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...]
H A Du_blit.c76 struct pipe_resource *vbuf; /**< quad vertices */
79 float vertices[4][2][4]; /**< vertex/texcoords for quad */ member in struct:blit_state
144 ctx->vertices[i][0][3] = 1.0f; /* w */
145 ctx->vertices[i][1][2] = 0.0f; /* r */
146 ctx->vertices[i][1][3] = 1.0f; /* q */
298 * Get offset of next free slot in vertex buffer for quad vertices.
303 const unsigned max_slots = 4096 / sizeof ctx->vertices;
314 max_slots * sizeof ctx->vertices);
317 return ctx->vbuf_slot++ * sizeof ctx->vertices;
335 ctx->vertices[
[all...]
/external/eigen/demos/opengl/
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...]
H A Dicosphere.h20 const std::vector<Eigen::Vector3f>& vertices() const { return mVertices; } function in class:IcoSphere
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pt_decompose.h2 char *verts = (char *) vertices; \
/external/deqp/external/vulkancts/modules/vulkan/clipping/
H A DvktClippingTests.cpp80 const std::vector<Vec4>& vertices,
120 const std::vector<Vec4>& vertices,
134 , m_numVertices (static_cast<deUint32>(vertices.size()))
188 const VkDeviceSize bufferSize = vertices.size() * sizeof(vertices[0]);
193 deMemcpy(alloc.getHostPtr(), &vertices[0], (size_t)bufferSize);
574 std::vector<Vec4> vertices; local
576 // We're setting adjacent vertices to zero where needed, as we don't use them in meaningful way.
581 vertices.push_back(offset + Vec4(0.0f, 0.0f, slope/2.0f + z, w));
582 vertices
118 DrawContext(Context& context, const std::vector<Shader>& shaders, const std::vector<Vec4>& vertices, const VkPrimitiveTopology primitiveTopology, const deUint32 renderSize, const bool depthClampEnable, const bool blendEnable, const float lineWidth) argument
848 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 0.0f); local
886 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 0.0f); local
966 const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, 0.0f), 1.0f); local
990 std::vector<Vec4> vertices; local
1031 std::vector<Vec4> vertices; local
1373 std::vector<Vec4> vertices; local
1473 std::vector<Vec4> vertices; local
[all...]
/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/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineVertexUtil.cpp691 std::vector<Vertex4RGBA> vertices;
738 vertices.push_back(lowerLeftVertex);
739 vertices.push_back(lowerRightVertex);
740 vertices.push_back(upperLeftVertex);
743 vertices.push_back(lowerRightVertex);
744 vertices.push_back(upperLeftVertex);
745 vertices.push_back(upperRightVertex);
748 return vertices;
776 const Vertex4Tex4 vertices[6] = local
787 return std::vector<Vertex4Tex4>(vertices, vertice
797 std::vector<Vertex4Tex4> vertices; local
870 std::vector<Vertex4Tex4> vertices = createQuadMosaic(2, 3); local
887 std::vector<Vertex4Tex4> vertices = createQuadMosaicCube(); local
904 std::vector<Vertex4Tex4> vertices; local
[all...]
H A DvktPipelineInputAssemblyTests.cpp300 std::vector<Vertex4RGBA> vertices; local
351 vertices.push_back(vertex);
367 vertices.push_back(vertex);
384 vertices.push_back(vertex);
388 vertices.push_back(vertex);
399 vertices.push_back(vertex);
416 vertices.push_back(vertex);
435 vertices.push_back(vertex);
447 vertices.push_back(vertex);
467 vertices
655 std::vector<Vertex4RGBA> vertices; local
[all...]
/external/deqp/modules/gles3/stress/
H A Des3sOcclusionQueryTests.cpp151 std::vector<float> vertices; local
172 vertices.resize(4*NUM_GENERATED_VERTICES);
176 vertices[4*i ] = m_rnd.getFloat(-1.0f, 1.0f);
177 vertices[4*i + 1] = m_rnd.getFloat(-1.0f, 1.0f);
178 vertices[4*i + 2] = m_rnd.getFloat(0.0f, 1.0f);
179 vertices[4*i + 3] = 1.0f;
189 occluderVertices[4*i ] = vertices[4*vtxNdx];
190 occluderVertices[4*i + 1] = vertices[4*vtxNdx + 1];
191 occluderVertices[4*i + 2] = vertices[4*vtxNdx + 2];
192 occluderVertices[4*i + 3] = vertices[
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fNegativeVertexArrayApiTests.cpp350 GLfloat vertices[1];
353 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
358 glDrawElements(GL_POINTS, 1, -1, vertices);
360 glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices);
365 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices);
373 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
397 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
401 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
417 GLfloat vertices[1];
420 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fNegativeVertexArrayApiTests.cpp482 GLfloat vertices[1]; local
491 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
496 ctx.glDrawElements(GL_POINTS, 1, -1, vertices);
498 ctx.glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices);
503 ctx.glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices);
511 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
535 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
539 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
556 GLfloat vertices[1]; local
559 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
592 GLfloat vertices[1]; local
667 GLfloat vertices[1]; local
807 GLfloat vertices[1]; local
884 GLfloat vertices[1]; local
924 GLfloat vertices[1]; local
1003 GLfloat vertices[1]; local
1050 GLfloat vertices[1]; local
1129 GLfloat vertices[1]; local
1170 GLfloat vertices[1]; local
1251 GLfloat vertices[1]; local
[all...]
/external/autotest/client/deps/glbench/src/
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 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 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;
/external/deqp/modules/gles2/functional/
H A Des2fNegativeVertexArrayApiTests.cpp211 GLfloat vertices[1] = { 0.0f };
214 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
219 glDrawElements(GL_POINTS, 1, -1, vertices);
224 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices);
233 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
244 GLfloat vertices[1] = { 0.0f };
247 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices);
252 glDrawElements(GL_POINTS, 1, -1, vertices);
257 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices);
266 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices);
[all...]
/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);
/external/skia/src/gpu/ops/
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);
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;

Completed in 599 milliseconds

1234567