Lines Matching defs:decompress
111 struct decompress_state *decompress);
2952 struct decompress_state *decompress)
2954 meta_decompress_fbo_cleanup(&decompress->byteFBO);
2955 meta_decompress_fbo_cleanup(&decompress->floatFBO);
2957 if (decompress->VAO != 0) {
2958 _mesa_DeleteVertexArrays(1, &decompress->VAO);
2959 _mesa_reference_buffer_object(ctx, &decompress->buf_obj, NULL);
2962 _mesa_reference_sampler_object(ctx, &decompress->samp_obj, NULL);
2963 _mesa_meta_blit_shader_table_cleanup(ctx, &decompress->shaders);
2965 memset(decompress, 0, sizeof(*decompress));
2986 struct decompress_state *decompress = &ctx->Meta->Decompress;
3000 decompress_fbo = &decompress->floatFBO;
3004 decompress_fbo = &decompress->byteFBO;
3087 _mesa_meta_setup_vertex_objects(ctx, &decompress->VAO,
3088 &decompress->buf_obj, true,
3091 _mesa_meta_setup_blit_shader(ctx, target, false, &decompress->shaders);
3093 _mesa_meta_setup_ff_tnl_for_blit(ctx, &decompress->VAO,
3094 &decompress->buf_obj, 3);
3097 if (decompress->samp_obj == NULL) {
3098 decompress->samp_obj = ctx->Driver.NewSamplerObject(ctx, 0xDEADBEEF);
3099 if (decompress->samp_obj == NULL) {
3115 _mesa_set_sampler_filters(ctx, decompress->samp_obj, GL_NEAREST, GL_NEAREST);
3118 _mesa_set_sampler_srgb_decode(ctx, decompress->samp_obj, GL_SKIP_DECODE_EXT);
3121 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, decompress->samp_obj);
3148 _mesa_buffer_sub_data(ctx, decompress->buf_obj, 0, sizeof(verts), verts);