Home
last modified time | relevance | path

Searched refs:polygon (Results 1 – 25 of 104) sorted by relevance

12345

/external/swiftshader/src/Renderer/
DClipper.cpp43 bool Clipper::clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw) in clip() argument
47 if(clipFlagsOr & CLIP_NEAR) clipNear(polygon); in clip()
48 if(polygon.n >= 3) { in clip()
49 if(clipFlagsOr & CLIP_FAR) clipFar(polygon); in clip()
50 if(polygon.n >= 3) { in clip()
51 if(clipFlagsOr & CLIP_LEFT) clipLeft(polygon); in clip()
52 if(polygon.n >= 3) { in clip()
53 if(clipFlagsOr & CLIP_RIGHT) clipRight(polygon); in clip()
54 if(polygon.n >= 3) { in clip()
55 if(clipFlagsOr & CLIP_TOP) clipTop(polygon); in clip()
[all …]
DClipper.hpp60 bool clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw);
63 void clipNear(Polygon &polygon);
64 void clipFar(Polygon &polygon);
65 void clipLeft(Polygon &polygon);
66 void clipRight(Polygon &polygon);
67 void clipTop(Polygon &polygon);
68 void clipBottom(Polygon &polygon);
69 void clipPlane(Polygon &polygon, const Plane &plane);
DSetupProcessor.hpp86 …ePointer)(Primitive *primitive, const Triangle *triangle, const Polygon *polygon, const DrawData *…
DRenderer.cpp1586 Polygon polygon(&v0.v[pos], &v1.v[pos], &v2.v[pos]); in setupSolidTriangles() local
1592 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupSolidTriangles()
1598 if(setupRoutine(primitive, triangle, &polygon, data)) in setupSolidTriangles()
1831 Polygon polygon(P, 4); in setupLine() local
1837 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupLine()
1843 return setupRoutine(&primitive, &triangle, &polygon, &data); in setupLine()
1937 Polygon polygon(L, 6); in setupLine() local
1943 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupLine()
1949 return setupRoutine(&primitive, &triangle, &polygon, &data); in setupLine()
2014 Polygon polygon(P, 4); in setupPoint() local
[all …]
/external/swiftshader/src/Device/
DClipper.cpp34 bool Clipper::clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw) in clip() argument
38 if(clipFlagsOr & CLIP_NEAR) clipNear(polygon); in clip()
39 if(polygon.n >= 3) { in clip()
40 if(clipFlagsOr & CLIP_FAR) clipFar(polygon); in clip()
41 if(polygon.n >= 3) { in clip()
42 if(clipFlagsOr & CLIP_LEFT) clipLeft(polygon); in clip()
43 if(polygon.n >= 3) { in clip()
44 if(clipFlagsOr & CLIP_RIGHT) clipRight(polygon); in clip()
45 if(polygon.n >= 3) { in clip()
46 if(clipFlagsOr & CLIP_TOP) clipTop(polygon); in clip()
[all …]
DClipper.hpp56 bool clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw);
59 void clipNear(Polygon &polygon);
60 void clipFar(Polygon &polygon);
61 void clipLeft(Polygon &polygon);
62 void clipRight(Polygon &polygon);
63 void clipTop(Polygon &polygon);
64 void clipBottom(Polygon &polygon);
65 void clipPlane(Polygon &polygon, const Plane &plane);
DRenderer.cpp1309 Polygon polygon(&v0.v[pos], &v1.v[pos], &v2.v[pos]); in setupTriangles() local
1315 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupTriangles()
1321 if(setupRoutine(primitive, triangle, &polygon, data)) in setupTriangles()
1453 Polygon polygon(P, 4); in setupLine() local
1459 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupLine()
1465 return setupRoutine(&primitive, &triangle, &polygon, &data); in setupLine()
1559 Polygon polygon(L, 6); in setupLine() local
1565 if(!clipper->clip(polygon, clipFlagsOr, draw)) in setupLine()
1571 return setupRoutine(&primitive, &triangle, &polygon, &data); in setupLine()
1636 Polygon polygon(P, 4); in setupPoint() local
[all …]
DSetupProcessor.hpp74 …ePointer)(Primitive *primitive, const Triangle *triangle, const Polygon *polygon, const DrawData *…
/external/skia/fuzz/
DFuzzPolyUtils.cpp16 SkAutoSTMalloc<64, SkPoint> polygon(count); in DEF_FUZZ() local
18 fuzz->next(&polygon[index].fX, &polygon[index].fY); in DEF_FUZZ()
21 ignoreResult(SkGetPolygonWinding(polygon, count)); in DEF_FUZZ()
22 ignoreResult(SkIsConvexPolygon(polygon, count)); in DEF_FUZZ()
23 ignoreResult(SkIsSimplePolygon(polygon, count)); in DEF_FUZZ()
28 ignoreResult(SkInsetConvexPolygon(polygon, count, inset, &output)); in DEF_FUZZ()
32 ignoreResult(SkOffsetSimplePolygon(polygon, count, offset, &output)); in DEF_FUZZ()
39 ignoreResult(SkTriangulateSimplePolygon(polygon, indexMap, count, &outputIndices)); in DEF_FUZZ()
/external/skqp/fuzz/
DFuzzPolyUtils.cpp16 SkAutoSTMalloc<64, SkPoint> polygon(count); in DEF_FUZZ() local
18 fuzz->next(&polygon[index].fX, &polygon[index].fY); in DEF_FUZZ()
21 ignoreResult(SkGetPolygonWinding(polygon, count)); in DEF_FUZZ()
22 ignoreResult(SkIsConvexPolygon(polygon, count)); in DEF_FUZZ()
23 ignoreResult(SkIsSimplePolygon(polygon, count)); in DEF_FUZZ()
28 ignoreResult(SkInsetConvexPolygon(polygon, count, inset, &output)); in DEF_FUZZ()
32 ignoreResult(SkOffsetSimplePolygon(polygon, count, offset, &output)); in DEF_FUZZ()
39 ignoreResult(SkTriangulateSimplePolygon(polygon, indexMap, count, &outputIndices)); in DEF_FUZZ()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java323 FloatBuffer polygon = plane.getPolygon(); in drawPlaneOutline() local
324 polygon.rewind(); in drawPlaneOutline()
328 pathSrc.moveTo(polygon.get(0), polygon.get(1)); in drawPlaneOutline()
330 pathSrc.lineTo(polygon.get(i * 2), polygon.get(i * 2 + 1)); in drawPlaneOutline()
367 FloatBuffer polygon = plane.getPolygon(); in drawPlaneWithShader() local
368 polygon.rewind(); in drawPlaneWithShader()
372 pathSrc.moveTo(polygon.get(0), polygon.get(1)); in drawPlaneWithShader()
374 pathSrc.lineTo(polygon.get(i * 2), polygon.get(i * 2 + 1)); in drawPlaneWithShader()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java323 FloatBuffer polygon = plane.getPolygon(); in drawPlaneOutline() local
324 polygon.rewind(); in drawPlaneOutline()
328 pathSrc.moveTo(polygon.get(0), polygon.get(1)); in drawPlaneOutline()
330 pathSrc.lineTo(polygon.get(i * 2), polygon.get(i * 2 + 1)); in drawPlaneOutline()
367 FloatBuffer polygon = plane.getPolygon(); in drawPlaneWithShader() local
368 polygon.rewind(); in drawPlaneWithShader()
372 pathSrc.moveTo(polygon.get(0), polygon.get(1)); in drawPlaneWithShader()
374 pathSrc.lineTo(polygon.get(i * 2), polygon.get(i * 2 + 1)); in drawPlaneWithShader()
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
DQuickDraw_Graphics_Suite.py160 class polygon(aetools.ComponentItem): class
168 polygons = polygon
286 polygon._superclassnames = []
287 polygon._privpropdict = {
290 polygon._privelemdict = {
365 'cpgn' : polygon,
/external/mesa3d/src/gallium/docs/source/cso/
Drasterizer.rst7 Attributes include polygon culling state, line width, line stipple,
49 If set, the provoking vertex of each polygon is used to determine the color
50 of the entire polygon. If not set, fragment colors will be interpolated
117 Whether polygon stippling is enabled.
119 Controls OpenGL-style polygon smoothing/antialiasing
122 If set, point-filled polygons will have polygon offset factors applied
124 If set, line-filled polygons will have polygon offset factors applied
126 If set, filled polygons will have polygon offset factors applied
129 Specifies the polygon offset bias
131 Specifies the unit of the polygon offset bias. If false, use the
[all …]
/external/clang/test/Sema/
Dflexible-array-init.c43 struct polygon { struct
47 struct polygon poly = { argument
/external/skqp/src/utils/
DSkPolyUtils.cpp1036 bool SkIsSimplePolygon(const SkPoint* polygon, int polygonSize) { in SkIsSimplePolygon() argument
1047 if (SkIsConvexPolygon(polygon, polygonSize)) { in SkIsSimplePolygon()
1054 if (!polygon[i].isFinite()) { in SkIsSimplePolygon()
1057 newVertex.fPosition = polygon[i]; in SkIsSimplePolygon()
1062 if (left(polygon[newVertex.fPrevIndex], polygon[i])) { in SkIsSimplePolygon()
1065 if (left(polygon[newVertex.fNextIndex], polygon[i])) { in SkIsSimplePolygon()
1079 if (!sweepLine.insert(v.fPosition, polygon[v.fPrevIndex], v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon()
1082 if (!sweepLine.insert(v.fPosition, polygon[v.fNextIndex], v.fIndex, v.fNextIndex)) { in SkIsSimplePolygon()
1087 if (!sweepLine.remove(polygon[v.fPrevIndex], v.fPosition, v.fPrevIndex, v.fIndex)) { in SkIsSimplePolygon()
1090 if (!sweepLine.remove(polygon[v.fNextIndex], v.fPosition, v.fNextIndex, v.fIndex)) { in SkIsSimplePolygon()
[all …]
/external/skia/src/utils/
DSkPolyUtils.cpp1049 bool SkIsSimplePolygon(const SkPoint* polygon, int polygonSize) { in SkIsSimplePolygon() argument
1060 if (SkIsConvexPolygon(polygon, polygonSize)) { in SkIsSimplePolygon()
1067 if (!polygon[i].isFinite()) { in SkIsSimplePolygon()
1070 newVertex.fPosition = polygon[i]; in SkIsSimplePolygon()
1075 if (left(polygon[newVertex.fPrevIndex], polygon[i])) { in SkIsSimplePolygon()
1078 if (left(polygon[newVertex.fNextIndex], polygon[i])) { in SkIsSimplePolygon()
1092 if (!sweepLine.insert(v.fPosition, polygon[v.fPrevIndex], v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon()
1095 if (!sweepLine.insert(v.fPosition, polygon[v.fNextIndex], v.fIndex, v.fNextIndex)) { in SkIsSimplePolygon()
1100 if (!sweepLine.remove(polygon[v.fPrevIndex], v.fPosition, v.fPrevIndex, v.fIndex)) { in SkIsSimplePolygon()
1103 if (!sweepLine.remove(polygon[v.fNextIndex], v.fPosition, v.fNextIndex, v.fIndex)) { in SkIsSimplePolygon()
[all …]
/external/deqp/external/openglcts/docs/specs/
DCTS_EXT_texture_filter_anisotropic.txt40 * Verify if there is difference between polygon rendered with different
65 Set min filtering to GL_LINEAR_MIPMAP_LINEAR and render polygon with
DCTS_ARB_texture_filter_minmax.txt66 Render polygon smaller or bigger than texture to a frame buffer.
81 Render polygon smaller than texture size to the frame buffer.
/external/mesa3d/src/mesa/main/
Dattrib.c1281 const struct gl_polygon_attrib *polygon; in _mesa_PopAttrib() local
1282 polygon = (const struct gl_polygon_attrib *) attr->data; in _mesa_PopAttrib()
1283 _mesa_CullFace(polygon->CullFaceMode); in _mesa_PopAttrib()
1284 _mesa_FrontFace(polygon->FrontFace); in _mesa_PopAttrib()
1285 _mesa_PolygonMode(GL_FRONT, polygon->FrontMode); in _mesa_PopAttrib()
1286 _mesa_PolygonMode(GL_BACK, polygon->BackMode); in _mesa_PopAttrib()
1288 polygon->OffsetFactor, in _mesa_PopAttrib()
1289 polygon->OffsetUnits, in _mesa_PopAttrib()
1290 polygon->OffsetClamp); in _mesa_PopAttrib()
1291 _mesa_set_enable(ctx, GL_POLYGON_SMOOTH, polygon->SmoothFlag); in _mesa_PopAttrib()
[all …]
/external/mesa3d/src/gallium/auxiliary/indices/
Du_unfilled_gen.py176 def polygon(intype, outtype): function
224 polygon(intype, outtype)
/external/mesa3d/docs/
DARB_color_buffer_float.txt2 … fixed-point, some floating-point, with FIXED_ONLY fragment clamping and polygon smooth enabled ma…
/external/python/cpython2/Doc/library/
Dturtle.rst450 As the circle is approximated by an inscribed regular polygon, *steps*
770 "auto" and turtleshape is a polygon, that polygon is drawn with the same line
867 If turtleshape is a polygon, the outline of that polygon is drawn with the
915 If turtleshape is a polygon, the interior of that polygon is drawn
954 If turtleshape is a polygon, outline and interior of that polygon is drawn
1108 shape dictionary. Initially there are the following polygon shapes: "arrow",
1309 Start recording the vertices of a polygon. Current turtle position is first
1310 vertex of polygon.
1315 Stop recording the vertices of a polygon. Current turtle position is last
1316 vertex of polygon. This will be connected with the first vertex.
[all …]
/external/python/cpython3/Doc/library/
Dturtle.rst470 As the circle is approximated by an inscribed regular polygon, *steps*
790 "auto" and turtleshape is a polygon, that polygon is drawn with the same line
883 If turtleshape is a polygon, the outline of that polygon is drawn with the
931 If turtleshape is a polygon, the interior of that polygon is drawn
969 If turtleshape is a polygon, outline and interior of that polygon is drawn
1118 shape dictionary. Initially there are the following polygon shapes: "arrow",
1294 Return the current shape polygon as tuple of coordinate pairs. This
1380 Start recording the vertices of a polygon. Current turtle position is first
1381 vertex of polygon.
1386 Stop recording the vertices of a polygon. Current turtle position is last
[all …]
/external/mesa3d/docs/relnotes/
D6.222 ToDo: PBO for polygon stipple, convolution filter, etc.

12345