Lines Matching full:vertex
34 * the interpolated vertex positions or explicit per-vertex coords, depending upon the
43 * per-vertex colors, depending upon GrVertexLayout. The input to the first coverage stage is
44 * either a constant coverage (usually full-coverage), interpolated per-vertex coverage, or
110 /// @name Vertex Format
115 * Flags that indicate the layout of vertex data. Vertices always contain
117 * of 2D texture coordinates, per-vertex colors, and per-vertex coverage.
171 /* Each vertex specificies an edge. Distance to the edge is used to
183 // Helpers for picking apart vertex layouts
186 * Helper function to compute the size of a vertex from a vertex layout
187 * @return size of a single vertex.
206 * Helper function to compute the offset of texture coordinates in a vertex
207 * @return offset of texture coordinates in vertex layout or -1 if the
214 * Helper function to compute the offset of the color in a vertex
215 * @return offset of color in vertex layout or -1 if the
221 * Helper function to compute the offset of the coverage in a vertex
222 * @return offset of coverage in vertex layout or -1 if the
228 * Helper function to compute the offset of the edge pts in a vertex
229 * @return offset of edge in vertex layout or -1 if the
235 * Helper function to determine if vertex layout contains explicit texture
241 * @return true if vertex specifies texture coordinates for the index,
248 * Helper function to compute the size of each vertex and the offsets of
255 * tex coord index in the vertex or -1 if
258 * color field in each vertex, or -1 if
259 * there aren't per-vertex colors. (optional)
261 * coverage field in each vertex, or -1 if
262 * there aren't per-vertex coeverages.
265 * edge eq field in each vertex, or -1 if
266 * there aren't per-vertex edge equations.
268 * @return size of a single vertex
277 * Helper function to compute the size of each vertex and the offsets of
285 * tex coord index in the vertex or -1 if
288 * color field in each vertex, or -1 if
289 * there aren't per-vertex colors.
292 * coverage field in each vertex, or -1 if
293 * there aren't per-vertex coeverages.
296 * edge eq field in each vertex, or -1 if
297 * there aren't per-vertex edge equations.
299 * @return size of a single vertex
318 * Accessing positions, texture coords, or colors, of a vertex within an
324 * Gets a pointer to a GrPoint of a vertex's position or texture
327 * @param vertexIndex the index of the vertex in the array
328 * @param vertexSize the size of each vertex in the array
329 * @param offset the offset in bytes of the vertex component.
330 * Defaults to zero (corresponding to vertex position)
331 * @return pointer to the vertex component as a GrPoint
351 * Gets a pointer to a GrColor inside a vertex within a vertex array.
353 * @param vertexIndex the index of the vertex in the array
354 * @param vertexSize the size of each vertex in the array
355 * @param offset the offset in bytes of the vertex color
356 * @return pointer to the vertex component as a GrColor
455 * coverage is ignored when per-vertex coverage is provided.
462 * Version of above that specifies 4 channel per-vertex color. The value
689 * Sets the matrix applied to vertex positions.
803 * If a stage's texture matrix is applied to explicit per-vertex coords, rather than to
935 // edges are specified as per-vertex data, vertices that are shared by
941 * When specifying edges as vertex data this enum specifies what type of
971 * Determines the interpretation per-vertex edge data when the
972 * kEdge_VertexLayoutBit is set (see GrDrawTarget). When per-vertex edges