Home | History | Annotate | Download | only in graw

Lines Matching refs:ctx

69    handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
70 info.ctx->bind_vertex_elements_state(info.ctx, handle);
75 vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
81 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
97 handle = graw_parse_vertex_shader(info.ctx, text);
98 info.ctx->bind_vs_state(info.ctx, handle);
114 handle = graw_parse_fragment_shader(info.ctx, text);
115 info.ctx->bind_fs_state(info.ctx, handle);
128 info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR, &clear_color, 0, 0);
130 info.ctx->set_fragment_sampler_views(info.ctx, 1, &linear_sv);
132 util_draw_arrays(info.ctx, PIPE_PRIM_QUADS, 0, 4);
134 info.ctx->set_fragment_sampler_views(info.ctx, 1, &srgb_sv);
136 util_draw_arrays(info.ctx, PIPE_PRIM_QUADS, 0, 4);
138 info.ctx->flush(info.ctx, NULL);
167 info.ctx->bind_fragment_sampler_states(info.ctx, 1, &sampler);
180 linear_sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_temp);
195 srgb_sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_temp);