HomeSort by: relevance | last modified time | path
    Searched defs:ctx (Results 1 - 25 of 962) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
etnaviv_rasterizer.c 39 struct etna_context *ctx = etna_context(pctx); local
55 COND(VIV_FEATURE(ctx->screen, chipMinorFeatures1, WIDE_LINE), VIVS_PA_CONFIG_WIDE_LINE);
etnaviv_zsa.c 41 struct etna_context *ctx = etna_context(pctx); local
42 struct etna_screen *screen = ctx->screen;
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
pan_blit.c 36 struct panfrost_context *ctx,
41 util_blitter_save_vertex_buffer_slot(blitter, ctx->vertex_buffers);
42 util_blitter_save_vertex_elements(blitter, ctx->vertex);
43 util_blitter_save_vertex_shader(blitter, ctx->shader[PIPE_SHADER_VERTEX]);
44 util_blitter_save_rasterizer(blitter, ctx->rasterizer);
45 util_blitter_save_viewport(blitter, &ctx->pipe_viewport);
46 util_blitter_save_scissor(blitter, &ctx->scissor);
47 util_blitter_save_fragment_shader(blitter, ctx->shader[PIPE_SHADER_FRAGMENT]);
48 util_blitter_save_blend(blitter, ctx->blend);
49 util_blitter_save_depth_stencil_alpha(blitter, ctx->depth_stencil)
76 struct panfrost_context *ctx = pan_context(pipe); local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
st_atom_clip.c 47 const struct gl_context *ctx = st->ctx; local
50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
54 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX])
61 use_eye ? ctx->Transform.EyeUserPlane
62 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
st_atom_tess.c 43 const struct gl_context *ctx = st->ctx; local
48 ctx->TessCtrlProgram.patch_default_outer_level,
49 ctx->TessCtrlProgram.patch_default_inner_level);
53 pipe->set_patch_vertices(pipe, ctx->TessCtrlProgram.patch_vertices);
st_atom_depth.c 81 struct gl_context *ctx = st->ctx; local
86 if (ctx->DrawBuffer->Visual.depthBits > 0) {
87 if (ctx->Depth.Test) {
89 dsa->depth_func = func_to_gallium(ctx->Depth.Func);
91 dsa->depth_writemask = ctx->Depth.Mask;
93 if (ctx->Depth.BoundsTest) {
95 dsa->depth_bounds_min = ctx->Depth.BoundsMin;
96 dsa->depth_bounds_max = ctx->Depth.BoundsMax;
100 if (ctx->Stencil.Enabled && ctx->DrawBuffer->Visual.stencilBits > 0)
    [all...]
st_atom_rasterizer.c 67 struct gl_context *ctx = st->ctx; local
69 const struct gl_program *fragProg = ctx->FragmentProgram._Current;
76 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW);
79 if (ctx->Transform.ClipOrigin == GL_UPPER_LEFT) {
97 ctx->Light.ShadeModel == GL_FLAT;
99 raster->flatshade_first = ctx->Light.ProvokingVertex ==
104 raster->light_twoside = _mesa_vertex_program_two_side_enabled(ctx);
108 ctx->Light._ClampVertexColor;
112 if (ctx->Polygon.CullFlag)
    [all...]
st_atom_stipple.c 67 const struct gl_context *ctx = st->ctx; local
69 assert(sz == sizeof(ctx->PolygonStipple));
71 if (memcmp(st->state.poly_stipple, ctx->PolygonStipple, sz)) {
75 memcpy(st->state.poly_stipple, ctx->PolygonStipple, sz);
77 if (!ctx->DrawBuffer->FlipY) {
78 memcpy(newStipple.stipple, ctx->PolygonStipple, sizeof(newStipple.stipple));
80 invert_stipple(newStipple.stipple, ctx->PolygonStipple,
81 ctx->DrawBuffer->Height);
st_atom_viewport.c 52 struct gl_context *ctx = st->ctx; local
61 _mesa_get_viewport_xform(ctx, i, scale, translate);
70 st->state.viewport[i].swizzle_x = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleX);
71 st->state.viewport[i].swizzle_y = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleY);
72 st->state.viewport[i].swizzle_z = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleZ);
73 st->state.viewport[i].swizzle_w = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleW);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
etnaviv_rasterizer.c 39 struct etna_context *ctx = etna_context(pctx); local
55 COND(VIV_FEATURE(ctx->screen, chipMinorFeatures1, WIDE_LINE), VIVS_PA_CONFIG_WIDE_LINE);
etnaviv_zsa.c 40 struct etna_context *ctx = etna_context(pctx); local
49 bool early_z = !VIV_FEATURE(ctx->screen, chipFeatures, NO_EARLY_Z);
102 COND(disable_zs && ctx->specs.halti < 5, VIVS_PE_DEPTH_CONFIG_DISABLE_ZS);
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
st_atom_clip.c 47 const struct gl_context *ctx = st->ctx; local
50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
54 if (ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX])
61 use_eye ? ctx->Transform.EyeUserPlane
62 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
st_atom_tess.c 43 const struct gl_context *ctx = st->ctx; local
50 ctx->TessCtrlProgram.patch_default_outer_level,
51 ctx->TessCtrlProgram.patch_default_inner_level);
  /xsrc/external/mit/MesaLib.old/dist/src/util/
