Lines Matching refs:vrend_context

45 struct vrend_context;
114 int vrend_create_shader(struct vrend_context *ctx,
121 void vrend_bind_shader(struct vrend_context *ctx,
125 void vrend_bind_vs_so(struct vrend_context *ctx,
127 void vrend_clear(struct vrend_context *ctx,
132 int vrend_draw_vbo(struct vrend_context *ctx,
136 void vrend_set_framebuffer_state(struct vrend_context *ctx,
140 struct vrend_context *vrend_create_context(int id, uint32_t nlen, const char *debug_name);
141 bool vrend_destroy_context(struct vrend_context *ctx);
164 int vrend_create_surface(struct vrend_context *ctx,
168 int vrend_create_sampler_view(struct vrend_context *ctx,
173 int vrend_create_sampler_state(struct vrend_context *ctx,
177 int vrend_create_so_target(struct vrend_context *ctx,
183 void vrend_set_streamout_targets(struct vrend_context *ctx,
188 int vrend_create_vertex_elements_state(struct vrend_context *ctx,
192 void vrend_bind_vertex_elements_state(struct vrend_context *ctx,
195 void vrend_set_single_vbo(struct vrend_context *ctx,
200 void vrend_set_num_vbo(struct vrend_context *ctx,
203 int vrend_transfer_inline_write(struct vrend_context *ctx,
207 void vrend_set_viewport_states(struct vrend_context *ctx,
210 void vrend_set_num_sampler_views(struct vrend_context *ctx,
214 void vrend_set_single_sampler_view(struct vrend_context *ctx,
219 void vrend_object_bind_blend(struct vrend_context *ctx,
221 void vrend_object_bind_dsa(struct vrend_context *ctx,
223 void vrend_object_bind_rasterizer(struct vrend_context *ctx,
226 void vrend_bind_sampler_states(struct vrend_context *ctx,
231 void vrend_set_index_buffer(struct vrend_context *ctx,
235 void vrend_set_single_image_view(struct vrend_context *ctx,
241 void vrend_set_single_ssbo(struct vrend_context *ctx,
246 void vrend_memory_barrier(struct vrend_context *ctx,
248 void vrend_launch_grid(struct vrend_context *ctx,
253 void vrend_set_framebuffer_state_no_attach(struct vrend_context *ctx,
256 void vrend_texture_barrier(struct vrend_context *ctx,
262 void vrend_renderer_resource_copy_region(struct vrend_context *ctx,
268 void vrend_renderer_blit(struct vrend_context *ctx,
272 void vrend_set_stencil_ref(struct vrend_context *ctx, struct pipe_stencil_ref *ref);
273 void vrend_set_blend_color(struct vrend_context *ctx, struct pipe_blend_color *color);
274 void vrend_set_scissor_state(struct vrend_context *ctx,
279 void vrend_set_polygon_stipple(struct vrend_context *ctx, struct pipe_poly_stipple *ps);
281 void vrend_set_clip_state(struct vrend_context *ctx, struct pipe_clip_state *ucp);
282 void vrend_set_sample_mask(struct vrend_context *ctx, unsigned sample_mask);
283 void vrend_set_min_samples(struct vrend_context *ctx, unsigned min_samples);
285 void vrend_set_constants(struct vrend_context *ctx,
291 void vrend_set_uniform_buffer(struct vrend_context *ctx, uint32_t shader,
295 void vrend_set_tess_state(struct vrend_context *ctx, const float tess_factors[6]);
300 struct vrend_context *vrend_lookup_renderer_ctx(uint32_t ctx_id);
307 bool vrend_hw_switch_context(struct vrend_context *ctx, bool now);
308 uint32_t vrend_renderer_object_insert(struct vrend_context *ctx, void *data,
310 void vrend_renderer_object_destroy(struct vrend_context *ctx, uint32_t handle);
312 int vrend_create_query(struct vrend_context *ctx, uint32_t handle,
316 int vrend_begin_query(struct vrend_context *ctx, uint32_t handle);
317 int vrend_end_query(struct vrend_context *ctx, uint32_t handle);
318 void vrend_get_query_result(struct vrend_context *ctx, uint32_t handle,
320 void vrend_render_condition(struct vrend_context *ctx,
383 void vrend_renderer_create_sub_ctx(struct vrend_context *ctx, int sub_ctx_id);
384 void vrend_renderer_destroy_sub_ctx(struct vrend_context *ctx, int sub_ctx_id);
385 void vrend_renderer_set_sub_ctx(struct vrend_context *ctx, int sub_ctx_id);
386 void vrend_report_buffer_error(struct vrend_context *ctx, int cmd);
397 void vrend_renderer_blit_gl(struct vrend_context *ctx,