Lines Matching defs:result
162 free_result(struct tu_device *dev, struct tu_renderpass_result *result)
164 tu_suballoc_bo_free(&dev->autotune_suballoc, &result->bo);
165 list_del(&result->node);
166 free(result);
202 struct tu_renderpass_result *result = calloc(1, sizeof(*result));
203 result->rp_key = rp_key;
205 return result;
210 struct tu_renderpass_result *result)
212 list_delinit(&result->node);
213 list_add(&result->node, &history->results);
230 list_for_each_entry(struct tu_renderpass_result, result,
232 total_samples += result->samples_passed;
244 list_for_each_entry_safe(struct tu_renderpass_result, result,
246 if (result->fence > current_fence)
249 struct tu_renderpass_history *history = result->history;
250 result->samples_passed =
251 result->samples->samples_end - result->samples->samples_start;
253 history_add_result(dev, history, result);
277 list_for_each_entry_safe(struct tu_renderpass_result, result,
279 /* TODO: copying each result isn't nice */
280 struct tu_renderpass_result *copy = malloc(sizeof(*result));
281 *copy = *result;
309 list_for_each_entry_safe(struct tu_renderpass_result, result,
313 _mesa_hash_table_search(at->ht, &result->rp_key);
316 history->key = result->rp_key;
328 result->fence = new_fence;
329 result->history = history;
457 list_for_each_entry_safe(struct tu_renderpass_result, result,
459 free_result(dev, result);