Home
last modified time | relevance | path

Searched refs:Polygon (Results 1 – 25 of 128) sorted by relevance

123456

/third_party/mesa3d/src/mesa/main/
Dpolygon.c59 if (ctx->Polygon.CullFaceMode == mode) in cull_face()
71 ctx->Polygon.CullFaceMode = mode; in cull_face()
109 if (ctx->Polygon.FrontFace == mode) in front_face()
120 ctx->Polygon.FrontFace = mode; in front_face()
160 ctx->Polygon.FrontMode == GL_FILL_RECTANGLE_NV || in polygon_mode()
161 ctx->Polygon.BackMode == GL_FILL_RECTANGLE_NV; in polygon_mode()
190 if (ctx->Polygon.FrontMode == mode) in polygon_mode()
195 ctx->Polygon.FrontMode = mode; in polygon_mode()
198 if (ctx->Polygon.FrontMode == mode && ctx->Polygon.BackMode == mode) in polygon_mode()
203 ctx->Polygon.FrontMode = mode; in polygon_mode()
[all …]
Dattrib.c143 attr->CullFace = ctx->Polygon.CullFlag; in _mesa_PushAttrib()
179 attr->PolygonOffsetPoint = ctx->Polygon.OffsetPoint; in _mesa_PushAttrib()
180 attr->PolygonOffsetLine = ctx->Polygon.OffsetLine; in _mesa_PushAttrib()
181 attr->PolygonOffsetFill = ctx->Polygon.OffsetFill; in _mesa_PushAttrib()
182 attr->PolygonSmooth = ctx->Polygon.SmoothFlag; in _mesa_PushAttrib()
183 attr->PolygonStipple = ctx->Polygon.StippleFlag; in _mesa_PushAttrib()
241 memcpy(&head->Polygon, &ctx->Polygon, sizeof(head->Polygon)); in _mesa_PushAttrib()
360 TEST_AND_UPDATE(ctx->Polygon.CullFlag, enable->CullFace, GL_CULL_FACE); in pop_enable_group()
430 TEST_AND_UPDATE(ctx->Polygon.OffsetPoint, enable->PolygonOffsetPoint, in pop_enable_group()
432 TEST_AND_UPDATE(ctx->Polygon.OffsetLine, enable->PolygonOffsetLine, in pop_enable_group()
[all …]
Ddraw_validate.c252 if ((ctx->Polygon.FrontMode == GL_FILL_RECTANGLE_NV) != in _mesa_update_valid_to_render_state()
253 (ctx->Polygon.BackMode == GL_FILL_RECTANGLE_NV)) in _mesa_update_valid_to_render_state()
264 if (ctx->Polygon.FrontMode != GL_FILL || in _mesa_update_valid_to_render_state()
265 ctx->Polygon.BackMode != GL_FILL) { in _mesa_update_valid_to_render_state()
Denable.c496 if (ctx->Polygon.CullFlag == state) in _mesa_set_enable()
501 ctx->Polygon.CullFlag = state; in _mesa_set_enable()
809 if (ctx->Polygon.SmoothFlag == state) in _mesa_set_enable()
814 ctx->Polygon.SmoothFlag = state; in _mesa_set_enable()
819 if (ctx->Polygon.StippleFlag == state) in _mesa_set_enable()
824 ctx->Polygon.StippleFlag = state; in _mesa_set_enable()
829 if (ctx->Polygon.OffsetPoint == state) in _mesa_set_enable()
834 ctx->Polygon.OffsetPoint = state; in _mesa_set_enable()
839 if (ctx->Polygon.OffsetLine == state) in _mesa_set_enable()
844 ctx->Polygon.OffsetLine = state; in _mesa_set_enable()
[all …]
Dstate.h117 return ctx->Polygon.FrontFace == GL_CW; in _mesa_polygon_get_front_bit()
119 return ctx->Polygon.FrontFace == GL_CCW; in _mesa_polygon_get_front_bit()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DClipper.hpp23 struct Polygon;
60 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);
DPolygon.hpp22 struct Polygon struct
24 Polygon(const float4 *P0, const float4 *P1, const float4 *P2) in Polygon() function
35 Polygon(const float4 *P, int n) in Polygon() function
DClipper.cpp43 bool Clipper::clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw) in clip()
84 void Clipper::clipNear(Polygon &polygon) in clipNear()
122 void Clipper::clipFar(Polygon &polygon) in clipFar()
160 void Clipper::clipLeft(Polygon &polygon) in clipLeft()
198 void Clipper::clipRight(Polygon &polygon) in clipRight()
236 void Clipper::clipTop(Polygon &polygon) in clipTop()
274 void Clipper::clipBottom(Polygon &polygon) in clipBottom()
312 void Clipper::clipPlane(Polygon &polygon, const Plane &p) in clipPlane()
DSetupProcessor.hpp28 struct Polygon;
86 …typedef bool (*RoutinePointer)(Primitive *primitive, const Triangle *triangle, const Polygon *poly…
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c76 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW); in st_update_rasterizer()
112 if (ctx->Polygon.CullFlag) { in st_update_rasterizer()
113 switch (ctx->Polygon.CullFaceMode) { in st_update_rasterizer()
137 raster->fill_front = translate_fill(ctx->Polygon.FrontMode); in st_update_rasterizer()
138 raster->fill_back = translate_fill(ctx->Polygon.BackMode); in st_update_rasterizer()
154 if (ctx->Polygon.OffsetPoint || in st_update_rasterizer()
155 ctx->Polygon.OffsetLine || in st_update_rasterizer()
156 ctx->Polygon.OffsetFill) { in st_update_rasterizer()
157 raster->offset_point = ctx->Polygon.OffsetPoint; in st_update_rasterizer()
158 raster->offset_line = ctx->Polygon.OffsetLine; in st_update_rasterizer()
[all …]
Dst_atom.c168 bool edgeflags_enabled = st->ctx->Polygon.FrontMode != GL_FILL || in st_update_edgeflags()
169 st->ctx->Polygon.BackMode != GL_FILL; in st_update_edgeflags()
/third_party/skia/gm/
Dconcavepaths.cpp18 canvas->drawPath(SkPath::Polygon({{20,20}, {80,20}, {30,30}, {20,80}}, false), paint); in test_concave()
25 canvas->drawPath(SkPath::Polygon({{20,20}, {20,80}, {30,30}, {80,20}}, false), paint); in test_reverse_concave()
33 canvas->drawPath(SkPath::Polygon({{20,20}, {80,80}, {80,20}, {20,80}}, false), paint); in test_bowtie()
41 canvas->drawPath(SkPath::Polygon({{20,20}, {50,40}, {80,20}, {80,80}, {50,60}, {20,80}}, in test_fake_bowtie()
51 canvas->drawPath(SkPath::Polygon({{20,20}, {50,50}, {68,20}, {68,80}, {50,50}, {20,80}}, in test_intruding_vertex()
64 canvas->drawPath(SkPath::Polygon(pts, SK_ARRAY_COUNT(pts), false, in test_inversion_repeat_vertex()
73 canvas->drawPath(SkPath::Polygon({{20,20}, {80,80}, {70,50}, {80,20}, {20,80}, {0,50}}, false, in test_fish()
105 canvas->drawPath(SkPath::Polygon({{30,20}, {50,80}, {70,20}, {20,57}, {80,57}}, false), in test_star()
121 canvas->drawPath(SkPath::Polygon(pts, SK_ARRAY_COUNT(pts), false), paint); in test_twist()
129 canvas->drawPath(SkPath::Polygon({{50,50}, {50,20}, {80,20}, {50,50}, {20,50}, {20,80}}, false), in test_stairstep()
[all …]
Ddaa.cpp54 SkPath path = SkPath::Polygon({{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}, false);
60 SkPath path = SkPath::Polygon({{K*0.5f,0},{K*0.5f,K},{K,K},{K,0}}, false);
113 SkPath path = SkPath::Polygon({{K*0.5f,0},{0,0},{0,K},{K*0.5f,K},
Dpicture.cpp32 canvas->drawPath(SkPath::Polygon({{0, 0}, {100, 0}, {100, 100}}, false), paint); in make_picture()
35 canvas->drawPath(SkPath::Polygon({{0, 0}, {100, 0}, {0, 100}}, false), paint); in make_picture()
Dpatharcto.cpp67 return SkPath::Polygon(pts, count, isClosed); in new_school_polygon()
78 const SkPath path1 = SkPath::Polygon(p1, SK_ARRAY_COUNT(p1), false);
Dconvex_all_line_paths.cpp342 SkPath p1 = SkPath::Polygon({ in onDraw()
355 SkPath p2 = SkPath::Polygon({ in onDraw()
377 SkPath p3 = SkPath::Polygon({ in onDraw()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DPolygon.hpp22 struct Polygon struct
24 Polygon(const float4 *P0, const float4 *P1, const float4 *P2) in Polygon() argument
35 Polygon(const float4 *P, int n) in Polygon() function
DClipper.cpp32 void clipNear(sw::Polygon &polygon) in clipNear()
70 void clipFar(sw::Polygon &polygon) in clipFar()
108 void clipLeft(sw::Polygon &polygon) in clipLeft()
146 void clipRight(sw::Polygon &polygon) in clipRight()
184 void clipTop(sw::Polygon &polygon) in clipTop()
222 void clipBottom(sw::Polygon &polygon) in clipBottom()
276 bool Clipper::Clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw) in Clip()
DClipper.hpp23 struct Polygon;
43 static bool Clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw);
DSetupProcessor.hpp30 struct Polygon;
35 …k::Device *device, Primitive *primitive, const Triangle *triangle, const Polygon *polygon, const D…
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_polygon_mode.txt75 Insert new section 13.5.1pm, "Options Controlling Polygon Rasterization"
111 Modify Section 13.5.3, "Polygon Multisample Rasterization" as follows:
120 Modify Section 13.5.4 "Polygon Rasterization State"
160 POLYGON_MODE_NV E GetIntegerv FILL_NV Polygon rasterization mode 13.5.1pm
162 POLYGON_OFFSET_POINT_NV B IsEnabled FALSE Polygon offset enable for 13.5.2
164 POLYGON_OFFSET_LINE_NV B IsEnabled FALSE Polygon offset enable for 13.5.2
167 Change description for POLYGON_OFFSET_FILL to "Polygon offset enable for
DNV_fill_rectangle.txt61 Modify Section 14.6.4 (Options Controlling Polygon Rasterization)
102 Polygon antialiasing applies only to the FILL state of PolygonMode. Polygon
178 RESOLVED: Polygon offset is computed and applied normally to the fill
/third_party/openGLES/extensions/NV/
DNV_polygon_mode.txt75 Insert new section 13.5.1pm, "Options Controlling Polygon Rasterization"
111 Modify Section 13.5.3, "Polygon Multisample Rasterization" as follows:
120 Modify Section 13.5.4 "Polygon Rasterization State"
160 POLYGON_MODE_NV E GetIntegerv FILL_NV Polygon rasterization mode 13.5.1pm
162 POLYGON_OFFSET_POINT_NV B IsEnabled FALSE Polygon offset enable for 13.5.2
164 POLYGON_OFFSET_LINE_NV B IsEnabled FALSE Polygon offset enable for 13.5.2
167 Change description for POLYGON_OFFSET_FILL to "Polygon offset enable for
DNV_fill_rectangle.txt61 Modify Section 14.6.4 (Options Controlling Polygon Rasterization)
102 Polygon antialiasing applies only to the FILL state of PolygonMode. Polygon
178 RESOLVED: Polygon offset is computed and applied normally to the fill
/third_party/mesa3d/docs/gallium/
Dpipeline.txt48 | Polygon Culling |
64 | Polygon Offset |
85 | * Polygon Stipple |

123456