Lines Matching refs:values
171 // GrRandoms nextU() values have patterns in the low bits
172 // So using nextU() % array_count might never take some values.
358 float values[4] = {
370 values[1] = 1.0f - values[1];
371 values[3] = 1.0f - values[3];
373 // of elements so that values = (l, t, r, b).
374 SkTSwap(values[1], values[3]);
377 values[0] *= SkScalarToFloat(texture->contentScaleX());
378 values[2] *= SkScalarToFloat(texture->contentScaleX());
379 values[1] *= SkScalarToFloat(texture->contentScaleY());
380 values[3] *= SkScalarToFloat(texture->contentScaleY());
382 GR_GL(Uniform4fv(uni, 1, values));
446 float values[6] = {
448 1 / (2.f * values[0]),
454 GR_GL(Uniform1fv(uni, 6, values));