Home | History | Annotate | Download | only in graw

Lines Matching refs:info

8 static struct graw_info info;
51 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
52 info.ctx->bind_vertex_elements_state(info.ctx, handle);
58 vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
64 info.ctx->set_vertex_buffers(info.ctx, 0, 1, &vbuf);
80 handle = graw_parse_vertex_shader(info.ctx, text);
81 info.ctx->bind_vs_state(info.ctx, handle);
96 handle = graw_parse_fragment_shader(info.ctx, text);
97 info.ctx->bind_fs_state(info.ctx, handle);
110 info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR, &clear_color, 0, 0);
111 util_draw_arrays(info.ctx, PIPE_PRIM_QUADS, 0, 4);
112 info.ctx->flush(info.ctx, NULL, 0);
114 graw_util_flush_front(&info);
136 texture = graw_util_create_tex2d(&info, SIZE, SIZE,
146 sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_template);
150 info.ctx->set_sampler_views(info.ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv);
152 sampler = graw_util_create_simple_sampler(&info,
156 info.ctx->bind_sampler_states(info.ctx, PIPE_SHADER_FRAGMENT,
165 if (!graw_util_create_window(&info, WIDTH, HEIGHT, 1, FALSE))
168 graw_util_default_state(&info, FALSE);
170 graw_util_viewport(&info, 0, 0, WIDTH, HEIGHT, 30, 10000);