Lines Matching refs:elementSize
176 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; in __glFillImage() local
199 elementSize = __glBytesPerElement(type); in __glFillImage()
200 groupSize = elementSize * components; in __glFillImage()
201 if (elementSize == 1) in __glFillImage()
222 for (k = 1; k <= elementSize; k++) { in __glFillImage()
223 iter2[k - 1] = iterc[elementSize - k]; in __glFillImage()
225 iter2 += elementSize; in __glFillImage()
226 iterc += elementSize; in __glFillImage()
236 if (rowSize == elementsPerRow * elementSize) { in __glFillImage()
239 elementsPerRow * elementSize * height); in __glFillImage()
240 iter2 += elementsPerRow * elementSize * height; in __glFillImage()
245 __GLX_MEM_COPY(iter2, iter, elementsPerRow * elementSize); in __glFillImage()
246 iter2 += elementsPerRow * elementSize; in __glFillImage()
402 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; in __glEmptyImage() local
424 elementSize = __glBytesPerElement(type); in __glEmptyImage()
425 groupSize = elementSize * components; in __glEmptyImage()
446 elementsPerRow * elementSize * height); in __glEmptyImage()
447 sourceImage += elementsPerRow * elementSize * height; in __glEmptyImage()
453 elementsPerRow * elementSize); in __glEmptyImage()