Lines Matching refs:arrayCount
67 int arrayCount, in set1iv() argument
72 SkASSERT(arrayCount > 0); in set1iv()
73 SkASSERT(arrayCount <= uni.fArrayCount || in set1iv()
74 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set1iv()
78 memcpy(buffer, v, arrayCount * sizeof(int32_t)); in set1iv()
80 return this->INHERITED::set1iv(u, arrayCount, v); in set1iv()
85 int arrayCount, in set1fv() argument
90 SkASSERT(arrayCount > 0); in set1fv()
91 SkASSERT(arrayCount <= uni.fArrayCount || in set1fv()
92 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set1fv()
96 memcpy(buffer, v, arrayCount * sizeof(float)); in set1fv()
98 return this->INHERITED::set1fv(u, arrayCount, v); in set1fv()
103 int arrayCount, in set2iv() argument
108 SkASSERT(arrayCount > 0); in set2iv()
109 SkASSERT(arrayCount <= uni.fArrayCount || in set2iv()
110 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set2iv()
114 memcpy(buffer, v, arrayCount * 2 * sizeof(int32_t)); in set2iv()
116 return this->INHERITED::set2iv(u, arrayCount, v); in set2iv()
121 int arrayCount, in set2fv() argument
126 SkASSERT(arrayCount > 0); in set2fv()
127 SkASSERT(arrayCount <= uni.fArrayCount || in set2fv()
128 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set2fv()
132 memcpy(buffer, v, arrayCount * 2 * sizeof(float)); in set2fv()
134 return this->INHERITED::set2fv(u, arrayCount, v); in set2fv()
139 int arrayCount, in setMatrix2fv() argument
145 SkASSERT(arrayCount > 0); in setMatrix2fv()
146 SkASSERT(arrayCount <= uni.fArrayCount || in setMatrix2fv()
147 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in setMatrix2fv()
154 memcpy(buffer, m, arrayCount * 2 * 2 * sizeof(float)); in setMatrix2fv()
156 this->INHERITED::setMatrix2fv(u, arrayCount, m); in setMatrix2fv()