Lines Matching refs:buffer
46 void* buffer; in set1f() local
48 buffer = fVertexUniformData.get(); in set1f()
51 buffer = fFragmentUniformData.get(); in set1f()
53 buffer = static_cast<char*>(buffer) + uni.fOffset; in set1f()
55 memcpy(buffer, &v0, sizeof(float)); in set1f()
68 void* buffer; in set1fv() local
70 buffer = fVertexUniformData.get(); in set1fv()
73 buffer = fFragmentUniformData.get(); in set1fv()
75 buffer = static_cast<char*>(buffer) + uni.fOffset; in set1fv()
77 memcpy(buffer, v, arrayCount * sizeof(float)); in set1fv()
85 void* buffer; in set2f() local
87 buffer = fVertexUniformData.get(); in set2f()
90 buffer = fFragmentUniformData.get(); in set2f()
92 buffer = static_cast<char*>(buffer) + uni.fOffset; in set2f()
95 memcpy(buffer, v, 2 * sizeof(float)); in set2f()
108 void* buffer; in set2fv() local
110 buffer = fVertexUniformData.get(); in set2fv()
113 buffer = fFragmentUniformData.get(); in set2fv()
115 buffer = static_cast<char*>(buffer) + uni.fOffset; in set2fv()
117 memcpy(buffer, v, arrayCount * 2* sizeof(float)); in set2fv()
125 void* buffer; in set3f() local
127 buffer = fVertexUniformData.get(); in set3f()
130 buffer = fFragmentUniformData.get(); in set3f()
132 buffer = static_cast<char*>(buffer) + uni.fOffset; in set3f()
135 memcpy(buffer, v, 3 * sizeof(float)); in set3f()
148 void* buffer; in set3fv() local
150 buffer = fVertexUniformData.get(); in set3fv()
153 buffer = fFragmentUniformData.get(); in set3fv()
155 buffer = static_cast<char*>(buffer) + uni.fOffset; in set3fv()
157 memcpy(buffer, v, arrayCount * 3 * sizeof(float)); in set3fv()
165 void* buffer; in set4f() local
167 buffer = fVertexUniformData.get(); in set4f()
170 buffer = fFragmentUniformData.get(); in set4f()
172 buffer = static_cast<char*>(buffer) + uni.fOffset; in set4f()
175 memcpy(buffer, v, 4 * sizeof(float)); in set4f()
188 void* buffer; in set4fv() local
190 buffer = fVertexUniformData.get(); in set4fv()
193 buffer = fFragmentUniformData.get(); in set4fv()
195 buffer = static_cast<char*>(buffer) + uni.fOffset; in set4fv()
197 memcpy(buffer, v, arrayCount * 4 * sizeof(float)); in set4fv()
205 void* buffer; in setMatrix3f() local
207 buffer = fVertexUniformData.get(); in setMatrix3f()
210 buffer = fFragmentUniformData.get(); in setMatrix3f()
214 buffer = static_cast<char*>(buffer) + uni.fOffset; in setMatrix3f()
215 memcpy(buffer, &matrix[0], 3 * sizeof(float)); in setMatrix3f()
216 buffer = static_cast<char*>(buffer) + 4*sizeof(float); in setMatrix3f()
217 memcpy(buffer, &matrix[3], 3 * sizeof(float)); in setMatrix3f()
218 buffer = static_cast<char*>(buffer) + 4 * sizeof(float); in setMatrix3f()
219 memcpy(buffer, &matrix[6], 3 * sizeof(float)); in setMatrix3f()
232 void* buffer; in setMatrix3fv() local
234 buffer = fVertexUniformData.get(); in setMatrix3fv()
237 buffer = fFragmentUniformData.get(); in setMatrix3fv()
240 buffer = static_cast<char*>(buffer)+uni.fOffset; in setMatrix3fv()
243 memcpy(buffer, &matrix[0], 3 * sizeof(float)); in setMatrix3fv()
244 buffer = static_cast<char*>(buffer)+4 * sizeof(float); in setMatrix3fv()
245 memcpy(buffer, &matrix[3], 3 * sizeof(float)); in setMatrix3fv()
246 buffer = static_cast<char*>(buffer)+4 * sizeof(float); in setMatrix3fv()
247 memcpy(buffer, &matrix[6], 3 * sizeof(float)); in setMatrix3fv()
248 buffer = static_cast<char*>(buffer)+4 * sizeof(float); in setMatrix3fv()
258 void* buffer; in setMatrix4f() local
260 buffer = fVertexUniformData.get(); in setMatrix4f()
263 buffer = fFragmentUniformData.get(); in setMatrix4f()
265 buffer = static_cast<char*>(buffer) + uni.fOffset; in setMatrix4f()
267 memcpy(buffer, matrix, 16 * sizeof(float)); in setMatrix4f()
280 void* buffer; in setMatrix4fv() local
282 buffer = fVertexUniformData.get(); in setMatrix4fv()
285 buffer = fFragmentUniformData.get(); in setMatrix4fv()
287 buffer = static_cast<char*>(buffer) + uni.fOffset; in setMatrix4fv()
289 memcpy(buffer, matrices, arrayCount * 16 * sizeof(float)); in setMatrix4fv()