Added a more verbose comment about nr_released_bufs in r300_context.h
fprintf(stderr, "Syncing in %s\n\n", __FUNCTION__);
radeonWaitForIdleLocked(&r300->radeon);
}
+
+ r300->dma.nr_released_bufs = 0;
} else {
ret = 0;
if (RADEON_DEBUG & DEBUG_IOCTL)
void (*flush) (r300ContextPtr);
char *buf0_address; /* start of buf[0], for index calcs */
- GLuint nr_released_bufs; /* flush after so many buffers released */
+
+ /* Number of "in-flight" DMA buffers, i.e. the number of buffers
+ * for which a DISCARD command is currently queued in the command buffer.
+ */
+ GLuint nr_released_bufs;
};
/* Texture related */