/* Apply pixel store unpack modes to copy data into buf */
if (src != NULL) {
- (*gc->fillImage) (gc, dim, width, height, depth, format, type,
- src, buf, modes);
+ __glFillImage(gc, dim, width, height, depth, format, type,
+ src, buf, modes);
}
else {
if (dim < 3) {
__GLX_PUT_LONG(20, type);
pc += hdrlen;
if (compsize > 0) {
- (*gc->fillImage) (gc, 1, width, 1, 1, format, type,
- row, pc, pixelHeaderPC);
+ __glFillImage(gc, 1, width, 1, 1, format, type, row, pc,
+ pixelHeaderPC);
pc += image1len;
}
if (compsize2 > 0) {
- (*gc->fillImage) (gc, 1, height, 1, 1, format, type,
- column, pc, NULL);
+ __glFillImage(gc, 1, height, 1, 1, format, type, column, pc, NULL);
pc += image2len;
}
if ((compsize == 0) && (compsize2 == 0)) {
__glXSetError(gc, GL_OUT_OF_MEMORY);
return;
}
- (*gc->fillImage) (gc, 1, width, 1, 1, format, type, row, buf,
- pixelHeaderPC);
+ __glFillImage(gc, 1, width, 1, 1, format, type, row, buf,
+ pixelHeaderPC);
- (*gc->fillImage) (gc, 1, height, 1, 1, format, type, column,
- buf + image1len, pixelHeaderPC);
+ __glFillImage(gc, 1, height, 1, 1, format, type, column,
+ buf + image1len, pixelHeaderPC);
/* Send large command */
__glXSendLargeCommand(gc, gc->pc, (GLint) (pc - gc->pc), buf,
condition = 'compsize > 0'
print('if (%s) {' % (condition))
- print(' gc->fillImage(gc, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, depth, param.img_format, param.img_type, param.name, pcPtr, pixHeaderPtr))
+ print(' __glFillImage(gc, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, depth, param.img_format, param.img_type, param.name, pcPtr, pixHeaderPtr))
print('} else {')
print(' (void) memcpy( %s, default_pixel_store_%uD, default_pixel_store_%uD_size );' % (pixHeaderPtr, dim, dim))
print('}')