/external/mesa3d/src/mesa/tnl/ |
t_context.c | 41 #include "tnl.h" 50 TNLcontext *tnl; local 55 ctx->swtnl_context = tnl = calloc(1, sizeof(TNLcontext)); 57 if (!tnl) { 63 tnl->vb.Size = ctx->Const.MaxArrayLockSize + MAX_CLIPPED_VERTICES; 66 /* Initialize tnl state. 74 _math_matrix_ctr(&tnl->_WindowMap); 76 tnl->NeedNdcCoords = GL_TRUE; 77 tnl->AllowVertexFog = GL_TRUE; 78 tnl->AllowPixelFog = GL_TRUE 113 TNLcontext *tnl = TNL_CONTEXT(ctx); local 133 TNLcontext *tnl = TNL_CONTEXT(ctx); local 228 TNLcontext *tnl = TNL_CONTEXT(ctx); local 235 TNLcontext *tnl = TNL_CONTEXT(ctx); local 245 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_pipeline.c | 41 TNLcontext *tnl = TNL_CONTEXT(ctx); local 44 tnl->pipeline.new_state = ~0; 49 struct tnl_pipeline_stage *s = &tnl->pipeline.stages[i]; 55 tnl->pipeline.nr_stages = i; 60 TNLcontext *tnl = TNL_CONTEXT(ctx); local 63 for (i = 0 ; i < tnl->pipeline.nr_stages ; i++) { 64 struct tnl_pipeline_stage *s = &tnl->pipeline.stages[i]; 69 tnl->pipeline.nr_stages = 0; 76 TNLcontext *tnl = TNL_CONTEXT(ctx); local 80 if (tnl->vb.AttribPtr[i]->size != tnl->pipeline.last_attrib_size[i] | 196 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_vb_render.c | 86 tnl->Driver.Render.Points( ctx, start, count ) 121 TNLcontext *tnl = TNL_CONTEXT(ctx); \ 122 struct vertex_buffer *VB = &tnl->vb; \ 126 const tnl_line_func LineFunc = tnl->Driver.Render.Line; \ 127 const tnl_triangle_func TriangleFunc = tnl->Driver.Render.Triangle; \ 128 const tnl_quad_func QuadFunc = tnl->Driver.Render.Quad; \ 134 #define INIT(x) tnl->Driver.Render.PrimitiveNotify( ctx, x ) 135 #define RESET_STIPPLE if (stipple) tnl->Driver.Render.ResetLineStipple( ctx ) 156 TNLcontext *tnl = TNL_CONTEXT(ctx); local 157 tnl_render_func render_tris = tnl->Driver.Render.PrimTabElts[GL_TRIANGLES] 242 TNLcontext *tnl = TNL_CONTEXT(ctx); local 253 TNLcontext *tnl = TNL_CONTEXT(ctx); local 267 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_vb_light.c | 40 #include "tnl.h" 123 TNLcontext *tnl = TNL_CONTEXT(ctx); local 124 struct tnl_shine_tab *list = tnl->_ShineTabList; 164 if (tnl->_ShineTable[side]) 165 tnl->_ShineTable[side]->refcount--; 167 tnl->_ShineTable[side] = s; 176 TNLcontext *tnl = TNL_CONTEXT(ctx); local 180 if (!tnl->_ShineTable[0] || tnl->_ShineTable[0]->shininess != shininess) 184 if (!tnl->_ShineTable[1] || tnl->_ShineTable[1]->shininess != shininess 279 TNLcontext *tnl = TNL_CONTEXT(ctx); local 332 TNLcontext *tnl = TNL_CONTEXT(ctx); local 424 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_draw.c | 41 #include "tnl.h" 47 TNLcontext *tnl = TNL_CONTEXT(ctx); local 50 tnl->block[tnl->nr_blocks++] = space; 57 TNLcontext *tnl = TNL_CONTEXT(ctx); local 59 for (i = 0; i < tnl->nr_blocks; i++) 60 free(tnl->block[i]); 61 tnl->nr_blocks = 0; 179 TNLcontext *tnl = TNL_CONTEXT(ctx); local 180 struct vertex_buffer *VB = &tnl->vb 275 TNLcontext *tnl = TNL_CONTEXT(ctx); local 345 TNLcontext *tnl = TNL_CONTEXT(ctx); local 399 TNLcontext *tnl = TNL_CONTEXT(ctx); local 432 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_vb_cliptmp.h | 120 TNLcontext *tnl = TNL_CONTEXT(ctx); local 121 struct vertex_buffer *VB = &tnl->vb; 122 tnl_interp_func interp = tnl->Driver.Render.Interp; 169 tnl->Driver.Render.CopyPV( ctx, newvert, v1 ); 179 tnl->Driver.Render.ClippedLine( ctx, v0, v1 ); 188 TNLcontext *tnl = TNL_CONTEXT(ctx); local 189 struct vertex_buffer *VB = &tnl->vb; 190 tnl_interp_func interp = tnl->Driver.Render.Interp; 241 tnl->Driver.Render.CopyPV( ctx, inlist[0], pv ); 257 tnl->Driver.Render.ClippedPolygon( ctx, inlist, n ) 267 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_vb_fog.c | 145 TNLcontext *tnl = TNL_CONTEXT(ctx); local 146 struct vertex_buffer *VB = &tnl->vb; 221 if (tnl->_DoVertexFog) { 240 TNLcontext *tnl = TNL_CONTEXT(ctx); local 247 _mesa_vector4f_alloc( &store->fogcoord, 0, tnl->vb.Size, 32 );
|
t_vb_normals.c | 150 TNLcontext *tnl = TNL_CONTEXT(ctx); local 158 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
|
t_vb_program.c | 28 * \file tnl/t_vb_program.c 45 #include "tnl/tnl.h" 46 #include "tnl/t_context.h" 47 #include "tnl/t_pipeline.h" 128 TNLcontext *tnl = TNL_CONTEXT(ctx); local 129 struct vertex_buffer *VB = &tnl->vb; 138 if (tnl->NeedNdcCoords) { 290 TNLcontext *tnl = TNL_CONTEXT(ctx); local 292 struct vertex_buffer *VB = &tnl->vb 468 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_vb_vertex.c | 141 TNLcontext *tnl = TNL_CONTEXT(ctx); local 142 struct vertex_buffer *VB = &tnl->vb; 187 if (tnl->NeedNdcCoords) {
|
t_vb_texgen.c | 336 TNLcontext *tnl = TNL_CONTEXT(ctx); local 337 struct vertex_buffer *VB = &tnl->vb;
|
/external/mesa3d/src/mesa/swrast_setup/ |
ss_context.c | 31 #include "tnl/tnl.h" 32 #include "tnl/t_context.h" 33 #include "tnl/t_pipeline.h" 34 #include "tnl/t_vertex.h" 106 * Tell the tnl module how to build SWvertex objects for swrast. 113 TNLcontext *tnl = TNL_CONTEXT(ctx); local 121 tnl->render_inputs_bitset != swsetup->last_index_bitset) { 122 GLbitfield64 index_bitset = tnl->render_inputs_bitset; 170 tnl->_WindowMap.m 186 TNLcontext *tnl = TNL_CONTEXT(ctx); local 233 TNLcontext *tnl = TNL_CONTEXT(ctx); local 268 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
ss_triangle.c | 33 #include "tnl/t_context.h" 241 TNLcontext *tnl = TNL_CONTEXT(ctx); local 261 tnl->Driver.Render.Triangle = tri_tab[ind]; 262 tnl->Driver.Render.Quad = quad_tab[ind]; 263 tnl->Driver.Render.Line = swsetup_line; 264 tnl->Driver.Render.Points = swsetup_points;
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_xdp.c | 72 const struct iptnl_info *tnl, 76 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); 84 struct iptnl_info *tnl; local 108 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); 110 if (!tnl || tnl->family != AF_INET) 128 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); 137 iph->daddr = tnl->daddr.v4; 138 iph->saddr = tnl->saddr.v4; 157 struct iptnl_info *tnl; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_swtnl_t.c | 27 #include "tnl/t_context.h" 28 #include "tnl/t_pipeline.h" 29 #include "tnl/t_vertex.h" 107 TNLcontext *tnl = TNL_CONTEXT(ctx); local 108 struct tnl_clipspace *vtx = &tnl->clipspace; 116 tnl->vb.AttribPtr[VERT_ATTRIB_POS] = tnl->vb.ClipPtr; 126 if (tnl->render_inputs_bitset & BITFIELD64_BIT(i)) { 130 fields = tnl->vb.AttribPtr[i]->size; 228 /* TnL renderer entry points * 318 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
nv04_render.c | 33 #include "tnl/tnl.h" 34 #include "tnl/t_pipeline.h" 35 #include "tnl/t_vertex.h" 56 TNLcontext *tnl = TNL_CONTEXT(ctx); local 58 if (tnl->render_inputs_bitset & BITFIELD64_BIT(attr)) 73 TNLcontext *tnl = TNL_CONTEXT(ctx); local 79 tnl->vb.AttribPtr[VERT_ATTRIB_POS] = tnl->vb.NdcPtr; 94 /* TnL renderer entry points * 265 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_swtcl.c | 45 #include "tnl/tnl.h" 46 #include "tnl/t_context.h" 47 #include "tnl/t_pipeline.h" 91 TNLcontext *tnl = TNL_CONTEXT(ctx); local 92 struct vertex_buffer *VB = &tnl->vb; 93 GLbitfield64 index_bitset = tnl->render_inputs_bitset; 273 TNLcontext *tnl = TNL_CONTEXT(ctx); local 295 if ((0 == (tnl->render_inputs_bitset & 414 TNLcontext *tnl = TNL_CONTEXT(ctx) local 694 TNLcontext *tnl = TNL_CONTEXT(ctx); local 798 TNLcontext *tnl = TNL_CONTEXT(ctx); local 854 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
radeon_tcl.c | 43 #include "tnl/tnl.h" 44 #include "tnl/t_pipeline.h" 286 TNLcontext *tnl = TNL_CONTEXT(ctx); local 287 struct vertex_buffer *VB = &tnl->vb; 358 TNLcontext *tnl = TNL_CONTEXT(ctx); local 359 struct vertex_buffer *VB = &tnl->vb; 372 /* NOTE: inputs != tnl->render_inputs - these are the untransformed 455 TNLcontext *tnl = TNL_CONTEXT(ctx); local 466 tnl->Driver.NotifyMaterialChange = 484 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_swtcl.c | 45 #include "tnl/tnl.h" 46 #include "tnl/t_context.h" 47 #include "tnl/t_pipeline.h" 79 TNLcontext *tnl = TNL_CONTEXT(ctx); local 80 struct vertex_buffer *VB = &tnl->vb; 81 GLbitfield64 index_bitset = tnl->render_inputs_bitset; 237 TNLcontext *tnl = TNL_CONTEXT(ctx); local 257 if ((0 == (tnl->render_inputs_bitset & BITFIELD64_RANGE(_TNL_ATTRIB_TEX0, _TNL_NUM_TEX))) 263 if (tnl->render_inputs_bitset & BITFIELD64_RANGE(_TNL_ATTRIB_TEX0, _TNL_NUM_TEX)) 571 TNLcontext *tnl = TNL_CONTEXT(ctx); local 689 TNLcontext *tnl = TNL_CONTEXT(ctx); local 927 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
r200_tcl.c | 43 #include "tnl/tnl.h" 44 #include "tnl/t_pipeline.h" 293 TNLcontext *tnl = TNL_CONTEXT(ctx); local 294 struct vertex_buffer *VB = &tnl->vb; 359 TNLcontext *tnl = TNL_CONTEXT(ctx); local 360 struct vertex_buffer *VB = &tnl->vb; 387 /* NOTE: inputs != tnl->render_inputs - these are the untransformed 515 TNLcontext *tnl = TNL_CONTEXT(ctx); local 524 tnl->Driver.NotifyMaterialChange = 539 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
/external/mesa3d/doxygen/ |
Makefile | 17 tnl.doxy \
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_tris.c | 45 #include "tnl/t_context.h" 46 #include "tnl/t_pipeline.h" 47 #include "tnl/t_vertex.h" 872 #include "tnl/t_vb_rendertmp.h" 877 #include "tnl/t_vb_rendertmp.h" 889 TNLcontext *tnl = TNL_CONTEXT(ctx); local 899 tnl->Driver.Render.PrimitiveNotify(ctx, prim); 945 TNLcontext *tnl = TNL_CONTEXT(ctx); local 1014 tnl->Driver.Render.Points = rast_tab[index].points; 1015 tnl->Driver.Render.Line = rast_tab[index].line 1217 TNLcontext *tnl = TNL_CONTEXT(ctx); local 1268 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
intel_render.c | 42 #include "tnl/t_context.h" 43 #include "tnl/t_vertex.h" 44 #include "tnl/t_pipeline.h" 223 TNLcontext *tnl = TNL_CONTEXT(ctx); local 224 struct vertex_buffer *VB = &tnl->vb; 236 tnl->clipspace.new_inputs |= VERT_BIT_POS; 238 tnl->Driver.Render.Start(ctx); 252 tnl->Driver.Render.Finish(ctx);
|
/external/mesa3d/src/mesa/ |
Makefile.sources | 349 tnl/t_context.c \ 350 tnl/t_context.h \ 351 tnl/t_draw.c \ 352 tnl/tnl.h \ 353 tnl/t_pipeline.c \ 354 tnl/t_pipeline.h \ 355 tnl/t_vb_cliptmp.h \ 356 tnl/t_vb_fog.c \ 357 tnl/t_vb_light.c [all...] |
Android.gen.mk | 86 $(LOCAL_PATH)/tnl/t_context.h
|