Home | History | Annotate | Download | only in gpu

Lines Matching defs:Edge

529     // @name Edge AA
530 // There are two ways to perform antialiasing using edge equations. One
531 // is to specify an (linear or quadratic) edge eq per-vertex. This requires
541 * the edge type requires fewer than 4.
559 * Determines the interpretation per-vertex edge data when the
572 * a single draw call when performing edge antialiasing. This is used for
582 class Edge {
584 Edge() {}
585 Edge(float x, float y, float z) : fX(x), fY(y), fZ(z) {}
586 GrPoint intersect(const Edge& other) {
597 * Sets the edge data required for edge antialiasing.
599 * @param edges 3 * numEdges float values, representing the edge
602 void setEdgeAAData(const Edge* edges, int numEdges) {
604 memcpy(fEdgeAAEdges, edges, numEdges * sizeof(GrDrawState::Edge));
610 const Edge* getAAEdges() const { return fEdgeAAEdges; }
643 * Modifies the behavior of edge AA specified by setEdgeAA. If set,
644 * will test edge pairs for convexity when rasterizing. Set this if the
800 Edge fEdgeAAEdges[kMaxEdges];