Lines Matching defs:value
29 static constexpr add_a_UNIFORM_TYPE_specialization_for<T> value = {};
33 static constexpr SkRuntimeEffect::Uniform::Type value = SkRuntimeEffect::Uniform::Type::E; \
36 static constexpr SkRuntimeEffect::Uniform::Type value = SkRuntimeEffect::Uniform::Type::E; \
61 T value;
64 static GrSpecializedUniform<T> Specialize(const T& value) {
65 return {true, value};
68 static GrSpecializedUniform<T> SpecializeIf(bool condition, const T& value) {
69 return {condition, value};
74 T value;
77 static GrOptionalUniform<T> When(bool condition, const T& value) {
78 return {condition, value};
117 * Constructs a GrSkSLFP from a series of name-value pairs, corresponding to the children and
120 * Each individual argument must be preceded by a name that matches the SkSL name of the value
245 // specialize on this particular value, set the flag. Then, continue processing the actual
246 // value (by just peeling off the wrapper). This lets our generic `const T&` case (below)
247 // handle copying the data into our uniform block, and advancing the per-value uniform
253 uniformDataPtr, uniformFlagsPtr, name, val.value, std::forward<Args>(remainder)...);
264 memcpy(uniformDataPtr, &val.value, sizeof(val.value));
265 uniformDataPtr += sizeof(val.value);
290 // Raw uniform value case -- We copy the supplied value into our uniform data area,
352 static_assert(!std::is_array<T>::value); // No specializing arrays
353 checkArgs(uIter, uEnd, cIter, cEnd, name, val.value, std::forward<Args>(remainder)...);
364 checkArgs(uIter, uEnd, cIter, cEnd, name, val.value, std::forward<Args>(remainder)...);
382 SkASSERTF(GrFPUniformType<T>::value == uIter->type,