Home | History | Annotate | Download | only in graw

Lines Matching refs:ctx

90    handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
91 info.ctx->bind_vertex_elements_state(info.ctx, handle);
96 vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
102 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
120 handle = graw_parse_vertex_shader(info.ctx, text);
121 info.ctx->bind_vs_state(info.ctx, handle);
146 handle = graw_parse_fragment_shader(info.ctx, text);
147 info.ctx->bind_fs_state(info.ctx, handle);
162 info.ctx->clear(info.ctx,
165 util_draw_arrays(info.ctx, PIPE_PRIM_QUADS, 0, NUM_VERTS);
166 info.ctx->flush(info.ctx, NULL);
177 debug_dump_surface_bmp(info.ctx, "result.bmp", surf);