Home
last modified time | relevance | path

Searched refs:triangle (Results 1 – 25 of 94) sorted by relevance

1234

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_vbuf.c187 setup->triangle( setup, in lp_setup_draw_elements()
198 setup->triangle( setup, in lp_setup_draw_elements()
208 setup->triangle( setup, in lp_setup_draw_elements()
220 setup->triangle( setup, in lp_setup_draw_elements()
229 setup->triangle( setup, in lp_setup_draw_elements()
242 setup->triangle( setup, in lp_setup_draw_elements()
247 setup->triangle( setup, in lp_setup_draw_elements()
256 setup->triangle( setup, in lp_setup_draw_elements()
261 setup->triangle( setup, in lp_setup_draw_elements()
274 setup->triangle( setup, in lp_setup_draw_elements()
[all …]
Dlp_rast.h153 } triangle; member
177 lp_rast_arg_triangle( const struct lp_rast_triangle *triangle, in lp_rast_arg_triangle() argument
181 arg.triangle.tri = triangle; in lp_rast_arg_triangle()
182 arg.triangle.plane_mask = plane_mask; in lp_rast_arg_triangle()
193 lp_rast_arg_triangle_contained( const struct lp_rast_triangle *triangle, in lp_rast_arg_triangle_contained() argument
197 arg.triangle.tri = triangle; in lp_rast_arg_triangle_contained()
198 arg.triangle.plane_mask = x | (y << 8); in lp_rast_arg_triangle_contained()
Dlp_rast_tri.c120 arg2.triangle.tri = arg.triangle.tri; in lp_rast_triangle_3_16()
121 arg2.triangle.plane_mask = (1<<3)-1; in lp_rast_triangle_3_16()
130 arg2.triangle.tri = arg.triangle.tri; in lp_rast_triangle_4_16()
131 arg2.triangle.plane_mask = (1<<4)-1; in lp_rast_triangle_4_16()
255 const struct lp_rast_triangle *tri = arg.triangle.tri; in lp_rast_triangle_3_16()
257 int x = (arg.triangle.plane_mask & 0xff) + task->x; in lp_rast_triangle_3_16()
258 int y = (arg.triangle.plane_mask >> 8) + task->y; in lp_rast_triangle_3_16()
369 const struct lp_rast_triangle *tri = arg.triangle.tri; in lp_rast_triangle_3_4()
371 unsigned x = (arg.triangle.plane_mask & 0xff) + task->x; in lp_rast_triangle_3_4()
372 unsigned y = (arg.triangle.plane_mask >> 8) + task->y; in lp_rast_triangle_3_4()
Dlp_rast_tri_tmp.h158 const struct lp_rast_triangle *tri = arg.triangle.tri; in TAG()
159 unsigned plane_mask = arg.triangle.plane_mask; in TAG()
260 const struct lp_rast_triangle *tri = arg.triangle.tri; in TRI_16()
262 unsigned mask = arg.triangle.plane_mask; in TRI_16()
333 const struct lp_rast_triangle *tri = arg.triangle.tri; in TRI_4()
335 unsigned mask = arg.triangle.plane_mask; in TRI_4()
/external/swiftshader/src/Renderer/
DRenderer.cpp1047 Triangle *triangle = triangleBatch[unit]; in processPrimitiveVertices() local
1470 vertexRoutine(&triangle->v0, (unsigned int*)&batch, task, data); in processPrimitiveVertices()
1475 Triangle *triangle = triangleBatch[unit]; in setupSolidTriangles() local
1487 for(int i = 0; i < count; i++, triangle++) in setupSolidTriangles()
1489 Vertex &v0 = triangle->v0; in setupSolidTriangles()
1490 Vertex &v1 = triangle->v1; in setupSolidTriangles()
1491 Vertex &v2 = triangle->v2; in setupSolidTriangles()
1507 if(setupRoutine(primitive, triangle, &polygon, data)) in setupSolidTriangles()
1520 Triangle *triangle = triangleBatch[unit]; in setupWireframeTriangle() local
1528 const Vertex &v0 = triangle[0].v0; in setupWireframeTriangle()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
DTriangleBeanTest.java25 Triangle triangle = new Triangle(); in testGetTriangle() local
26 triangle.setName("Triangle25"); in testGetTriangle()
28 bean.setShape(triangle); in testGetTriangle()
/external/mesa3d/src/mesa/swrast_setup/
Dss_tritmp.h33 static void TAG(triangle)(struct gl_context *ctx, GLuint e0, GLuint e1, GLuint e2 ) in TAG() argument
225 TAG(triangle)( ctx, v0, v1, v3 ); in TAG() local
228 TAG(triangle)( ctx, v1, v2, v3 ); in TAG() local
232 TAG(triangle)( ctx, v0, v1, v3 ); in TAG() local
233 TAG(triangle)( ctx, v1, v2, v3 ); in TAG() local
242 tri_tab[IND] = TAG(triangle); in TAG()
DNOTES6 perform triangle setup functions not implemented in the software
19 This module implements triangle/quad setup for offset, unfilled and
61 activity. As swrast doesn't call callbacks during triangle, line or
/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp354 const tcu::Vec4 triangle[] = in testPolygonOffset() local
389 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
428 attribs[0].pointer = triangle; in testPolygonOffset()
526 tcu::Vec4 triangle[3]; in testPolygonOffset() local
528 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx) in testPolygonOffset()
529 triangle[vertexNdx] = genRandomVec4(rnd); in testPolygonOffset()
531 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
534 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangle); ++ndx) in testPolygonOffset()
536 << "\tx=" << triangle[ndx].x() in testPolygonOffset()
537 << "\ty=" << triangle[ndx].y() in testPolygonOffset()
[all …]
/external/deqp/modules/gles3/functional/
Des3fPolygonOffsetTests.cpp357 const tcu::Vec4 triangle[] = in testPolygonOffset() local
392 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
431 attribs[0].pointer = triangle; in testPolygonOffset()
529 tcu::Vec4 triangle[3]; in testPolygonOffset() local
531 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx) in testPolygonOffset()
532 triangle[vertexNdx] = genRandomVec4(rnd); in testPolygonOffset()
534 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
537 for (size_t ndx = 0; ndx < DE_LENGTH_OF_ARRAY(triangle); ++ndx) in testPolygonOffset()
539 << "\tx=" << triangle[ndx].x() in testPolygonOffset()
540 << "\ty=" << triangle[ndx].y() in testPolygonOffset()
[all …]
/external/deqp/doc/testspecs/GLES31/
Dfunctional.separate_shader.txt49 glUseProgram and and glBindProgramPipeline and draws a triangle. The
55 program. After this, glUniform is called and a triangle is drawn. The
68 single-shader program. A triangle is drawn with the pipeline and the
69 result is compared to a triangle drawn with an equivalent monolithic
88 diagonal stripes in the drawn triangle.
Dfunctional.draw_indirect.txt26 - Points, triangles, triangle strips, triangle fans, lines, line
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/
DHelloAPI.txt5 Draw a triangle to the screen using hardware acceleration.
8 …ep, through the process of initializing a window using :API:, drawing a triangle in it using hardw…
/external/deqp/doc/testspecs/GLES2/
Dfunctional.rasterization.txt29 + Individual triangles, triangle strips and triangle fans
44 triangle edges are filled exactly once. Because exact fill rules are
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp964 static float findPrimitiveMaximumDepthSlope (const pa::Triangle& triangle) in findPrimitiveMaximumDepthSlope() argument
966 …const float d1 = findTriangleVertexDepthSlope(triangle.v0->position, triangle.v1->position, triang… in findPrimitiveMaximumDepthSlope()
967 …const float d2 = findTriangleVertexDepthSlope(triangle.v1->position, triangle.v2->position, triang… in findPrimitiveMaximumDepthSlope()
968 …const float d3 = findTriangleVertexDepthSlope(triangle.v2->position, triangle.v0->position, triang… in findPrimitiveMaximumDepthSlope()
992 static float findPrimitiveMinimumResolvableDifference (const pa::Triangle& triangle, const rr::Mult… in findPrimitiveMinimumResolvableDifference() argument
994 …st float maxZvalue = de::max(de::max(triangle.v0->position.z(), triangle.v1->position.z())… in findPrimitiveMinimumResolvableDifference()
1101 const pa::Triangle& triangle, in rasterizePrimitive() argument
1111 rasterizer.init(triangle.v0->position, triangle.v1->position, triangle.v2->position); in rasterizePrimitive()
1120 …ingContext(triangle.v0->outputs, triangle.v1->outputs, triangle.v2->outputs, &buffers.shaderOutput… in rasterizePrimitive()
1125 const float maximumDepthSlope = findPrimitiveMaximumDepthSlope(triangle); in rasterizePrimitive()
[all …]
/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_tritmp.h114 static void TAG(triangle)( struct gl_context *ctx, GLuint e0, GLuint e1, GLuint e2 ) in TAG() argument
587 TAG(triangle)( ctx, e0, e1, e3 ); in TAG() local
590 TAG(triangle)( ctx, e1, e2, e3 ); in TAG() local
593 TAG(triangle)( ctx, e0, e1, e3 ); in TAG() local
594 TAG(triangle)( ctx, e1, e2, e3 ); in TAG() local
663 TAB[IND].triangle = TAG(triangle); in TAG()
/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp137 …dEdge (const tcu::IVec2& pixel, const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2… in pixelOnlyOnASharedEdge() argument
139 if (triangle.sharedEdge[0] || triangle.sharedEdge[1] || triangle.sharedEdge[2]) in pixelOnlyOnASharedEdge()
143 …tcu::Vec2(triangle.positions[0].x() / triangle.positions[0].w(), triangle.positions[0].y() / trian… in pixelOnlyOnASharedEdge()
144 …tcu::Vec2(triangle.positions[1].x() / triangle.positions[1].w(), triangle.positions[1].y() / trian… in pixelOnlyOnASharedEdge()
145 …tcu::Vec2(triangle.positions[2].x() / triangle.positions[2].w(), triangle.positions[2].y() / trian… in pixelOnlyOnASharedEdge()
161 return triangle.sharedEdge[0]; in pixelOnlyOnASharedEdge()
163 return triangle.sharedEdge[1]; in pixelOnlyOnASharedEdge()
165 return triangle.sharedEdge[2]; in pixelOnlyOnASharedEdge()
180 tcu::IVec4 getTriangleAABB (const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& vie… in getTriangleAABB() argument
184 …tcu::Vec2(triangle.positions[0].x() / triangle.positions[0].w(), triangle.positions[0].y() / trian… in getTriangleAABB()
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp393 CPDF_MeshVertex triangle[3]) { in DrawGouraud()
394 FX_FLOAT min_y = triangle[0].position.y; in DrawGouraud()
395 FX_FLOAT max_y = triangle[0].position.y; in DrawGouraud()
397 min_y = std::min(min_y, triangle[i].position.y); in DrawGouraud()
398 max_y = std::max(max_y, triangle[i].position.y); in DrawGouraud()
416 CPDF_MeshVertex& vertex1 = triangle[i]; in DrawGouraud()
417 CPDF_MeshVertex& vertex2 = triangle[(i + 1) % 3]; in DrawGouraud()
486 CPDF_MeshVertex triangle[3]; in DrawFreeGouraudShading() local
487 FXSYS_memset(triangle, 0, sizeof(triangle)); in DrawFreeGouraudShading()
496 triangle[0] = vertex; in DrawFreeGouraudShading()
[all …]
/external/testng/src/test/java/test/triangle/
DCountCalls.java1 package test.triangle;
DChild2.java1 package test.triangle;
DChild1.java1 package test.triangle;
DBase.java1 package test.triangle;
DCheckCount.java1 package test.triangle;
/external/mesa3d/src/mesa/swrast/
DNOTES13 As well as providing triangle/line/point rasterization functionality,
43 Drivers may add additional triangle/line/point functions to swrast by
/external/ImageMagick/Magick++/demo/
Ddemos.tap25 … cubic gaussian hamming hanning hermite lanczos mitchell point quadratic sample scale sinc triangle

1234