Home | History | Annotate | Download | only in gl

Lines Matching refs:coords

33  * indicates the source of the input coords.
80 * Retrieves the source coords from transformKey for the transform at transformIdx. It may not be
81 * the same coordinate set as the original GrCoordTransform if the position and local coords are
91 * Retrieves the final translation that a transform needs to apply to its source coords (and
115 * Retrieves the final matrix that a transform needs to apply to its source coords.
168 // We only make the key indicate that device coords are referenced when the local coords
169 // are not actually determined by positions. Otherwise the local coords var and position
270 SkSTArray<2, TransformedCoords> coords(effect->numTransforms());
274 this->emitTransforms(builder, effect, key, &coords);
288 vertexEffect->emitCode(builder, drawEffect, key, outColor, inColor, coords, samplers);
290 glEffect->emitCode(builder, drawEffect, key, outColor, inColor, coords, samplers);
370 const GrGLShaderVar& coords = kPosition_GrCoordSet == get_source_coords(totalKey, t) ?
373 // varying = matrix * coords (logically)
377 builder->vsCodeAppendf("\t%s = %s;\n", vsVaryingName, coords.c_str());
382 vsVaryingName, uniName, coords.c_str());
388 vsVaryingName, uniName, coords.c_str());
391 vsVaryingName, uniName, coords.c_str());
480 SkSTArray<2, TransformedCoords> coords(effect->numTransforms());
484 this->setupTexGen(builder, effect, key, &coords);
496 glEffect->emitCode(builder, drawEffect, key, outColor, inColor, coords, samplers);