Home | History | Annotate | Download | only in graw

Lines Matching refs:info

14 static struct graw_info info;
90 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
91 info.ctx->bind_vertex_elements_state(info.ctx, handle);
97 vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
103 info.ctx->set_vertex_buffers(info.ctx, 0, 1, &vbuf);
121 handle = graw_parse_vertex_shader(info.ctx, text);
122 info.ctx->bind_vs_state(info.ctx, handle);
147 handle = graw_parse_fragment_shader(info.ctx, text);
148 info.ctx->bind_fs_state(info.ctx, handle);
163 info.ctx->clear(info.ctx,
166 util_draw_arrays(info.ctx, PIPE_PRIM_QUADS, 0, NUM_VERTS);
167 info.ctx->flush(info.ctx, NULL, 0);
178 debug_dump_surface_bmp(info.ctx, "result.bmp", surf);
181 graw_util_flush_front(&info);
192 graw_util_viewport(&info, 0, 0, width, height, -1.0, 1.0);
200 if (!graw_util_create_window(&info, width, height, 1, TRUE))
203 graw_util_default_state(&info, TRUE);
205 graw_util_viewport(&info, 0, 0, width, height, -1.0, 1.0);