• Home
  • Raw
  • Download

Lines Matching refs:vc5

44         struct vc5_context *vc5 = vc5_context(pctx);  in vc5_flush()  local
47 hash_table_foreach(vc5->jobs, entry) { in vc5_flush()
49 vc5_job_submit(vc5, job); in vc5_flush()
57 struct vc5_context *vc5 = vc5_context(pctx); in vc5_pipe_flush() local
63 struct vc5_fence *f = vc5_fence_create(vc5->screen, in vc5_pipe_flush()
64 vc5->last_emit_seqno); in vc5_pipe_flush()
73 struct vc5_context *vc5 = vc5_context(pctx); in vc5_invalidate_resource() local
78 struct hash_entry *entry = _mesa_hash_table_search(vc5->write_jobs, in vc5_invalidate_resource()
91 struct vc5_context *vc5 = vc5_context(pctx); in vc5_context_destroy() local
95 if (vc5->blitter) in vc5_context_destroy()
96 util_blitter_destroy(vc5->blitter); in vc5_context_destroy()
98 if (vc5->primconvert) in vc5_context_destroy()
99 util_primconvert_destroy(vc5->primconvert); in vc5_context_destroy()
101 if (vc5->uploader) in vc5_context_destroy()
102 u_upload_destroy(vc5->uploader); in vc5_context_destroy()
104 slab_destroy_child(&vc5->transfer_pool); in vc5_context_destroy()
106 pipe_surface_reference(&vc5->framebuffer.cbufs[0], NULL); in vc5_context_destroy()
107 pipe_surface_reference(&vc5->framebuffer.zsbuf, NULL); in vc5_context_destroy()
111 ralloc_free(vc5); in vc5_context_destroy()
118 struct vc5_context *vc5; in vc5_context_create() local
124 vc5 = rzalloc(NULL, struct vc5_context); in vc5_context_create()
125 if (!vc5) in vc5_context_create()
127 struct pipe_context *pctx = &vc5->base; in vc5_context_create()
129 vc5->screen = screen; in vc5_context_create()
148 vc5_job_init(vc5); in vc5_context_create()
150 vc5->fd = screen->fd; in vc5_context_create()
152 slab_create_child(&vc5->transfer_pool, &screen->transfer_pool); in vc5_context_create()
154 vc5->uploader = u_upload_create_default(&vc5->base); in vc5_context_create()
155 vc5->base.stream_uploader = vc5->uploader; in vc5_context_create()
156 vc5->base.const_uploader = vc5->uploader; in vc5_context_create()
158 vc5->blitter = util_blitter_create(pctx); in vc5_context_create()
159 if (!vc5->blitter) in vc5_context_create()
162 vc5->primconvert = util_primconvert_create(pctx, in vc5_context_create()
164 if (!vc5->primconvert) in vc5_context_create()
169 vc5->sample_mask = (1 << VC5_MAX_SAMPLES) - 1; in vc5_context_create()
170 vc5->active_queries = true; in vc5_context_create()
172 return &vc5->base; in vc5_context_create()