Home
last modified time | relevance | path

Searched refs:grctx (Results 1 – 2 of 2) sorted by relevance

/external/virglrenderer/src/
Dvrend_decode.c48 struct vrend_context *grctx; member
118 …ret = vrend_create_shader(ctx->grctx, handle, &so_info, req_local_mem, (const char *)shd_text, off… in vrend_decode_create_shader()
134 return vrend_create_so_target(ctx->grctx, handle, res_handle, buffer_offset, in vrend_decode_create_stream_output_target()
156 vrend_set_framebuffer_state(ctx->grctx, nr_cbufs, surf_handle, zsurf_handle); in vrend_decode_set_framebuffer_state()
177 vrend_set_framebuffer_state_no_attach(ctx->grctx, width, height, layers, samples); in vrend_decode_set_framebuffer_state_no_attach()
196 vrend_clear(ctx->grctx, buffers, &color, depth, stencil); in vrend_decode_clear()
232 vrend_set_viewport_states(ctx->grctx, start_slot, num_viewports, vps); in vrend_decode_set_viewport_state()
240 vrend_set_index_buffer(ctx->grctx, in vrend_decode_set_index_buffer()
262 …vrend_set_constants(ctx->grctx, shader, index, nc, get_buf_ptr(ctx, VIRGL_SET_CONSTANT_BUFFER_DATA… in vrend_decode_set_constant_buffer()
283 vrend_set_uniform_buffer(ctx->grctx, shader, index, offset, blength, handle); in vrend_decode_set_uniform_buffer()
[all …]
Dvrend_renderer.c5336 struct vrend_context *grctx = CALLOC_STRUCT(vrend_context); in vrend_create_context() local
5338 if (!grctx) in vrend_create_context()
5342 strncpy(grctx->debug_name, debug_name, 64); in vrend_create_context()
5345 grctx->ctx_id = id; in vrend_create_context()
5347 list_inithead(&grctx->sub_ctxs); in vrend_create_context()
5348 list_inithead(&grctx->active_nontimer_query_list); in vrend_create_context()
5350 grctx->res_hash = vrend_object_init_ctx_table(); in vrend_create_context()
5352 grctx->shader_cfg.use_gles = vrend_state.use_gles; in vrend_create_context()
5353 grctx->shader_cfg.use_core_profile = vrend_state.use_core_profile; in vrend_create_context()
5354 grctx->shader_cfg.use_explicit_locations = vrend_state.use_explicit_locations; in vrend_create_context()
[all …]