| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_cs_tpool.c | 45 struct lp_cs_tpool_task *task; local in function:lp_cs_tpool_worker 54 task = list_first_entry(&pool->workqueue, struct lp_cs_tpool_task, 57 unsigned this_iter = task->iter_start; 59 iter_per_thread = task->iter_per_thread; 61 if (task->iter_remainder && 62 task->iter_start + task->iter_remainder == task->iter_total) { 63 task->iter_remainder--; 67 task 129 struct lp_cs_tpool_task *task; local in function:lp_cs_tpool_queue_task 168 struct lp_cs_tpool_task *task = *task_handle; local in function:lp_cs_tpool_wait_for_task [all...] |
| H A D | lp_rast.c | 96 lp_rast_tile_begin(struct lp_rasterizer_task *task, argument 101 struct lp_scene *scene = task->scene; 105 task->bin = bin; 106 task->x = x * TILE_SIZE; 107 task->y = y * TILE_SIZE; 108 task->width = TILE_SIZE + x * TILE_SIZE > task->scene->fb.width ? 109 task->scene->fb.width - x * TILE_SIZE : TILE_SIZE; 110 task->height = TILE_SIZE + y * TILE_SIZE > task 137 lp_rast_clear_color(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 185 lp_rast_clear_zstencil(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 304 lp_rast_shade_tile(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 398 lp_rast_shade_tile_opaque(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 419 lp_rast_shade_quads_mask_sample(struct lp_rasterizer_task * task,const struct lp_rast_shader_inputs * inputs,unsigned x,unsigned y,uint64_t mask) argument 500 lp_rast_shade_quads_mask(struct lp_rasterizer_task * task,const struct lp_rast_shader_inputs * inputs,unsigned x,unsigned y,unsigned mask) argument 516 lp_rast_blit_tile_to_dest(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 623 lp_rast_blit_tile(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 637 lp_rast_begin_query(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 667 lp_rast_end_query(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 697 lp_rast_set_state(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 709 lp_rast_tile_end(struct lp_rasterizer_task * task) argument 960 blit_rasterize_bin(struct lp_rasterizer_task * task,const struct cmd_bin * bin) argument 977 tri_rasterize_bin(struct lp_rasterizer_task * task,const struct cmd_bin * bin,int x,int y) argument 994 debug_rasterize_bin(struct lp_rasterizer_task * task,const struct cmd_bin * bin) argument 1017 rasterize_bin(struct lp_rasterizer_task * task,const struct cmd_bin * bin,int x,int y) argument 1071 rasterize_scene(struct lp_rasterizer_task * task,struct lp_scene * scene) argument 1195 struct lp_rasterizer_task *task = (struct lp_rasterizer_task *) init_data; local in function:thread_function 1309 struct lp_rasterizer_task *task = &rast->tasks[i]; local in function:lp_rast_create [all...] |
| H A D | lp_rast_linear.c | 46 lp_rast_linear_clear(struct lp_rasterizer_task *task, argument 49 const struct lp_scene *scene = task->scene; 59 task->x, 60 task->y, 61 task->width, 62 task->height, 69 lp_rast_linear_tile(struct lp_rasterizer_task *task, argument 75 const struct lp_scene *scene = task->scene; 80 state = task->state; 91 task 133 lp_rast_linear_rect(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 247 lp_linear_rasterize_bin(struct lp_rasterizer_task * task,const struct cmd_bin * bin) argument [all...] |
| H A D | lp_rast_rect.c | 88 full(struct lp_rasterizer_task *task, argument 93 lp_rast_shade_quads_all(task, 95 task->x + ix * STAMP_SIZE, 96 task->y + iy * STAMP_SIZE); 100 partial(struct lp_rasterizer_task *task, argument 109 full(task, rect, ix, iy); 113 lp_rast_shade_quads_mask(task, 115 task->x + ix * STAMP_SIZE, 116 task->y + iy * STAMP_SIZE, 123 intersect_rect_and_tile(struct lp_rasterizer_task *task, argument 148 lp_rast_rectangle(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument [all...] |
| H A D | lp_rast_linear_fallback.c | 95 shade_quads_all( struct lp_rasterizer_task *task, argument 99 const struct lp_scene *scene = task->scene; 100 const struct lp_rast_state *state = task->state; 115 BEGIN_JIT_CALL(state, task); 125 &task->thread_data, 131 shade_quads_mask(struct lp_rasterizer_task *task, argument 136 const struct lp_rast_state *state = task->state; 138 const struct lp_scene *scene = task->scene; 152 task->thread_data.raster_state.viewport_index = inputs->viewport_index; 155 BEGIN_JIT_CALL(state, task); 173 full(struct lp_rasterizer_task * task,const struct lp_rast_shader_inputs * inputs,unsigned ix,unsigned iy) argument 187 partial(struct lp_rasterizer_task * task,const struct lp_rast_shader_inputs * inputs,unsigned ix,unsigned iy,unsigned mask) argument 212 lp_rast_linear_rect_fallback(struct lp_rasterizer_task * task,const struct lp_rast_shader_inputs * inputs,const struct u_rect * box) argument [all...] |
| H A D | lp_rast_priv.h | 55 #define BEGIN_JIT_CALL(state, task) \ 59 jit_task = task; \ 124 /** A task object for each rasterization thread */ 135 lp_rast_shade_quads_mask_sample(struct lp_rasterizer_task *task, 140 lp_rast_shade_quads_mask(struct lp_rasterizer_task *task, 151 lp_rast_get_color_block_pointer(struct lp_rasterizer_task *task, argument 158 assert(x < task->scene->tiles_x * TILE_SIZE); 159 assert(y < task->scene->tiles_y * TILE_SIZE); 162 assert(buf < task->scene->fb.nr_cbufs); 164 assert(task 193 lp_rast_get_depth_block_pointer(struct lp_rasterizer_task * task,unsigned x,unsigned y,unsigned layer) argument 229 lp_rast_shade_quads_all(struct lp_rasterizer_task * task,const struct lp_rast_shader_inputs * inputs,unsigned x,unsigned y) argument [all...] |
| H A D | lp_rast_tri_tmp.h | 43 TAG(do_block_4)(struct lp_rasterizer_task *task, 69 int64_t new_c = (c[j]) + ((IMUL64(task->scene->fixed_sample_pos[s][1], plane[j].dcdy) + IMUL64(task->scene->fixed_sample_pos[s][0], -plane[j].dcdx)) >> FIXED_ORDER); 88 lp_rast_shade_quads_mask_sample(task, &tri->inputs, x, y, mask); 96 TAG(do_block_16)(struct lp_rasterizer_task *task, 173 TAG(do_block_4)(task, tri, plane, px, py, cx); 188 block_full_4(task, tri, px, py); 198 TAG(lp_rast_triangle)(struct lp_rasterizer_task *task, 204 const int x = task->x, y = task 351 TRI_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 434 TRI_4(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument [all...] |
| H A D | lp_cs_tpool.h | 81 struct lp_cs_tpool_task **task);
|
| H A D | lp_rast_tri.c | 42 block_full_4(struct lp_rasterizer_task *task, argument 46 lp_rast_shade_quads_all(task, &tri->inputs, x, y); 54 block_full_16(struct lp_rasterizer_task *task, argument 63 block_full_4(task, tri, x + ix, y + iy); 110 lp_rast_triangle_3_16(struct lp_rasterizer_task *task, argument 116 lp_rast_triangle_3(task, arg2); 120 lp_rast_triangle_3_4(struct lp_rasterizer_task *task, argument 123 lp_rast_triangle_3_16(task, arg); 127 lp_rast_triangle_4_16(struct lp_rasterizer_task *task, argument 133 lp_rast_triangle_4(task, arg 137 lp_rast_triangle_ms_3_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 147 lp_rast_triangle_ms_3_4(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 154 lp_rast_triangle_ms_4_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 293 lp_rast_triangle_32_3_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 406 lp_rast_triangle_32_3_4(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 577 lp_rast_triangle_32_3_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 708 lp_rast_triangle_32_3_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 720 lp_rast_triangle_32_4_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 730 lp_rast_triangle_32_3_4(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/ |
| H A D | threadpool.c | 49 struct threadpool_task *task; local in function:threadpool_worker 58 /* Pull the first task from the list. We don't free it -- it now lacks 62 task = pool->workqueue; 63 pool->workqueue = task->next; 65 /* Call the task's work func. */ 67 task->work(task->data); 69 task->finished = TRUE; 70 pthread_cond_broadcast(&task->finish); 145 struct threadpool_task *task, *previou local in function:_mesa_threadpool_queue_task 187 struct threadpool_task *task = *task_handle; local in function:_mesa_threadpool_wait_for_task [all...] |
| H A D | threadpool.h | 59 struct threadpool_task **task);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| H A D | threadpool.c | 49 struct threadpool_task *task; local in function:threadpool_worker 58 /* Pull the first task from the list. We don't free it -- it now lacks 62 task = pool->workqueue; 63 pool->workqueue = task->next; 65 /* Call the task's work func. */ 67 task->work(task->data); 69 task->finished = TRUE; 70 pthread_cond_broadcast(&task->finish); 145 struct threadpool_task *task, *previou local in function:_mesa_threadpool_queue_task 187 struct threadpool_task *task = *task_handle; local in function:_mesa_threadpool_wait_for_task [all...] |
| H A D | threadpool.h | 59 struct threadpool_task **task);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_rast_priv.h | 55 #define BEGIN_JIT_CALL(state, task) \ 59 jit_task = task; \ 124 /** A task object for each rasterization thread */ 136 lp_rast_shade_quads_mask(struct lp_rasterizer_task *task, 147 lp_rast_get_color_block_pointer(struct lp_rasterizer_task *task, argument 154 assert(x < task->scene->tiles_x * TILE_SIZE); 155 assert(y < task->scene->tiles_y * TILE_SIZE); 158 assert(buf < task->scene->fb.nr_cbufs); 160 assert(task->color_tiles[buf]); 170 pixel_offset = px * task 188 lp_rast_get_depth_block_pointer(struct lp_rasterizer_task * task,unsigned x,unsigned y,unsigned layer) argument 224 lp_rast_shade_quads_all(struct lp_rasterizer_task * task,const struct lp_rast_shader_inputs * inputs,unsigned x,unsigned y) argument [all...] |
| H A D | lp_rast.c | 92 lp_rast_tile_begin(struct lp_rasterizer_task *task, argument 97 struct lp_scene *scene = task->scene; 101 task->bin = bin; 102 task->x = x * TILE_SIZE; 103 task->y = y * TILE_SIZE; 104 task->width = TILE_SIZE + x * TILE_SIZE > task->scene->fb.width ? 105 task->scene->fb.width - x * TILE_SIZE : TILE_SIZE; 106 task->height = TILE_SIZE + y * TILE_SIZE > task 133 lp_rast_clear_color(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 179 lp_rast_clear_zstencil(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 295 lp_rast_shade_tile(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 377 lp_rast_shade_tile_opaque(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 398 lp_rast_shade_quads_mask(struct lp_rasterizer_task * task,const struct lp_rast_shader_inputs * inputs,unsigned x,unsigned y,unsigned mask) argument 478 lp_rast_begin_query(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 505 lp_rast_end_query(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 534 lp_rast_set_state(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 546 lp_rast_tile_end(struct lp_rasterizer_task * task) argument 596 do_rasterize_bin(struct lp_rasterizer_task * task,const struct cmd_bin * bin,int x,int y) argument 622 rasterize_bin(struct lp_rasterizer_task * task,const struct cmd_bin * bin,int x,int y) argument 662 rasterize_scene(struct lp_rasterizer_task * task,struct lp_scene * scene) argument 786 struct lp_rasterizer_task *task = (struct lp_rasterizer_task *) init_data; local in function:thread_function 896 struct lp_rasterizer_task *task = &rast->tasks[i]; local in function:lp_rast_create [all...] |
| H A D | lp_rast_tri_tmp.h | 43 TAG(do_block_4)(struct lp_rasterizer_task *task, 67 lp_rast_shade_quads_mask(task, &tri->inputs, x, y, mask); 75 TAG(do_block_16)(struct lp_rasterizer_task *task, 152 TAG(do_block_4)(task, tri, plane, px, py, cx); 167 block_full_4(task, tri, px, py); 177 TAG(lp_rast_triangle)(struct lp_rasterizer_task *task, 183 const int x = task->x, y = task->y; 305 TAG(do_block_16)(task, tri, plane, px, py, cx); 320 block_full_16(task, tr 330 TRI_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 403 TRI_4(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument [all...] |
| H A D | lp_rast_tri.c | 42 block_full_4(struct lp_rasterizer_task *task, argument 46 lp_rast_shade_quads_all(task, &tri->inputs, x, y); 54 block_full_16(struct lp_rasterizer_task *task, argument 63 block_full_4(task, tri, x + ix, y + iy); 110 lp_rast_triangle_3_16(struct lp_rasterizer_task *task, argument 116 lp_rast_triangle_3(task, arg2); 120 lp_rast_triangle_3_4(struct lp_rasterizer_task *task, argument 123 lp_rast_triangle_3_16(task, arg); 127 lp_rast_triangle_4_16(struct lp_rasterizer_task *task, argument 133 lp_rast_triangle_4(task, arg 241 lp_rast_triangle_32_3_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 354 lp_rast_triangle_32_3_4(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 525 lp_rast_triangle_32_3_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 656 lp_rast_triangle_32_3_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 668 lp_rast_triangle_32_4_16(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument 678 lp_rast_triangle_32_3_4(struct lp_rasterizer_task * task,const union lp_rast_cmd_arg arg) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/omx/tizonia/ |
| H A D | h264eprc.c | 238 static void enc_HandleTask(vid_enc_PrivateType * priv, struct encode_task *task, argument 242 struct pipe_video_buffer *vbuf = task->buf; 250 task->bitstream = pipe_buffer_create(priv->s_pipe->screen, 256 picture.pic_order_cnt = task->pic_order_cnt; 263 priv->codec->encode_bitstream(priv->codec, vbuf, task->bitstream, &task->feedback); 269 struct encode_task *task; local in function:enc_ClearBframes 274 task = LIST_ENTRY(struct encode_task, priv->b_frames.prev, list); 275 LIST_DEL(&task->list); 279 enc_HandleTask(priv, task, PIPE_H264_ENC_PICTURE_TYPE_ 305 struct encode_task *task; local in function:encode_frame [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/omx/tizonia/ |
| H A D | h264eprc.c | 238 static void enc_HandleTask(vid_enc_PrivateType * priv, struct encode_task *task, argument 242 struct pipe_video_buffer *vbuf = task->buf; 250 task->bitstream = pipe_buffer_create(priv->s_pipe->screen, 256 picture.pic_order_cnt = task->pic_order_cnt; 263 priv->codec->encode_bitstream(priv->codec, vbuf, task->bitstream, &task->feedback); 269 struct encode_task *task; local in function:enc_ClearBframes 274 task = LIST_ENTRY(struct encode_task, priv->b_frames.prev, list); 275 list_del(&task->list); 279 enc_HandleTask(priv, task, PIPE_H2645_ENC_PICTURE_TYPE_ 305 struct encode_task *task; local in function:encode_frame [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/omx/ |
| H A D | vid_enc_common.c | 128 struct encode_task *task; local in function:vid_enc_BufferEncoded_common 140 task = LIST_ENTRY(struct encode_task, inp->tasks.next, list); 141 LIST_DEL(&task->list); 142 LIST_ADDTAIL(&task->list, &priv->used_tasks); 144 if (!task->bitstream) 152 pipe_resource_reference(&outp->bitstream, task->bitstream); 153 pipe_resource_reference(&task->bitstream, NULL); 165 priv->codec->get_feedback(priv->codec, task->feedback, &size); 183 struct encode_task *task; local in function:enc_NeedTask_common 186 task [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/omx/ |
| H A D | vid_enc_common.c | 128 struct encode_task *task; local in function:vid_enc_BufferEncoded_common 140 task = LIST_ENTRY(struct encode_task, inp->tasks.next, list); 141 list_del(&task->list); 142 list_addtail(&task->list, &priv->used_tasks); 144 if (!task->bitstream) 152 pipe_resource_reference(&outp->bitstream, task->bitstream); 153 pipe_resource_reference(&task->bitstream, NULL); 165 priv->codec->get_feedback(priv->codec, task->feedback, &size); 183 struct encode_task *task; local in function:enc_NeedTask_common 186 task [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/omx/bellagio/ |
| H A D | vid_enc.c | 784 static void enc_HandleTask(omx_base_PortType *port, struct encode_task *task, argument 790 struct pipe_video_buffer *vbuf = task->buf; 798 task->bitstream = pipe_buffer_create(priv->s_pipe->screen, 804 picture.pic_order_cnt = task->pic_order_cnt; 813 priv->codec->encode_bitstream(priv->codec, vbuf, task->bitstream, &task->feedback); 821 struct encode_task *task; local in function:enc_ClearBframes 826 task = LIST_ENTRY(struct encode_task, priv->b_frames.prev, list); 827 LIST_DEL(&task->list); 831 enc_HandleTask(port, task, PIPE_H264_ENC_PICTURE_TYPE_ 852 struct encode_task *task; local in function:vid_enc_EncodeFrame [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/omx/bellagio/ |
| H A D | vid_enc.c | 783 static void enc_HandleTask(omx_base_PortType *port, struct encode_task *task, argument 789 struct pipe_video_buffer *vbuf = task->buf; 797 task->bitstream = pipe_buffer_create(priv->s_pipe->screen, 803 picture.pic_order_cnt = task->pic_order_cnt; 812 priv->codec->encode_bitstream(priv->codec, vbuf, task->bitstream, &task->feedback); 820 struct encode_task *task; local in function:enc_ClearBframes 825 task = LIST_ENTRY(struct encode_task, priv->b_frames.prev, list); 826 list_del(&task->list); 830 enc_HandleTask(port, task, PIPE_H2645_ENC_PICTURE_TYPE_ 851 struct encode_task *task; local in function:vid_enc_EncodeFrame [all...] |
| H A D | vid_dec_av1.c | 1911 struct dec_av1_task *task; local in function:dec_av1_NeedTask 1922 task = LIST_ENTRY(struct dec_av1_task, 1924 task->buf_ref_count = 1; 1925 list_del(&task->list); 1926 return task; 1929 task = CALLOC_STRUCT(dec_av1_task); 1930 if (!task) 1944 task->buf = priv->pipe->create_video_buffer(priv->pipe, &templat); 1945 if (!task->buf) { 1946 FREE(task); 2011 dec_av1_GetStartedTask(vid_dec_PrivateType * priv,struct dec_av1_task * task,struct list_head * tasks) argument 2033 struct dec_av1_task *task, *existing_task; local in function:dec_av1_ShowExistingframe 2119 struct dec_av1_task *task; local in function:dec_av1_BeginFrame 2168 dec_av1_EndFrame(vid_dec_PrivateType * priv,struct dec_av1_task * task) argument 2278 struct dec_av1_task *task; local in function:dec_av1_Decode 2396 struct dec_av1_task *task; local in function:vid_dec_av1_FrameDecoded [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/ |
| H A D | lvp_device.c | 1344 struct lvp_queue_work *task = data; local in function:queue_thread 1348 if (task->wait_count) { 1352 wait.semaphoreCount = task->wait_count; 1353 wait.pSemaphores = task->waits; 1354 wait.pValues = task->wait_vals; 1360 for (unsigned i = 0; i < task->cmd_buffer_count; i++) { 1361 lvp_execute_cmds(queue->device, queue, task->cmd_buffers[i]); 1364 thread_flush(device, task->fence, task->timeline, task 1517 struct lvp_queue_work *task = malloc(sizeof(struct lvp_queue_work) + local in function:lvp_QueueSubmit [all...] |