/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
H A D | 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 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...] |
H A D | 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 118 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
H A D | t_vb_normals.c | 151 TNLcontext *tnl = TNL_CONTEXT(ctx); local 159 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
|
H A D | t_vb_vertex.c | 141 TNLcontext *tnl = TNL_CONTEXT(ctx); local 142 struct vertex_buffer *VB = &tnl->vb; 187 if (tnl->NeedNdcCoords) {
|
H A D | 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 269 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
H A D | 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 );
|
H A D | 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 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...] |
H A D | 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 276 TNLcontext *tnl = TNL_CONTEXT(ctx); local 329 TNLcontext *tnl = TNL_CONTEXT(ctx); local 420 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
H A D | 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 512 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
H A D | 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 240 TNLcontext *tnl = TNL_CONTEXT(ctx); local 251 TNLcontext *tnl = TNL_CONTEXT(ctx); local 265 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
/external/mesa3d/src/mesa/tnl/ |
H A D | 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 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...] |
H A D | 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 118 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
H A D | t_vb_normals.c | 151 TNLcontext *tnl = TNL_CONTEXT(ctx); local 159 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
|
H A D | t_vb_vertex.c | 141 TNLcontext *tnl = TNL_CONTEXT(ctx); local 142 struct vertex_buffer *VB = &tnl->vb; 187 if (tnl->NeedNdcCoords) {
|
H A D | 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 269 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
H A D | 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 );
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | 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/i965/ |
H A D | 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/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/ |
H A D | 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 186 TNLcontext *tnl = TNL_CONTEXT(ctx); local 233 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
H A D | 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/swrast_setup/ |
H A D | 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 186 TNLcontext *tnl = TNL_CONTEXT(ctx); local 233 TNLcontext *tnl = TNL_CONTEXT(ctx); local [all...] |
H A D | 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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | 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);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
H A D | 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; 318 TNLcontext *tnl local [all...] |
H A D | 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; 265 TNLcontext *tnl local [all...] |