/external/mesa3d/src/gallium/state_trackers/vega/ |
D | polygon.h | 32 struct polygon; 37 struct polygon *polygon_create(int size); 38 struct polygon *polygon_create_from_data(float *data, int size); 39 void polygon_destroy(struct polygon *poly); 41 void polygon_resize(struct polygon *poly, int new_size); 42 int polygon_size(struct polygon *poly); 44 int polygon_vertex_count(struct polygon *poly); 45 float * polygon_data(struct polygon *poly); 47 void polygon_vertex_append(struct polygon *p, 49 void polygon_append_polygon(struct polygon *dst, [all …]
|
D | polygon.c | 52 struct polygon struct 70 static void polygon_print(struct polygon *poly) argument 84 struct polygon * polygon_create(int size) in polygon_create() 86 struct polygon *poly = (struct polygon*)malloc(sizeof(struct polygon)); in polygon_create() 97 struct polygon * polygon_create_from_data(float *data, int size) in polygon_create_from_data() 99 struct polygon *poly = polygon_create(size); in polygon_create_from_data() 109 void polygon_destroy(struct polygon *poly) in polygon_destroy() 115 void polygon_resize(struct polygon *poly, int new_size) in polygon_resize() 127 int polygon_size(struct polygon *poly) in polygon_size() 132 int polygon_vertex_count(struct polygon *poly) in polygon_vertex_count() [all …]
|
D | bezier.h | 30 struct polygon; 56 struct polygon *bezier_to_polygon(struct bezier *bez); 58 struct polygon *poly);
|
D | arc.h | 32 struct polygon; 63 struct polygon *poly,
|
D | arc.c | 464 struct polygon *poly = (struct polygon*)cb->user_data; in polygon_point() 470 struct polygon *poly = (struct polygon*)cb->user_data; in polygon_bezier() 656 struct polygon *poly, in arc_add_to_polygon()
|
D | SConscript | 37 'polygon.c',
|
D | path.h | 33 struct polygon;
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
D | GeometryUtils.java | 141 static public Vector2 polygonCentroid (float[] polygon, int offset, int count, Vector2 centroid) { in polygonCentroid() argument 148 float x0 = polygon[i]; in polygonCentroid() 149 float y0 = polygon[i + 1]; in polygonCentroid() 150 float x1 = polygon[i + 2]; in polygonCentroid() 151 float y1 = polygon[i + 3]; in polygonCentroid() 158 float x0 = polygon[i]; in polygonCentroid() 159 float y0 = polygon[i + 1]; in polygonCentroid() 160 float x1 = polygon[offset]; in polygonCentroid() 161 float y1 = polygon[offset + 1]; in polygonCentroid() 179 static public float polygonArea (float[] polygon, int offset, int count) { in polygonArea() argument [all …]
|
D | ConvexHull.java | 38 public FloatArray computePolygon (float[] polygon, boolean sorted) { in computePolygon() argument 39 return computePolygon(polygon, 0, polygon.length, sorted); in computePolygon() 93 public IntArray computeIndices (float[] polygon, boolean sorted, boolean yDown) { in computeIndices() argument 94 return computeIndices(polygon, 0, polygon.length, sorted, yDown); in computeIndices()
|
D | Intersector.java | 113 public static boolean isPointInPolygon (Array<Vector2> polygon, Vector2 point) { in isPointInPolygon() argument 114 Vector2 lastVertice = polygon.peek(); in isPointInPolygon() 116 for (int i = 0; i < polygon.size; i++) { in isPointInPolygon() 117 Vector2 vertice = polygon.get(i); in isPointInPolygon() 131 public static boolean isPointInPolygon (float[] polygon, int offset, int count, float x, float y) { in isPointInPolygon() argument 135 float yi = polygon[i + 1]; in isPointInPolygon() 136 float yj = polygon[j + 1]; in isPointInPolygon() 138 float xi = polygon[i]; in isPointInPolygon() 139 if (xi + (y - yi) / (yj - yi) * (polygon[j] - xi) < x) oddNodes = !oddNodes; in isPointInPolygon() 764 public static boolean intersectLinePolygon (Vector2 p1, Vector2 p2, Polygon polygon) { in intersectLinePolygon() argument [all …]
|
D | DelaunayTriangulator.java | 47 public ShortArray computeTriangles (float[] polygon, boolean sorted) { in computeTriangles() argument 48 return computeTriangles(polygon, 0, polygon.length, sorted); in computeTriangles()
|
/external/libgdx/gdx/src/com/badlogic/gdx/maps/objects/ |
D | PolygonMapObject.java | 13 private Polygon polygon; field in PolygonMapObject 17 return polygon; in getPolygon() 21 public void setPolygon (Polygon polygon) { in setPolygon() argument 22 this.polygon = polygon; in setPolygon() 32 polygon = new Polygon(vertices); in PolygonMapObject() 36 public PolygonMapObject (Polygon polygon) { in PolygonMapObject() argument 37 this.polygon = polygon; in PolygonMapObject()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/ |
D | CollisionFiltering.java | 75 PolygonShape polygon = new PolygonShape(); in createWorld() local 76 polygon.set(vertices); in createWorld() 79 triangleShapeDef.shape = polygon; in createWorld() 97 polygon.set(vertices); in createWorld() 130 polygon.setAsBox(1, 0.5f); in createWorld() 132 boxShapeDef.shape = polygon; in createWorld() 147 polygon.setAsBox(2, 1); in createWorld()
|
/external/mesa3d/src/gallium/docs/source/cso/ |
D | rasterizer.rst | 7 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 polygon offset scale [all …]
|
/external/clang/test/Sema/ |
D | flexible-array-init.c | 43 struct polygon { struct 47 struct polygon poly = { argument
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | TiledMapObjectLoadingTest.java | 115 Polygon polygon = ((PolygonMapObject)mapObject).getPolygon(); in render() local 116 shapeRenderer.polygon(polygon.getTransformedVertices()); in render()
|
/external/mesa3d/src/mesa/main/ |
D | descrip.mms | 70 polygon.c \ 145 polygon.obj,\ 227 polygon.obj : polygon.c
|
D | attrib.c | 1175 const struct gl_polygon_attrib *polygon; in _mesa_PopAttrib() local 1176 polygon = (const struct gl_polygon_attrib *) attr->data; in _mesa_PopAttrib() 1177 _mesa_CullFace(polygon->CullFaceMode); in _mesa_PopAttrib() 1178 _mesa_FrontFace(polygon->FrontFace); in _mesa_PopAttrib() 1179 _mesa_PolygonMode(GL_FRONT, polygon->FrontMode); in _mesa_PopAttrib() 1180 _mesa_PolygonMode(GL_BACK, polygon->BackMode); in _mesa_PopAttrib() 1181 _mesa_PolygonOffset(polygon->OffsetFactor, in _mesa_PopAttrib() 1182 polygon->OffsetUnits); in _mesa_PopAttrib() 1183 _mesa_set_enable(ctx, GL_POLYGON_SMOOTH, polygon->SmoothFlag); in _mesa_PopAttrib() 1184 _mesa_set_enable(ctx, GL_POLYGON_STIPPLE, polygon->StippleFlag); in _mesa_PopAttrib() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/dot/ |
D | stopstate.st | 1 node [fontsize=11, shape = <if(useBox)>polygon,sides=4,peripheries=2<else>doublecircle, fixedsize=t…
|
/external/mesa3d/src/gallium/auxiliary/indices/ |
D | u_unfilled_gen.py | 168 def polygon(intype, outtype): function 200 polygon(intype, outtype)
|
D | u_indices_gen.py | 226 def polygon(intype, outtype, inpv, outpv): function 267 polygon(intype, outtype, inpv, outpv)
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/ |
D | b2Distance.cpp | 43 const b2PolygonShape* polygon = static_cast<const b2PolygonShape*>(shape); in Set() local 44 m_vertices = polygon->m_vertices; in Set() 45 m_count = polygon->m_count; in Set() 46 m_radius = polygon->m_radius; in Set()
|
/external/mesa3d/docs/ |
D | ARB_color_buffer_float.txt | 2 … fixed-point, some floating-point, with FIXED_ONLY fragment clamping and polygon smooth enabled ma…
|
D | RELNOTES-6.2 | 22 ToDo: PBO for polygon stipple, convolution filter, etc.
|
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/ |
D | BaseTmxMapLoader.java | 191 Polygon polygon = new Polygon(vertices); in loadObject() local 192 polygon.setPosition(x, y); in loadObject() 193 object = new PolygonMapObject(polygon); in loadObject()
|