| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_draw.c | 136 struct u_indirect_params *draws; local 157 draws = malloc(sizeof(struct u_indirect_params) * draw_count); 158 if (!draws) 171 free(draws); 176 memcpy(&draws[i].info, info_in, sizeof(struct pipe_draw_info)); 177 draws[i].draw.count = params[0]; 178 draws[i].info.instance_count = params[1]; 179 draws[i].draw.start = params[2]; 180 draws[i].draw.index_bias = info_in->index_size ? params[3] : 0; 181 draws[i].info.start_instance = info_in->index_size ? params[4] : params[3] [all...] |
| u_prim_restart.c | 174 struct pipe_draw_start_count_bias *draws; member in struct:range_info 194 info->draws = MALLOC(info->max * sizeof(struct pipe_draw_start_count_bias)); 195 if (!info->draws) { 200 /* grow the draws[] array */ 201 info->draws = REALLOC(info->draws, 204 if (!info->draws) { 214 info->draws[info->count].start = start; 215 info->draws[info->count].count = count; 216 info->draws[info->count].index_bias = index_bias [all...] |
| u_threaded_context.c | 2943 /* u_threaded_context stores start/count in min/max_index for single draws. */ 2974 /* This shouldn't be set when merging single draws. */ 3002 /* u_threaded_context stores start/count in min/max_index for single draws. */ 3021 /* The maximum number of merged draws is given by the batch size. */ 3026 /* u_threaded_context stores start/count in min/max_index for single draws. */ 3034 /* Find how many other draws can be merged. */ 3038 /* u_threaded_context stores start/count in min/max_index for single draws. */ 3048 /* Since all draws use the same index buffer, drop all references at once. */ 3056 /* u_threaded_context stores start/count in min/max_index for single draws. */ 3130 const struct pipe_draw_start_count_bias *draws, 3381 struct pipe_draw_start_count_bias draws[TC_SLOTS_PER_BATCH \/ local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| draw_pt_vsplit.c | 58 ushort draws[MAP_SIZE]; member in struct:vsplit_frontend::__anon1037 99 vsplit->cache.draws[hash] = vsplit->cache.num_fetch_elts; 106 vsplit->draw_elts[vsplit->cache.num_draw_elts++] = vsplit->cache.draws[hash];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ |
| lima_job.h | 85 int draws; member in struct:lima_job
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| draw_pt_vsplit.c | 58 ushort draws[MAP_SIZE]; member in struct:vsplit_frontend::__anon3549 99 vsplit->cache.draws[hash] = vsplit->cache.num_fetch_elts; 106 vsplit->draw_elts[vsplit->cache.num_draw_elts++] = vsplit->cache.draws[hash];
|
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| drawpix.c | 85 int draws = 500; local 104 draws = 0; 108 draws++; 118 pixelsPerSecond = draws * DrawWidth * DrawHeight / seconds; 119 printf("Result: %d draws in %f seconds = %f pixels/sec\n", 120 draws, seconds, pixelsPerSecond);
|
| isosurf.c | 571 int draws; local 576 draws = 0; 584 draws++; 590 triPerSecond = (numverts - 2) * draws / seconds; 591 fps = draws / seconds;
|
| /xsrc/external/mit/mesa-demos/dist/src/redbook/ |
| polyoff.c | 60 /* display() draws two spheres, one with a gray, diffuse material, 152 int draws; local 158 draws = 0; 165 draws++; 171 fps = draws / seconds;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/ |
| pan_job.h | 37 * collecting over multiple draws. */ 50 unsigned draws; member in struct:panfrost_batch
|
| pan_cmdstream.c | 66 unsigned draws; member in struct:panfrost_zsa_state 369 batch->draws |= (PIPE_CLEAR_COLOR0 << i); 423 /* Track if any colour buffer is reused across draws, either 616 batch->draws |= PIPE_CLEAR_COLOR0; 1659 /* With indirect draws we can't guess the vertex_count. 3017 const struct pipe_draw_start_count_bias *draws, 3026 /* Emulate indirect draws unless we're using the experimental path */ 3040 batch = panfrost_get_fresh_batch_for_fbo(ctx, "Too many draws"); 3042 unsigned zs_draws = ctx->depth_stencil->draws; 3043 batch->draws |= zs_draws [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/ |
| nvc0_vbo.c | 863 unsigned draws = count, pushes, i; local 865 draws = MIN2(draws, (NV04_PFIFO_MAX_PACKET_LEN - 4) / size); 868 draws = MIN2(draws, 32); 869 pushes = draws; 877 NVC0_FIFO_PKHDR_1I(0, macro, 3 + !!buf_count + draws * size)); 880 PUSH_DATA(push, draws); 890 NVC0_IB_ENTRY_1_NO_PREFETCH | (size * 4 * draws)); 891 offset += draws * indirect->stride [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/ |
| nvc0_vbo.c | 853 unsigned draws = count, pushes, i; local 855 draws = MIN2(draws, (NV04_PFIFO_MAX_PACKET_LEN - 4) / size); 858 draws = MIN2(draws, 32); 859 pushes = draws; 867 NVC0_FIFO_PKHDR_1I(0, macro, 3 + !!buf_count + draws * size)); 870 PUSH_DATA(push, draws); 880 NVC0_IB_ENTRY_1_NO_PREFETCH | (size * 4 * draws)); 881 offset += draws * info->indirect->stride [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/decode/ |
| cffdec.c | 76 static int draws[4]; variable 1884 printl(2, "%sdraw: %d\n", levels[level], draws[ib]); 1892 draws[ib]++; 2061 /* Don't print more draws than this if we don't know the indirect 2064 * want to print a gazillion draws in that case: 2217 * that draws get the correct state. We should also figure out if there 2736 assert(ib < ARRAY_SIZE(draws)); 2737 draws[ib] = 0;
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/overlay-layer/ |
| overlay.cpp | 171 struct list_head draws; /* List of struct overlay_draw */ member in struct:swapchain_data 501 list_inithead(&data->draws); 515 struct overlay_draw *draw = list_is_empty(&data->draws) ? 516 NULL : list_first_entry(&data->draws, struct overlay_draw, link); 525 list_addtail(&draw->link, &data->draws); 555 list_addtail(&draw->link, &data->draws); 1794 list_for_each_entry_safe(struct overlay_draw, draw, &data->draws, link) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/vulkan/overlay-layer/ |
| overlay.cpp | 155 struct list_head draws; /* List of struct overlay_draw */ member in struct:swapchain_data 493 list_inithead(&data->draws); 507 struct overlay_draw *draw = list_empty(&data->draws) ? 508 NULL : list_first_entry(&data->draws, struct overlay_draw, link); 517 list_addtail(&draw->link, &data->draws); 545 list_addtail(&draw->link, &data->draws); 1513 list_for_each_entry_safe(struct overlay_draw, draw, &data->draws, link) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/ |
| lvp_execute.c | 1846 struct pipe_draw_start_count_bias *draws = calloc(cmd->u.draw_multi_ext.draw_count, local 1847 sizeof(*draws)); 1858 draws[i].start = cmd->u.draw_multi_ext.vertex_info[i].firstVertex; 1859 draws[i].count = cmd->u.draw_multi_ext.vertex_info[i].vertexCount; 1860 draws[i].index_bias = 0; 1866 state->pctx->draw_vbo(state->pctx, &state->info, 0, NULL, draws, cmd->u.draw_multi_ext.draw_count); 1868 free(draws); 2497 struct pipe_draw_start_count_bias *draws = calloc(cmd->u.draw_multi_indexed_ext.draw_count, local 2498 sizeof(*draws)); 2515 memcpy(draws, cmd->u.draw_multi_indexed_ext.index_info, size) [all...] |