Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/skia/third_party/externals/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);
/third_party/skia/third_party/externals/swiftshader/src/Device/
DClipper.cpp32 void clipNear(sw::Polygon &polygon) in clipNear() argument
34 const sw::float4 **V = polygon.P[polygon.i]; in clipNear()
35 const sw::float4 **T = polygon.P[polygon.i + 1]; in clipNear()
39 for(int i = 0; i < polygon.n; i++) in clipNear()
41 int j = i == polygon.n - 1 ? 0 : i + 1; in clipNear()
52 clipEdge(polygon.B[polygon.b], *V[i], *V[j], di, dj); in clipNear()
53 T[t++] = &polygon.B[polygon.b++]; in clipNear()
60 clipEdge(polygon.B[polygon.b], *V[j], *V[i], dj, di); in clipNear()
61 T[t++] = &polygon.B[polygon.b++]; in clipNear()
66 polygon.n = t; in clipNear()
[all …]
DRenderer.cpp672 Polygon polygon(&v0.position, &v1.position, &v2.position); in setupSolidTriangles() local
687 if(!Clipper::Clip(polygon, clipFlagsOr, *drawCall)) in setupSolidTriangles()
693 if(drawCall->setupRoutine(device, primitives, triangles, &polygon, data)) in setupSolidTriangles()
921 Polygon polygon(P, 4); in setupLine() local
927 if(!Clipper::Clip(polygon, clipFlagsOr, draw)) in setupLine()
933 return draw.setupRoutine(device, &primitive, &triangle, &polygon, &data); in setupLine()
1032 Polygon polygon(L, 6); in setupLine() local
1038 if(!Clipper::Clip(polygon, clipFlagsOr, draw)) in setupLine()
1044 return draw.setupRoutine(device, &primitive, &triangle, &polygon, &data); in setupLine()
1123 Polygon polygon(L, 4); in setupLine() local
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/test/data/
Dhibiscus.primitive.svg4 <polygon fill="#fbe59c" fill-opacity="0.501961" points="16,11 131,15 13,174" />
5 <polygon fill="#fff1c2" fill-opacity="0.501961" points="164,201 169,63 74,173" />
6 <polygon fill="#121f15" fill-opacity="0.501961" points="44,141 190,271 -16,253" />
7 <polygon fill="#001b35" fill-opacity="0.501961" points="148,158 98,71 48,98" />
8 <polygon fill="#000000" fill-opacity="0.501961" points="196,110 168,199 171,11" />
9 <polygon fill="#000000" fill-opacity="0.501961" points="-16,111 11,205 11,23" />
10 <polygon fill="#4b3c00" fill-opacity="0.501961" points="-16,39 93,79 7,-16" />
11 <polygon fill="#000000" fill-opacity="0.501961" points="52,-16 -16,13 147,8" />
12 <polygon fill="#000000" fill-opacity="0.501961" points="171,128 196,230 167,271" />
13 <polygon fill="#c6c320" fill-opacity="0.501961" points="116,11 168,10 168,133" />
[all …]
/third_party/skia/fuzz/
DFuzzPolyUtils.cpp18 SkAutoSTMalloc<64, SkPoint> polygon(count); in DEF_FUZZ() local
20 fuzz->next(&polygon[index].fX, &polygon[index].fY); in DEF_FUZZ()
23 bounds.setBoundsCheck(polygon, count); in DEF_FUZZ()
25 ignoreResult(SkGetPolygonWinding(polygon, count)); in DEF_FUZZ()
26 ignoreResult(SkIsConvexPolygon(polygon, count)); in DEF_FUZZ()
27 ignoreResult(SkIsSimplePolygon(polygon, count)); in DEF_FUZZ()
32 ignoreResult(SkInsetConvexPolygon(polygon, count, inset, &output)); in DEF_FUZZ()
36 ignoreResult(SkOffsetSimplePolygon(polygon, count, bounds, offset, &output)); in DEF_FUZZ()
43 ignoreResult(SkTriangulateSimplePolygon(polygon, indexMap, count, &outputIndices)); in DEF_FUZZ()
/third_party/flutter/skia/fuzz/
DFuzzPolyUtils.cpp18 SkAutoSTMalloc<64, SkPoint> polygon(count); in DEF_FUZZ() local
20 fuzz->next(&polygon[index].fX, &polygon[index].fY); in DEF_FUZZ()
23 bounds.setBoundsCheck(polygon, count); in DEF_FUZZ()
25 ignoreResult(SkGetPolygonWinding(polygon, count)); in DEF_FUZZ()
26 ignoreResult(SkIsConvexPolygon(polygon, count)); in DEF_FUZZ()
27 ignoreResult(SkIsSimplePolygon(polygon, count)); in DEF_FUZZ()
32 ignoreResult(SkInsetConvexPolygon(polygon, count, inset, &output)); in DEF_FUZZ()
36 ignoreResult(SkOffsetSimplePolygon(polygon, count, bounds, offset, &output)); in DEF_FUZZ()
43 ignoreResult(SkTriangulateSimplePolygon(polygon, indexMap, count, &outputIndices)); in DEF_FUZZ()
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_polygon_mode.txt41 the polygon rasterization method. Using this extension, state consistent
44 provided for polygon offset in conjunction with these new point and line
45 polygon modes.
86 vertices of a polygon to be treated, for rasterization purposes, as if they
88 line segments. FILL_NV is the default mode of polygon rasterization,
90 affect only the final rasterization of polygons: in particular, a polygon's
91 vertices are lit, and the polygon is clipped and possibly culled before
106 a polygon in POINT_NV mode. Likewise, if POLYGON_OFFSET_LINE_NV or
108 fragment produced by the rasterization of a polygon in LINE_NV or FILL_NV
122 The state required for polygon rasterization consists of whether point,
[all …]
DNV_fill_rectangle.txt72 vertices of a polygon to be treated, for rasterization purposes, as if they
74 are those that have been tagged as having a polygon boundary edge beginning
77 reset at the beginning of the first rasterized edge of the polygon, but not
78 for subsequent edges.) FILL is the default mode of polygon rasterization,
81 particular, a polygon's vertices are lit, and the polygon is clipped and
107 only one of the front and back polygon mode is FILL_RECTANGLE_NV.
133 only one of the front and back polygon mode is FILL_RECTANGLE_NV.
138 stipple, user clip planes, separate front and back polygon modes, polygon
147 to refer to PolygonModeNV. References to point, line, and polygon
176 (5) How is polygon offset applied?
[all …]
/third_party/openGLES/extensions/NV/
DNV_polygon_mode.txt41 the polygon rasterization method. Using this extension, state consistent
44 provided for polygon offset in conjunction with these new point and line
45 polygon modes.
86 vertices of a polygon to be treated, for rasterization purposes, as if they
88 line segments. FILL_NV is the default mode of polygon rasterization,
90 affect only the final rasterization of polygons: in particular, a polygon's
91 vertices are lit, and the polygon is clipped and possibly culled before
106 a polygon in POINT_NV mode. Likewise, if POLYGON_OFFSET_LINE_NV or
108 fragment produced by the rasterization of a polygon in LINE_NV or FILL_NV
122 The state required for polygon rasterization consists of whether point,
[all …]
DNV_fill_rectangle.txt72 vertices of a polygon to be treated, for rasterization purposes, as if they
74 are those that have been tagged as having a polygon boundary edge beginning
77 reset at the beginning of the first rasterized edge of the polygon, but not
78 for subsequent edges.) FILL is the default mode of polygon rasterization,
81 particular, a polygon's vertices are lit, and the polygon is clipped and
107 only one of the front and back polygon mode is FILL_RECTANGLE_NV.
133 only one of the front and back polygon mode is FILL_RECTANGLE_NV.
138 stipple, user clip planes, separate front and back polygon modes, polygon
147 to refer to PolygonModeNV. References to point, line, and polygon
176 (5) How is polygon offset applied?
[all …]
/third_party/flutter/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()
/third_party/skia/third_party/externals/opengl-registry/extensions/INTEL/
DINTEL_conservative_rasterization.txt54 sample covered by a polygon. Conservative rasterization includes all
55 fragments that are at least partially covered by the polygon.
58 covered by a polygon, i.e. if all parts of the fragment are within the
59 polygon. An application may, for example, want to process fully covered
66 Conservative rasterization automatically disables polygon antialiasing
85 The determination of which fragments are produced by polygon rasterization
93 Conservative rasterization automatically disables polygon antialiasing
100 The determination of which fragments are produced as a result of polygon
105 determined as described in section 14.6.1. When enabled the polygon
107 are inside the polygon, after expanding the polygon by 1/512th of a pixel
[all …]
/third_party/openGLES/extensions/INTEL/
DINTEL_conservative_rasterization.txt54 sample covered by a polygon. Conservative rasterization includes all
55 fragments that are at least partially covered by the polygon.
58 covered by a polygon, i.e. if all parts of the fragment are within the
59 polygon. An application may, for example, want to process fully covered
66 Conservative rasterization automatically disables polygon antialiasing
85 The determination of which fragments are produced by polygon rasterization
93 Conservative rasterization automatically disables polygon antialiasing
100 The determination of which fragments are produced as a result of polygon
105 determined as described in section 14.6.1. When enabled the polygon
107 are inside the polygon, after expanding the polygon by 1/512th of a pixel
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_polygon_offset.txt25 value of the depth slope of the polygon, measured and applied in window
31 offset factors are used for each polygon. Applications include
61 polygon rasterization, specifically while the polygon mode (specified
84 where factor and bias are the polygon offset factor and bias as
161 POLYGON_OFFSET_EXT IsEnabled B False polygon/enable
162 POLYGON_OFFSET_FACTOR_EXT GetFloatv R 0 polygon
163 POLYGON_OFFSET_BIAS_EXT GetFloatv R 0 polygon
DEXT_polygon_offset_clamp.txt43 This extension adds a new parameter to the polygon offset function
47 in arbitrarily large polygon offsets. In the particular case of
76 a polygon may be offset by a single value that is computed for that
77 polygon. The function that determines this value is specified with
83 <factor> scales the maximum depth slope of the polygon, and <units>
86 summed to produce the polygon offset value, which may then be
95 "The offset value o for a polygon is
131 POLYGON_OFFSET_CLAMP_EXT R GetFloatv 0 Polygon offset clamp 3.6.4 polygon
192 applied to the polygon offset.
/third_party/openGLES/extensions/EXT/
DEXT_polygon_offset.txt25 value of the depth slope of the polygon, measured and applied in window
31 offset factors are used for each polygon. Applications include
61 polygon rasterization, specifically while the polygon mode (specified
84 where factor and bias are the polygon offset factor and bias as
161 POLYGON_OFFSET_EXT IsEnabled B False polygon/enable
162 POLYGON_OFFSET_FACTOR_EXT GetFloatv R 0 polygon
163 POLYGON_OFFSET_BIAS_EXT GetFloatv R 0 polygon
DEXT_polygon_offset_clamp.txt43 This extension adds a new parameter to the polygon offset function
47 in arbitrarily large polygon offsets. In the particular case of
76 a polygon may be offset by a single value that is computed for that
77 polygon. The function that determines this value is specified with
83 <factor> scales the maximum depth slope of the polygon, and <units>
86 summed to produce the polygon offset value, which may then be
95 "The offset value o for a polygon is
131 POLYGON_OFFSET_CLAMP_EXT R GetFloatv 0 Polygon offset clamp 3.6.4 polygon
192 applied to the polygon offset.
/third_party/mesa3d/src/freedreno/ci/
Dfreedreno-a420-fails.txt161 # The clipped polygon is off-by-one pixel from the directly drawn one
239 spec@ext_transform_feedback@tessellation polygon flat_first,Fail
240 spec@ext_transform_feedback@tessellation polygon flat_last,Fail
241 spec@ext_transform_feedback@tessellation polygon monochrome,Fail
242 spec@ext_transform_feedback@tessellation polygon smooth,Fail
243 spec@ext_transform_feedback@tessellation polygon wireframe,Fail
279 # Line/polygon Stippling
288 spec@!opengl 2.1@polygon-stipple-fs,Fail
324 spec@!opengl 1.1@polygon-mode,Fail
325 spec@!opengl 1.1@polygon-mode-facing,Fail
[all …]
Dfreedreno-a530-fails.txt261 spec@!opengl 1.1@polygon-mode,Fail
262 spec@!opengl 1.1@polygon-mode-facing,Fail
263 spec@!opengl 1.1@polygon-mode-offset,Fail
264 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on bottom edge,Fail
265 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on left edge,Fail
266 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on right edge,Fail
267 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on top edge,Fail
268 spec@!opengl 1.1@polygon-mode-offset@config 1: Expected blue pixel in center,Fail
269 spec@!opengl 1.1@polygon-mode-offset@config 2: Expected blue pixel in center,Fail
270 spec@!opengl 1.1@polygon-mode-offset@config 3: Expected white pixel on bottom edge,Fail
[all …]
/third_party/mesa3d/src/broadcom/ci/
Dv3d-rpi4-fails.txt45 spec@!opengl 1.1@polygon-mode,Fail
46 spec@!opengl 1.1@polygon-mode-offset,Fail
47 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on bottom edge,Fail
48 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on left edge,Fail
49 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on right edge,Fail
50 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on top edge,Fail
51 spec@!opengl 1.1@polygon-mode-offset@config 1: Expected blue pixel in center,Fail
52 spec@!opengl 1.1@polygon-mode-offset@config 1: Expected white pixel on right edge,Fail
53 spec@!opengl 1.1@polygon-mode-offset@config 1: Expected white pixel on top edge,Fail
54 spec@!opengl 1.1@polygon-mode-offset@config 2: Expected blue pixel in center,Fail
[all …]
Dbroadcom-rpi4-fails.txt44 spec@!opengl 1.1@polygon-mode,Fail
45 spec@!opengl 1.1@polygon-mode-offset,Fail
46 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on bottom edge,Fail
47 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on left edge,Fail
48 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on right edge,Fail
49 spec@!opengl 1.1@polygon-mode-offset@config 0: Expected white pixel on top edge,Fail
50 spec@!opengl 1.1@polygon-mode-offset@config 1: Expected blue pixel in center,Fail
51 spec@!opengl 1.1@polygon-mode-offset@config 1: Expected white pixel on right edge,Fail
52 spec@!opengl 1.1@polygon-mode-offset@config 1: Expected white pixel on top edge,Fail
53 spec@!opengl 1.1@polygon-mode-offset@config 2: Expected blue pixel in center,Fail
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_polygon_offset_clamp.txt40 This extension adds a new parameter to the polygon offset function
44 in arbitrarily large polygon offsets. In the particular case of
73 a polygon may be offset by a single value that is computed for that
74 polygon. The function that determines this value is specified with
80 <factor> scales the maximum depth slope of the polygon, and <units>
83 summed to produce the polygon offset value, which may then be
92 "The offset value o for a polygon is
128 POLYGON_OFFSET_CLAMP R GetFloatv 0 Polygon offset clamp 14.6.5 polygon
181 applied to the polygon offset.
/third_party/mesa3d/docs/gallium/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 …]
/third_party/openGLES/extensions/ARB/
DARB_polygon_offset_clamp.txt55 This extension adds a new parameter to the polygon offset function
59 in arbitrarily large polygon offsets. In the particular case of
88 a polygon may be offset by a single value that is computed for that
89 polygon. The function that determines this value is specified with
95 <factor> scales the maximum depth slope of the polygon, and <units>
98 summed to produce the polygon offset value, which may then be
107 "The offset value o for a polygon is
143 POLYGON_OFFSET_CLAMP R GetFloatv 0 Polygon offset clamp 14.6.5 polygon
196 applied to the polygon offset.

12345678910>>...14