Lines Matching refs:ctx
22 struct pipe_context *ctx;
65 info->ctx = info->screen->context_create(info->screen, NULL, 0);
66 if (info->ctx == NULL) {
94 info->color_surf[i] = info->ctx->create_surface(info->ctx,
123 info->zs_surf = info->ctx->create_surface(info->ctx,
140 info->ctx->set_framebuffer_state(info->ctx, &fb);
155 handle = info->ctx->create_blend_state(info->ctx, &blend);
156 info->ctx->bind_blend_state(info->ctx, handle);
166 handle = info->ctx->create_depth_stencil_alpha_state(info->ctx,
168 info->ctx->bind_depth_stencil_alpha_state(info->ctx, handle);
178 handle = info->ctx->create_rasterizer_state(info->ctx, &rasterizer);
179 info->ctx->bind_rasterizer_state(info->ctx, handle);
209 info->ctx->set_viewport_states(info->ctx, 0, 1, &vp);
216 info->screen->flush_frontbuffer(info->screen, info->ctx, info->color_buf[0],
249 info->ctx->texture_subdata(info->ctx,
264 t = pipe_texture_map(info->ctx, samptex,
269 ptr = info->ctx->texture_map(info->ctx, t);
276 info->ctx->texture_unmap(info->ctx, t);
304 sampler = info->ctx->create_sampler_state(info->ctx, &sampler_desc);
325 sv = info->ctx->create_sampler_view(info->ctx, texture, &sv_temp);