Lines Matching defs:sprite
49 gi->sprite.spriteTrace = calloc(32, sizeof(*gi->sprite.spriteTrace));
50 if (!gi->sprite.spriteTrace) {
53 gi->sprite.spriteTraceSize = 32;
54 gi->sprite.spriteTrace[0] = screenInfo.screens[0]->root;
55 gi->sprite.hot.pScreen = screenInfo.screens[0];
56 gi->sprite.hotPhys.pScreen = screenInfo.screens[0];
121 gi->sprite.spriteTraceGood = 0;
125 * Ensure a window trace is present in gi->sprite, constructing one for
131 SpritePtr sprite = &gi->sprite;
133 if (!sourcedev->spriteInfo->sprite)
136 if (!CopySprite(sourcedev->spriteInfo->sprite, sprite))
139 if (sprite->spriteTraceGood <= 0)
250 SpritePtr sprite = &gi->sprite;
264 while (i < dev->spriteInfo->sprite->spriteTraceGood) {
265 if (dev->spriteInfo->sprite->spriteTrace[i++] == syncEvents.replayWin)
270 for (; i < sprite->spriteTraceGood; i++) {
271 win = sprite->spriteTrace[i];
279 for (i = sprite->spriteTraceGood - 1; i >= 0; i--) {
280 win = sprite->spriteTrace[i];