mesa-sha1.c 33 struct mesa_sha1 ctx; local
35 _mesa_sha1_init(&ctx);
36 _mesa_sha1_update(&ctx, data, size);
37 _mesa_sha1_final(&ctx, result);
  /xsrc/external/mit/libepoxy/dist/test/
cgl_core.c 42 CGLContextObj ctx; local
46 CGLCreateContext(pix, (void *) 0, &ctx);
50 CGLReleaseContext(ctx);
wgl_core_and_exts.c 34 HGLRC ctx; local
36 ctx = wglCreateContext(hdc);
37 if (!ctx) {
41 if (!wglMakeCurrent(hdc, ctx)) {
68 wglDeleteContext(ctx);
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
hir_field_selection.cpp 34 void *ctx = state; local
50 result = new(ctx) ir_dereference_record(op,
79 return result ? result : ir_rvalue::error_value(ctx);
opt_conditional_discard.cpp 78 void *ctx = ralloc_parent(ir); local
79 discard->condition = new(ctx) ir_expression(ir_binop_logic_and,
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
u_trace_gallium.c 39 struct pipe_context *ctx = utctx->pctx; local
51 return ctx->screen->resource_create(ctx->screen, &tmpl);
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/api/
sampler.cpp 32 auto &ctx = obj(d_ctx); local
34 if (!any_of(std::mem_fn(&device::image_support), ctx.devices()))
38 return new sampler(ctx, norm_mode, addr_mode, filter_mode);
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
i830_context.c 67 struct gl_context *ctx = &intel->ctx; local
86 intel_init_texture_formats(ctx);
91 intelInitTriFuncs(ctx);
94 _tnl_destroy_pipeline(ctx);
95 _tnl_install_pipeline(ctx, intel_pipeline);
100 intel->ctx.Const.MaxTextureUnits = I830_TEX_UNITS;
101 intel->ctx.Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = I830_TEX_UNITS;
102 intel->ctx.Const.MaxTextureCoordUnits = I830_TEX_UNITS;
107 ctx->Const.MaxTextureSize = 2048
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/panfrost/ds/
pan_pps_perf.h 27 void *ctx = nullptr; member in class:pps::PanfrostDevice
  /xsrc/external/mit/MesaLib/dist/src/util/
mesa-sha1.c 33 struct mesa_sha1 ctx; local
35 _mesa_sha1_init(&ctx);
36 _mesa_sha1_update(&ctx, data, size);
37 _mesa_sha1_final(&ctx, result);
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
hir_field_selection.cpp 34 void *ctx = state; local
50 result = new(ctx) ir_dereference_record(op,
79 return result ? result : ir_rvalue::error_value(ctx);
opt_conditional_discard.cpp 78 void *ctx = ralloc_parent(ir); local
79 discard->condition = new(ctx) ir_expression(ir_binop_logic_and,

Completed in 30 milliseconds

1 2 3 4 5 6 7 8 91011>>