HomeSort by relevance Sort by last modified time
    Searched refs:vc5 (Results 1 - 14 of 14) sorted by null

  /external/mesa3d/src/gallium/drivers/vc5/
vc5_context.c 44 struct vc5_context *vc5 = vc5_context(pctx); local
47 hash_table_foreach(vc5->jobs, entry) {
49 vc5_job_submit(vc5, job);
57 struct vc5_context *vc5 = vc5_context(pctx); local
63 struct vc5_fence *f = vc5_fence_create(vc5->screen,
64 vc5->last_emit_seqno);
73 struct vc5_context *vc5 = vc5_context(pctx); local
78 struct hash_entry *entry = _mesa_hash_table_search(vc5->write_jobs,
91 struct vc5_context *vc5 = vc5_context(pctx); local
95 if (vc5->blitter
118 struct vc5_context *vc5; local
    [all...]
vc5_blit.c 54 struct vc5_context *vc5 = vc5_context(pctx);
130 vc5_flush_jobs_reading_resource(vc5, info->src.resource);
132 struct vc5_job *job = vc5_get_job(vc5, dst_surf, NULL);
157 vc5_job_submit(vc5, job);
167 vc5_blitter_save(struct vc5_context *vc5)
169 util_blitter_save_fragment_constant_buffer_slot(vc5->blitter,
170 vc5->constbuf[PIPE_SHADER_FRAGMENT].cb);
171 util_blitter_save_vertex_buffer_slot(vc5->blitter, vc5->vertexbuf.vb);
172 util_blitter_save_vertex_elements(vc5->blitter, vc5->vtx)
197 struct vc5_context *vc5 = vc5_context(ctx); local
    [all...]
vc5_emit.c 89 * border color for the mismatch between the VC5 texture format and
130 emit_one_texture(struct vc5_context *vc5, struct vc5_texture_stateobj *stage_tex,
133 struct vc5_job *job = vc5->job;
140 const struct v3d_device_info *devinfo = &vc5->screen->devinfo;
254 emit_textures(struct vc5_context *vc5, struct vc5_texture_stateobj *stage_tex)
258 emit_one_texture(vc5, stage_tex, i);
264 translate_colormask(struct vc5_context *vc5, uint32_t colormask, int rt)
266 if (vc5->swap_color_rb & (1 << rt)) {
276 emit_rt_blend(struct vc5_context *vc5, struct vc5_job *job,
291 vc5->blend_dst_alpha_one)
309 struct vc5_context *vc5 = vc5_context(pctx); local
    [all...]
vc5_draw.c 43 vc5_start_draw(struct vc5_context *vc5)
45 struct vc5_job *job = vc5->job;
58 job->tile_alloc = vc5_bo_alloc(vc5->screen, 1024 * 1024, "tile alloc");
59 uint32_t tsda_per_tile_size = vc5->screen->devinfo.ver >= 40 ? 256 : 64;
60 job->tile_state = vc5_bo_alloc(vc5->screen,
81 config.width_in_pixels_minus_1 = vc5->framebuffer.width - 1;
82 config.height_in_pixels_minus_1 = vc5->framebuffer.height - 1;
84 MAX2(vc5->framebuffer.nr_cbufs, 1) - 1;
93 MAX2(vc5->framebuffer.nr_cbufs, 1);
113 job->draw_width = vc5->framebuffer.width
121 struct vc5_context *vc5 = vc5_context(pctx); local
332 struct vc5_context *vc5 = vc5_context(pctx); local
554 struct vc5_context *vc5 = vc5_context(pctx); local
    [all...]
vc5_program.c 135 struct vc5_context *vc5 = vc5_context(pctx); local
140 so->program_id = vc5->next_uncompiled_program_id++;
195 vc5_get_compiled_shader(struct vc5_context *vc5, struct v3d_key *key)
203 ht = vc5->fs_cache;
206 ht = vc5->vs_cache;
227 qpu_insts = v3d_compile_vs(vc5->screen->compiler,
236 qpu_insts = v3d_compile_fs(vc5->screen->compiler,
248 shader->bo = vc5_bo_alloc(vc5->screen, shader_size, "shader");
263 vc5_setup_shared_key(struct vc5_context *vc5, struct v3d_key *key,
266 const struct v3d_device_info *devinfo = &vc5->screen->devinfo
532 struct vc5_context *vc5 = vc5_context(pctx); local
552 struct vc5_context *vc5 = vc5_context(pctx); local
560 struct vc5_context *vc5 = vc5_context(pctx); local
568 struct vc5_context *vc5 = vc5_context(pctx); local
588 struct vc5_context *vc5 = vc5_context(pctx); local
    [all...]
vc5_job.c 26 * Functions for submitting VC5 render jobs to the kernel.
48 vc5_job_free(struct vc5_context *vc5, struct vc5_job *job)
57 remove_from_ht(vc5->jobs, &job->key);
65 remove_from_ht(vc5->write_jobs, (void *)prsc);
71 remove_from_ht(vc5->write_jobs, job->cbufs[i]->texture);
76 remove_from_ht(vc5->write_jobs, job->zsbuf->texture);
80 if (vc5->job == job)
81 vc5->job = NULL;
93 vc5_job_create(struct vc5_context *vc5)
95 struct vc5_job *job = rzalloc(vc5, struct vc5_job)
141 struct vc5_context *vc5 = job->vc5; local
    [all...]
vc5_query.c 70 struct vc5_context *vc5 = vc5_context(pctx); local
75 q->start = vc5->prims_generated;
78 q->start = vc5->tf_prims_generated;
81 q->bo = vc5_bo_alloc(vc5->screen, 4096, "query");
85 vc5->current_oq = q->bo;
86 vc5->dirty |= VC5_DIRTY_OQ;
96 struct vc5_context *vc5 = vc5_context(pctx); local
101 q->end = vc5->prims_generated;
104 q->end = vc5->tf_prims_generated;
107 vc5->current_oq = NULL
163 struct vc5_context *vc5 = vc5_context(pctx); local
    [all...]
vc5_state.c 57 struct vc5_context *vc5 = vc5_context(pctx); local
58 vc5->blend_color.f = *blend_color;
60 vc5->blend_color.hf[i] =
63 vc5->dirty |= VC5_DIRTY_BLEND_COLOR;
70 struct vc5_context *vc5 = vc5_context(pctx); local
71 vc5->stencil_ref = *stencil_ref;
72 vc5->dirty |= VC5_DIRTY_STENCIL_REF;
79 struct vc5_context *vc5 = vc5_context(pctx); local
80 vc5->clip = *clip;
81 vc5->dirty |= VC5_DIRTY_CLIP
87 struct vc5_context *vc5 = vc5_context(pctx); local
223 struct vc5_context *vc5 = vc5_context(pctx); local
234 struct vc5_context *vc5 = vc5_context(pctx); local
246 struct vc5_context *vc5 = vc5_context(pctx); local
256 struct vc5_context *vc5 = vc5_context(pctx); local
269 struct vc5_context *vc5 = vc5_context(pctx); local
277 struct vc5_context *vc5 = vc5_context(pctx); local
285 struct vc5_context *vc5 = vc5_context(pctx); local
294 struct vc5_context *vc5 = vc5_context(pctx); local
392 struct vc5_context *vc5 = vc5_context(pctx); local
401 struct vc5_context *vc5 = vc5_context(pctx); local
424 struct vc5_context *vc5 = vc5_context(pctx); local
505 MAYBE_UNUSED struct vc5_context *vc5 = vc5_context(pctx); local
592 struct vc5_context *vc5 = vc5_context(pctx); local
647 struct vc5_context *vc5 = vc5_context(pctx); local
815 struct vc5_context *vc5 = vc5_context(pctx); local
    [all...]
vc5_context.h 147 * VC5_DIRTY_* flags that, when set in vc5->dirty, mean that the
185 /* Hash table key for vc5->jobs */
201 struct vc5_context *vc5; member in struct:vc5_job
460 int vc5_simulator_flush(struct vc5_context *vc5,
477 struct vc5_cl_reloc vc5_write_uniforms(struct vc5_context *vc5,
483 void vc5_job_init(struct vc5_context *vc5);
484 struct vc5_job *vc5_get_job(struct vc5_context *vc5,
487 struct vc5_job *vc5_get_job_for_fbo(struct vc5_context *vc5);
490 void vc5_job_submit(struct vc5_context *vc5, struct vc5_job *job);
491 void vc5_flush_jobs_writing_resource(struct vc5_context *vc5,
    [all...]
vc5_uniforms.c 151 vc5_upload_ubo(struct vc5_context *vc5,
158 struct vc5_bo *ubo = vc5_bo_alloc(vc5->screen,
261 vc5_write_uniforms(struct vc5_context *vc5, struct vc5_compiled_shader *shader,
266 struct vc5_job *job = vc5->job;
268 struct vc5_bo *ubo = vc5_upload_ubo(vc5, shader, gallium_uniforms);
292 cl_aligned_f(&uniforms, vc5->viewport.scale[0] * 256.0f);
295 cl_aligned_f(&uniforms, vc5->viewport.scale[1] * 256.0f);
299 cl_aligned_f(&uniforms, vc5->viewport.translate[2]);
302 cl_aligned_f(&uniforms, vc5->viewport.scale[2]);
307 vc5->clip.ucp[uinfo->data[i] / 4][uinfo->data[i] % 4])
    [all...]
vc5_cl.c 52 cl->bo = vc5_bo_alloc(cl->job->vc5->screen, align(space, 4096), "CL");
66 struct vc5_bo *new_bo = vc5_bo_alloc(cl->job->vc5->screen, 4096, "CL");
vc5_resource.c 123 struct vc5_context *vc5 = vc5_context(pctx); local
144 slab_free(&vc5->transfer_pool, ptrans);
154 struct vc5_context *vc5 = vc5_context(pctx); local
186 vc5->dirty |= VC5_DIRTY_VTXBUF;
188 vc5->dirty |= VC5_DIRTY_CONSTBUF;
193 vc5_flush_jobs_reading_resource(vc5, prsc);
201 vc5_flush_jobs_reading_resource(vc5, prsc);
203 vc5_flush_jobs_writing_resource(vc5, prsc);
211 trans = slab_alloc(&vc5->transfer_pool);
643 struct vc5_context *vc5 = vc5_context(pctx) local
    [all...]
vc5_simulator.c 27 * Implements VC5 simulation on top of a non-VC5 GEM fd.
29 * This file's goal is to emulate the VC5 ioctls' behavior in the kernel on
30 * top of the simpenrose software simulator. Generally, VC5 driver BOs have a
43 * window system's BO size matches what VC5 is going to use, which of course
44 * doesn't work out in practice. This means that for now, only DRI3 (VC5
297 asprintf(&filename, "vc5-dri-%d.dump", dumpno++);
362 vc5_simulator_flush(struct vc5_context *vc5,
365 struct vc5_screen *screen = vc5->screen;
368 struct vc5_surface *csurf = vc5_surface(vc5->framebuffer.cbufs[0])
    [all...]
  /external/mesa3d/src/gallium/targets/dri/
target.c 82 DEFINE_LOADER_DRM_ENTRYPOINT(vc5)

Completed in 378 milliseconds