Lines Matching refs:vrend_context

50 struct vrend_context;
137 int vrend_create_shader(struct vrend_context *ctx,
144 void vrend_bind_shader(struct vrend_context *ctx,
148 void vrend_bind_vs_so(struct vrend_context *ctx,
150 void vrend_clear(struct vrend_context *ctx,
155 void vrend_clear_texture(struct vrend_context* ctx,
160 int vrend_draw_vbo(struct vrend_context *ctx,
164 void vrend_set_framebuffer_state(struct vrend_context *ctx,
168 struct vrend_context *vrend_create_context(int id, uint32_t nlen, const char *debug_name);
169 void vrend_destroy_context(struct vrend_context *ctx);
204 int vrend_create_surface(struct vrend_context *ctx,
208 int vrend_create_sampler_view(struct vrend_context *ctx,
213 int vrend_create_sampler_state(struct vrend_context *ctx,
217 int vrend_create_so_target(struct vrend_context *ctx,
223 void vrend_set_streamout_targets(struct vrend_context *ctx,
228 int vrend_create_vertex_elements_state(struct vrend_context *ctx,
232 void vrend_bind_vertex_elements_state(struct vrend_context *ctx,
235 void vrend_set_single_vbo(struct vrend_context *ctx,
240 void vrend_set_num_vbo(struct vrend_context *ctx,
243 int vrend_transfer_inline_write(struct vrend_context *ctx,
247 int vrend_renderer_copy_transfer3d(struct vrend_context *ctx,
252 void vrend_set_viewport_states(struct vrend_context *ctx,
255 void vrend_set_num_sampler_views(struct vrend_context *ctx,
259 void vrend_set_single_sampler_view(struct vrend_context *ctx,
264 void vrend_object_bind_blend(struct vrend_context *ctx,
266 void vrend_object_bind_dsa(struct vrend_context *ctx,
268 void vrend_object_bind_rasterizer(struct vrend_context *ctx,
271 void vrend_bind_sampler_states(struct vrend_context *ctx,
276 void vrend_set_index_buffer(struct vrend_context *ctx,
280 void vrend_set_single_image_view(struct vrend_context *ctx,
286 void vrend_set_single_ssbo(struct vrend_context *ctx,
291 void vrend_set_single_abo(struct vrend_context *ctx,
295 void vrend_memory_barrier(struct vrend_context *ctx,
297 void vrend_launch_grid(struct vrend_context *ctx,
302 void vrend_set_framebuffer_state_no_attach(struct vrend_context *ctx,
305 void vrend_texture_barrier(struct vrend_context *ctx,
308 int vrend_renderer_transfer_iov(struct vrend_context *ctx,
317 void vrend_renderer_resource_copy_region(struct vrend_context *ctx,
323 void vrend_renderer_blit(struct vrend_context *ctx,
327 void vrend_set_stencil_ref(struct vrend_context *ctx, struct pipe_stencil_ref *ref);
328 void vrend_set_blend_color(struct vrend_context *ctx, struct pipe_blend_color *color);
329 void vrend_set_scissor_state(struct vrend_context *ctx,
334 void vrend_set_polygon_stipple(struct vrend_context *ctx, struct pipe_poly_stipple *ps);
336 void vrend_set_clip_state(struct vrend_context *ctx, struct pipe_clip_state *ucp);
337 void vrend_set_sample_mask(struct vrend_context *ctx, unsigned sample_mask);
338 void vrend_set_min_samples(struct vrend_context *ctx, unsigned min_samples);
340 void vrend_set_constants(struct vrend_context *ctx,
345 void vrend_set_uniform_buffer(struct vrend_context *ctx, uint32_t shader,
354 void vrend_set_tess_state(struct vrend_context *ctx, const float tess_factors[6]);
358 void vrend_renderer_set_fence_retire(struct vrend_context *ctx,
362 int vrend_renderer_create_fence(struct vrend_context *ctx,
371 bool vrend_hw_switch_context(struct vrend_context *ctx, bool now);
372 uint32_t vrend_renderer_object_insert(struct vrend_context *ctx, void *data,
374 void vrend_renderer_object_destroy(struct vrend_context *ctx, uint32_t handle);
376 int vrend_create_query(struct vrend_context *ctx, uint32_t handle,
380 int vrend_begin_query(struct vrend_context *ctx, uint32_t handle);
381 int vrend_end_query(struct vrend_context *ctx, uint32_t handle);
382 void vrend_get_query_result(struct vrend_context *ctx, uint32_t handle,
384 void vrend_get_query_result_qbo(struct vrend_context *ctx, uint32_t handle,
388 void vrend_render_condition(struct vrend_context *ctx,
426 void vrend_renderer_attach_res_ctx(struct vrend_context *ctx,
428 void vrend_renderer_detach_res_ctx(struct vrend_context *ctx,
431 struct vrend_context_tweaks *vrend_get_context_tweaks(struct vrend_context *ctx);
450 void vrend_renderer_create_sub_ctx(struct vrend_context *ctx, int sub_ctx_id);
451 void vrend_renderer_destroy_sub_ctx(struct vrend_context *ctx, int sub_ctx_id);
452 void vrend_renderer_set_sub_ctx(struct vrend_context *ctx, int sub_ctx_id);
454 void vrend_report_context_error_internal(const char *fname, struct vrend_context *ctx,
471 void vrend_renderer_blit_gl(struct vrend_context *ctx,
485 unsigned vrend_context_has_debug_flag(const struct vrend_context *ctx,
507 vrend_renderer_pipe_resource_create(struct vrend_context *ctx, uint32_t blob_id,
510 struct pipe_resource *vrend_get_blob_pipe(struct vrend_context *ctx, uint64_t blob_id);
513 vrend_renderer_pipe_resource_set_type(struct vrend_context *ctx,
523 void vrend_renderer_get_meminfo(struct vrend_context *ctx, uint32_t res_handle);