Home | History | Annotate | Download | only in common

Lines Matching refs:Meta

26  * Meta operations.  Some GL operations can be expressed in terms of
86 #include "drivers/common/meta.h"
150 "meta program compile failed:\n%s\nsource:\n%s\n",
167 _mesa_problem(ctx, "meta program link failed:\n%s",
207 /* texelFetch() can break GL_SKIP_DECODE_EXT, but many meta passes want
405 * Initialize meta-ops for a context.
411 assert(!ctx->Meta);
413 ctx->Meta = CALLOC_STRUCT(gl_meta_state);
417 * Free context meta-op state.
425 _mesa_meta_glsl_blit_cleanup(ctx, &ctx->Meta->Blit);
426 meta_glsl_clear_cleanup(ctx, &ctx->Meta->Clear);
427 meta_copypix_cleanup(ctx, &ctx->Meta->CopyPix);
428 _mesa_meta_glsl_generate_mipmap_cleanup(ctx, &ctx->Meta->Mipmap);
429 cleanup_temp_texture(ctx, &ctx->Meta->TempTex);
430 meta_decompress_cleanup(ctx, &ctx->Meta->Decompress);
431 meta_drawpix_cleanup(ctx, &ctx->Meta->DrawPix);
436 free(ctx->Meta);
437 ctx->Meta = NULL;
442 * Enter meta state. This is like a light-weight version of glPushAttrib
454 assert(ctx->Meta->SaveStackDepth < MAX_META_OPS_DEPTH);
456 save = &ctx->Meta->Save[ctx->Meta->SaveStackDepth++];
469 * not it has been advertised. Since meta aims to only be restricted by the
486 * occlusion querying will be active during the meta-operation.
834 * Leave meta state. This is like a light-weight version of glPopAttrib().
839 assert(ctx->Meta->SaveStackDepth > 0);
841 struct save_state *save = &ctx->Meta->Save[ctx->Meta->SaveStackDepth - 1];
1213 ctx->Meta->SaveStackDepth--;
1224 * Used by the meta-Clear, Draw/CopyPixels and Bitmap functions where the Z
1275 struct temp_texture *tex = &ctx->Meta->TempTex;
1293 struct temp_texture *tex = &ctx->Meta->Bitmap.Tex;
1309 struct temp_texture *tex = &ctx->Meta->Blit.depthTex;
1496 * Meta implementation of ctx->Driver.Clear() in terms of polygon rendering.
1541 _mesa_meta_compile_and_link_program(ctx, vs_source, fs_source, "meta clear",
1720 * Meta implementation of ctx->Driver.Clear() in terms of polygon rendering.
1725 struct clear_state *clear = &ctx->Meta->Clear;
1866 * Meta implementation of ctx->Driver.CopyPixels() in terms
1874 struct copypix_state *copypix = &ctx->Meta->CopyPix;
2054 struct drawpix_state *drawpix = &ctx->Meta->DrawPix;
2088 struct drawpix_state *drawpix = &ctx->Meta->DrawPix;
2110 * Meta implementation of ctx->Driver.DrawPixels() in terms
2120 struct drawpix_state *drawpix = &ctx->Meta->DrawPix;
2374 struct bitmap_state *bitmap = &ctx->Meta->Bitmap;
2858 ctx->Meta->Blit.no_ctsi_fallback = true;
2867 * are too strict for CopyTexImage. We know meta will be fine with format
2876 ctx->Meta->Blit.no_ctsi_fallback = false;
2887 * Have to be careful with locking and meta state for pixel transfer.
3018 struct decompress_state *decompress = &ctx->Meta->Decompress;
3258 * decompress_texture_image(). Meta functions should not be directly called
3321 * Meta implementation of ctx->Driver.DrawTex() in terms
3328 struct drawtex_state *drawtex = &ctx->Meta->DrawTex;