Lines Matching refs:Meta
26 * Meta operations. Some GL operations can be expressed in terms of
86 #include "drivers/common/meta.h"
155 "meta program compile failed:\n%s\nsource:\n%s\n",
172 _mesa_problem(ctx, "meta program link failed:\n%s",
212 /* texelFetch() can break GL_SKIP_DECODE_EXT, but many meta passes want
415 * Initialize meta-ops for a context.
421 assert(!ctx->Meta);
423 ctx->Meta = CALLOC_STRUCT(gl_meta_state);
427 * Free context meta-op state.
435 _mesa_meta_glsl_blit_cleanup(ctx, &ctx->Meta->Blit);
436 meta_glsl_clear_cleanup(ctx, &ctx->Meta->Clear);
437 meta_copypix_cleanup(ctx, &ctx->Meta->CopyPix);
438 _mesa_meta_glsl_generate_mipmap_cleanup(ctx, &ctx->Meta->Mipmap);
439 Meta->TempTex);
440 meta_decompress_cleanup(ctx, &ctx->Meta->Decompress);
441 meta_drawpix_cleanup(ctx, &ctx->Meta->DrawPix);
442 meta_drawtex_cleanup(ctx, &ctx->Meta->DrawTex);
443 meta_bitmap_cleanup(ctx, &ctx->Meta->Bitmap);
449 free(ctx->Meta);
450 ctx->Meta = NULL;
455 * Enter meta state. This is like a light-weight version of glPushAttrib
467 assert(ctx->Meta->SaveStackDepth < MAX_META_OPS_DEPTH);
469 save = &ctx->Meta->Save[ctx->Meta->SaveStackDepth++];
482 * not it has been advertised. Since meta aims to only be restricted by the
499 * occlusion querying will be active during the meta-operation.
847 * Leave meta state. This is like a light-weight version of glPopAttrib().
852 assert(ctx->Meta->SaveStackDepth > 0);
854 struct save_state *save = &ctx->Meta->Save[ctx->Meta->SaveStackDepth - 1];
1217 ctx->Meta->SaveStackDepth--;
1228 * Used by the meta-Clear, Draw/CopyPixels and Bitmap functions where the Z
1279 struct temp_texture *tex = &ctx->Meta->TempTex;
1297 struct temp_texture *tex = &ctx->Meta->Bitmap.Tex;
1313 struct temp_texture *tex = &ctx->Meta->Blit.depthTex;
1499 * Meta implementation of ctx->Driver.Clear() in terms of polygon rendering.
1543 _mesa_meta_compile_and_link_program(ctx, vs_source, fs_source, "meta clear",
1675 * Meta implementation of ctx->Driver.Clear() in terms of polygon rendering.
1680 struct clear_state *clear = &ctx->Meta->Clear;
1809 * Meta implementation of ctx->Driver.CopyPixels() in terms
1817 struct copypix_state *copypix = &ctx->Meta->CopyPix;
2021 struct drawpix_state *drawpix = &ctx->Meta->DrawPix;
2055 struct drawpix_state *drawpix = &ctx->Meta->DrawPix;
2077 * Meta implementation of ctx->Driver.DrawPixels() in terms
2087 struct drawpix_state *drawpix = &ctx->Meta->DrawPix;
2341 struct bitmap_state *bitmap = &ctx->Meta->Bitmap;
2825 ctx->Meta->Blit.no_ctsi_fallback = true;
2834 * are too strict for CopyTexImage. We know meta will be fine with format
2843 ctx->Meta->Blit.no_ctsi_fallback = false;
2854 * Have to be careful with locking and meta state for pixel transfer.
2986 struct decompress_state *decompress = &ctx->Meta->Decompress;
3226 * decompress_texture_image(). Meta functions should not be directly called
3289 * Meta implementation of ctx->Driver.DrawTex() in terms
3296 struct drawtex_state *drawtex = &ctx->Meta->DrawTex;