if (!radeon_is_debug_enabled(RADEON_STATE, RADEON_VERBOSE) )
return;
- dwords = (*state->check) (&radeon->glCtx, state);
+ dwords = state->check(&radeon->glCtx, state);
fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size);
BATCH_LOCALS(radeon);
int dwords;
- dwords = (*atom->check) (&radeon->glCtx, atom);
+ dwords = atom->check(&radeon->glCtx, atom);
if (dwords) {
radeon_print_state_atom(radeon, atom);
if (atom->emit) {
- (*atom->emit)(&radeon->glCtx, atom);
+ atom->emit(&radeon->glCtx, atom);
} else {
BEGIN_BATCH(dwords);
OUT_BATCH_TABLE(atom->cmd, dwords);
*/
radeon->front_buffer_dirty = GL_FALSE;
- (*screen->dri2.loader->flushFrontBuffer)(drawable, drawable->loaderPrivate);
+ screen->dri2.loader->flushFrontBuffer(drawable, drawable->loaderPrivate);
}
}
}
}
}
- buffers = (*screen->dri2.loader->getBuffersWithFormat)(drawable,
- &drawable->w,
- &drawable->h,
- attachments, i / 2,
- &count,
- drawable->loaderPrivate);
+ buffers = screen->dri2.loader->getBuffersWithFormat(drawable,
+ &drawable->w,
+ &drawable->h,
+ attachments, i / 2,
+ &count,
+ drawable->loaderPrivate);
} else if (screen->dri2.loader) {
i = 0;
if (draw->color_rb[0])
attachments[i++] = __DRI_BUFFER_STENCIL;
}
- buffers = (*screen->dri2.loader->getBuffers)(drawable,
- &drawable->w,
- &drawable->h,
- attachments, i,
- &count,
- drawable->loaderPrivate);
+ buffers = screen->dri2.loader->getBuffers(drawable,
+ &drawable->w,
+ &drawable->h,
+ attachments, i,
+ &count,
+ drawable->loaderPrivate);
}
if (buffers == NULL)
BATCH_LOCALS(radeon);
int dwords;
- dwords = (*atom->check) (ctx, atom);
+ dwords = atom->check(ctx, atom);
BEGIN_BATCH(dwords);
OUT_BATCH_TABLE(atom->cmd, dwords);