/external/mesa3d/src/mesa/tnl/ |
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] | 118 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_context.c | 39 #include "tnl.h" 48 TNLcontext *tnl; local 53 ctx->swtnl_context = tnl = (TNLcontext *) CALLOC( sizeof(TNLcontext) ); 55 if (!tnl) { 61 tnl->vb.Size = ctx->Const.MaxArrayLockSize + MAX_CLIPPED_VERTICES; 64 /* Initialize tnl state. 72 tnl->NeedNdcCoords = GL_TRUE; 73 tnl->AllowVertexFog = GL_TRUE; 74 tnl->AllowPixelFog = GL_TRUE; 78 tnl->Driver.Render.PrimTabElts = _tnl_render_tab_elts 109 TNLcontext *tnl = TNL_CONTEXT(ctx); local 127 TNLcontext *tnl = TNL_CONTEXT(ctx); local 214 TNLcontext *tnl = TNL_CONTEXT(ctx); local 221 TNLcontext *tnl = TNL_CONTEXT(ctx); local 231 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_vb_render.c | 84 tnl->Driver.Render.Points( ctx, start, count ) 119 TNLcontext *tnl = TNL_CONTEXT(ctx); \ 120 struct vertex_buffer *VB = &tnl->vb; \ 124 const tnl_line_func LineFunc = tnl->Driver.Render.Line; \ 125 const tnl_triangle_func TriangleFunc = tnl->Driver.Render.Triangle; \ 126 const tnl_quad_func QuadFunc = tnl->Driver.Render.Quad; \ 132 #define INIT(x) tnl->Driver.Render.PrimitiveNotify( ctx, x ) 133 #define RESET_STIPPLE if (stipple) tnl->Driver.Render.ResetLineStipple( ctx ) 154 TNLcontext *tnl = TNL_CONTEXT(ctx); local 155 tnl_render_func render_tris = tnl->Driver.Render.PrimTabElts[GL_TRIANGLES] 240 TNLcontext *tnl = TNL_CONTEXT(ctx); local 251 TNLcontext *tnl = TNL_CONTEXT(ctx); local 265 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_vb_light.c | 39 #include "tnl.h" 122 TNLcontext *tnl = TNL_CONTEXT(ctx); local 123 struct tnl_shine_tab *list = tnl->_ShineTabList; 163 if (tnl->_ShineTable[side]) 164 tnl->_ShineTable[side]->refcount--; 166 tnl->_ShineTable[side] = s; 175 TNLcontext *tnl = TNL_CONTEXT(ctx); local 179 if (!tnl->_ShineTable[0] || tnl->_ShineTable[0]->shininess != shininess) 183 if (!tnl->_ShineTable[1] || tnl->_ShineTable[1]->shininess != shininess 276 TNLcontext *tnl = TNL_CONTEXT(ctx); local 329 TNLcontext *tnl = TNL_CONTEXT(ctx); local 420 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
t_draw.c | 38 #include "tnl.h" 44 TNLcontext *tnl = TNL_CONTEXT(ctx); local 47 tnl->block[tnl->nr_blocks++] = space; 54 TNLcontext *tnl = TNL_CONTEXT(ctx); local 56 for (i = 0; i < tnl->nr_blocks; i++) 57 free(tnl->block[i]); 58 tnl->nr_blocks = 0; 175 TNLcontext *tnl = TNL_CONTEXT(ctx); local 176 struct vertex_buffer *VB = &tnl->vb 271 TNLcontext *tnl = TNL_CONTEXT(ctx); local 340 TNLcontext *tnl = TNL_CONTEXT(ctx); local 392 TNLcontext *tnl = TNL_CONTEXT(ctx); local 439 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; 170 tnl->Driver.Render.CopyPV( ctx, newvert, v1 ); 180 tnl->Driver.Render.ClippedLine( ctx, v0, v1 ); 189 TNLcontext *tnl = TNL_CONTEXT(ctx); local 190 struct vertex_buffer *VB = &tnl->vb; 191 tnl_interp_func interp = tnl->Driver.Render.Interp; 243 tnl->Driver.Render.CopyPV( ctx, inlist[0], pv ); 259 tnl->Driver.Render.ClippedPolygon( ctx, inlist, n ) 269 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 | 151 TNLcontext *tnl = TNL_CONTEXT(ctx); local 159 _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" 130 TNLcontext *tnl = TNL_CONTEXT(ctx); local 131 struct vertex_buffer *VB = &tnl->vb; 140 if (tnl->NeedNdcCoords) { 313 TNLcontext *tnl = TNL_CONTEXT(ctx); local 315 struct vertex_buffer *VB = &tnl->vb 512 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) {
|
/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; 180 * Called via tnl->Driver.Render.Start 186 TNLcontext *tnl = TNL_CONTEXT(ctx); local 233 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/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 | 47 #include "tnl/tnl.h" 48 #include "tnl/t_context.h" 49 #include "tnl/t_pipeline.h" 93 TNLcontext *tnl = TNL_CONTEXT(ctx); local 94 struct vertex_buffer *VB = &tnl->vb; 95 GLbitfield64 index_bitset = tnl->render_inputs_bitset; 273 TNLcontext *tnl = TNL_CONTEXT(ctx); local 292 if ((0 == (tnl->render_inputs_bitset & 413 TNLcontext *tnl = TNL_CONTEXT(ctx) local 693 TNLcontext *tnl = TNL_CONTEXT(ctx); local 790 TNLcontext *tnl = TNL_CONTEXT(ctx); local 846 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
radeon_tcl.c | 42 #include "tnl/tnl.h" 43 #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 | 47 #include "tnl/tnl.h" 48 #include "tnl/t_context.h" 49 #include "tnl/t_pipeline.h" 81 TNLcontext *tnl = TNL_CONTEXT(ctx); local 82 struct vertex_buffer *VB = &tnl->vb; 83 GLbitfield64 index_bitset = tnl->render_inputs_bitset; 239 TNLcontext *tnl = TNL_CONTEXT(ctx); local 256 if ((0 == (tnl->render_inputs_bitset & BITFIELD64_RANGE(_TNL_ATTRIB_TEX0, _TNL_NUM_TEX))) 261 if (tnl->render_inputs_bitset & BITFIELD64_RANGE(_TNL_ATTRIB_TEX0, _TNL_NUM_TEX)) 570 TNLcontext *tnl = TNL_CONTEXT(ctx); local 681 TNLcontext *tnl = TNL_CONTEXT(ctx); local 919 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
r200_tcl.c | 43 #include "tnl/tnl.h" 44 #include "tnl/t_pipeline.h" 294 TNLcontext *tnl = TNL_CONTEXT(ctx); local 295 struct vertex_buffer *VB = &tnl->vb; 360 TNLcontext *tnl = TNL_CONTEXT(ctx); local 361 struct vertex_buffer *VB = &tnl->vb; 388 /* NOTE: inputs != tnl->render_inputs - these are the untransformed 516 TNLcontext *tnl = TNL_CONTEXT(ctx); local 525 tnl->Driver.NotifyMaterialChange = 540 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_render.c | 42 #include "tnl/t_context.h" 43 #include "tnl/t_vertex.h" 44 #include "tnl/t_pipeline.h" 228 TNLcontext *tnl = TNL_CONTEXT(ctx); local 229 struct vertex_buffer *VB = &tnl->vb; 241 tnl->clipspace.new_inputs |= VERT_BIT_POS; 243 tnl->Driver.Render.Start(ctx); 257 tnl->Driver.Render.Finish(ctx);
|
intel_tris.c | 45 #include "tnl/t_context.h" 46 #include "tnl/t_pipeline.h" 47 #include "tnl/t_vertex.h" 879 #include "tnl/t_vb_rendertmp.h" 884 #include "tnl/t_vb_rendertmp.h" 896 TNLcontext *tnl = TNL_CONTEXT(ctx); local 905 tnl->Driver.Render.PrimTabElts[GL_POLYGON] (ctx, 0, n, 913 tnl->Driver.Render.PrimitiveNotify(ctx, prim); 919 TNLcontext *tnl = TNL_CONTEXT(ctx); local 921 tnl->Driver.Render.Line(ctx, ii, jj) 954 TNLcontext *tnl = TNL_CONTEXT(ctx); local 1217 TNLcontext *tnl = TNL_CONTEXT(ctx); local 1274 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
/external/mesa3d/src/mesa/ |
sources.mak | 164 $(SRCDIR)tnl/t_context.c \ 165 $(SRCDIR)tnl/t_pipeline.c \ 166 $(SRCDIR)tnl/t_draw.c \ 167 $(SRCDIR)tnl/t_rasterpos.c \ 168 $(SRCDIR)tnl/t_vb_program.c \ 169 $(SRCDIR)tnl/t_vb_render.c \ 170 $(SRCDIR)tnl/t_vb_texgen.c \ 171 $(SRCDIR)tnl/t_vb_texmat.c \ 172 $(SRCDIR)tnl/t_vb_vertex.c \ 173 $(SRCDIR)tnl/t_vb_fog.c [all...] |
Android.gen.mk | 125 $(LOCAL_PATH)/tnl/t_context.h
|
/external/mesa3d/doxygen/ |
Makefile | 18 tnl.doxy \
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_context.c | 51 #include "tnl/t_pipeline.h" 156 /* Initialize swrast, tnl driver tables: */ 159 TNLcontext *tnl = TNL_CONTEXT(ctx); local 160 if (tnl) 161 tnl->Driver.RunPipeline = _tnl_run_pipeline;
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
swrast.c | 43 #include "tnl/tnl.h" 44 #include "tnl/t_context.h" 45 #include "tnl/t_pipeline.h" 776 TNLcontext *tnl = TNL_CONTEXT(mesaCtx); local 777 tnl->Driver.RunPipeline = _tnl_run_pipeline;
|