Lines Matching refs:arrayCount
14 SkASSERT(arrayCount <= uni.fArrayCount || \
15 (1 == arrayCount && GrGLShaderVar::kNonArray == uni.fArrayCount))
75 int arrayCount, in set1fv() argument
79 SkASSERT(arrayCount > 0); in set1fv()
80 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set1fv()
86 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v)); in set1fv()
89 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v)); in set1fv()
107 int arrayCount, in set2fv() argument
111 SkASSERT(arrayCount > 0); in set2fv()
112 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set2fv()
115 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fFSLocation, arrayCount, v)); in set2fv()
118 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fVSLocation, arrayCount, v)); in set2fv()
136 int arrayCount, in set3fv() argument
140 SkASSERT(arrayCount > 0); in set3fv()
141 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set3fv()
144 GR_GL_CALL(fGpu->glInterface(), Uniform3fv(uni.fFSLocation, arrayCount, v)); in set3fv()
147 GR_GL_CALL(fGpu->glInterface(), Uniform3fv(uni.fVSLocation, arrayCount, v)); in set3fv()
169 int arrayCount, in set4fv() argument
173 SkASSERT(arrayCount > 0); in set4fv()
174 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set4fv()
177 GR_GL_CALL(fGpu->glInterface(), Uniform4fv(uni.fFSLocation, arrayCount, v)); in set4fv()
180 GR_GL_CALL(fGpu->glInterface(), Uniform4fv(uni.fVSLocation, arrayCount, v)); in set4fv()
211 int arrayCount, in setMatrix3fv() argument
215 SkASSERT(arrayCount > 0); in setMatrix3fv()
216 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in setMatrix3fv()
220 UniformMatrix3fv(uni.fFSLocation, arrayCount, false, matrices)); in setMatrix3fv()
224 UniformMatrix3fv(uni.fVSLocation, arrayCount, false, matrices)); in setMatrix3fv()
229 int arrayCount, in setMatrix4fv() argument
233 SkASSERT(arrayCount > 0); in setMatrix4fv()
234 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in setMatrix4fv()
238 UniformMatrix4fv(uni.fFSLocation, arrayCount, false, matrices)); in setMatrix4fv()
242 UniformMatrix4fv(uni.fVSLocation, arrayCount, false, matrices)); in setMatrix4fv()