Searched refs:tnl (Results 1 - 25 of 78) sorted by relevance

1234

/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_context.c41 #include "tnl.h"
50 TNLcontext *tnl; local in function:_tnl_CreateContext
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
113 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_DestroyContext
133 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_InvalidateState
229 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_need_projected_coords
236 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_allow_vertex_fog
246 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_allow_pixel_fog
[all...]
H A Dt_pipeline.c41 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_install_pipeline
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 in function:_tnl_destroy_pipeline
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 in function:check_input_changes
80 if (tnl
196 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_run_pipeline
[all...]
H A Dt_vb_render.c86 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 in function:clip_elt_triangles
157 tnl_render_func render_tris = tnl
242 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_RenderClippedPolygon
253 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_RenderClippedLine
267 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:run_render
[all...]
H A Dt_vb_light.c40 #include "tnl.h"
123 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:validate_shine_table
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 in function:_tnl_validate_shine_tables
180 if (!tnl->_ShineTable[0] || tnl->_ShineTable[0]->shininess != shininess)
184 if (!tnl
279 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:lookup_shininess
332 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:run_lighting
424 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:init_lighting
[all...]
H A Dt_draw.c44 #include "tnl.h"
50 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:get_space
53 tnl->block[tnl->nr_blocks++] = space;
60 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:free_space
62 for (i = 0; i < tnl->nr_blocks; i++)
63 free(tnl->block[i]);
64 tnl->nr_blocks = 0;
186 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_import_array
187 struct vertex_buffer *VB = &tnl
282 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:bind_inputs
355 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:bind_indices
409 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:bind_prims
441 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_draw_prims
626 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_bind_inputs
[all...]
H A Dt_vb_cliptmp.h120 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:TAG
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 in function:TAG
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
267 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:TAG
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_context.c42 #include "tnl.h"
51 TNLcontext *tnl; local in function:_tnl_CreateContext
56 ctx->swtnl_context = tnl = calloc(1, sizeof(TNLcontext));
58 if (!tnl) {
64 tnl->vb.Size = ctx->Const.MaxArrayLockSize + MAX_CLIPPED_VERTICES;
67 /* Initialize tnl state.
75 _math_matrix_ctr(&tnl->_WindowMap);
77 tnl->NeedNdcCoords = GL_TRUE;
78 tnl->AllowVertexFog = GL_TRUE;
79 tnl
114 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_DestroyContext
132 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_InvalidateState
231 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_need_projected_coords
238 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_allow_vertex_fog
248 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_allow_pixel_fog
[all...]
H A Dt_pipeline.c41 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_install_pipeline
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 in function:_tnl_destroy_pipeline
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 in function:check_input_changes
80 if (tnl
196 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_run_pipeline
[all...]
H A Dt_vb_render.c86 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 in function:clip_elt_triangles
157 tnl_render_func render_tris = tnl
242 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_RenderClippedPolygon
253 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_RenderClippedLine
267 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:run_render
[all...]
H A Dt_vb_light.c40 #include "tnl.h"
123 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:validate_shine_table
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 in function:_tnl_validate_shine_tables
180 if (!tnl->_ShineTable[0] || tnl->_ShineTable[0]->shininess != shininess)
184 if (!tnl
279 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:lookup_shininess
332 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:run_lighting
424 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:init_lighting
[all...]
H A Dt_draw.c44 #include "tnl.h"
49 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:get_space
52 tnl->block[tnl->nr_blocks++] = space;
59 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:free_space
61 for (GLuint i = 0; i < tnl->nr_blocks; i++)
62 free(tnl->block[i]);
64 tnl->nr_blocks = 0;
185 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_import_array
186 struct vertex_buffer *VB = &tnl
279 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:bind_inputs
349 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:bind_indices
407 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:bind_prims
437 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_draw_prims
625 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_tnl_bind_inputs
[all...]
H A Dt_vb_cliptmp.h120 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:TAG
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 in function:TAG
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
267 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:TAG
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast_setup/
H A Dss_context.c32 #include "tnl/tnl.h"
33 #include "tnl/t_context.h"
34 #include "tnl/t_pipeline.h"
35 #include "tnl/t_vertex.h"
107 * Tell the tnl module how to build SWvertex objects for swrast.
114 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:setup_vertex_format
122 tnl->render_inputs_bitset != swsetup->last_index_bitset) {
123 GLbitfield64 index_bitset = tnl->render_inputs_bitset;
171 tnl
187 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_swsetup_RenderStart
234 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_swsetup_Wakeup
269 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_swsetup_Translate
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast_setup/
H A Dss_context.c32 #include "tnl/tnl.h"
33 #include "tnl/t_context.h"
34 #include "tnl/t_pipeline.h"
35 #include "tnl/t_vertex.h"
107 * Tell the tnl module how to build SWvertex objects for swrast.
114 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:setup_vertex_format
122 tnl->render_inputs_bitset != swsetup->last_index_bitset) {
123 GLbitfield64 index_bitset = tnl->render_inputs_bitset;
171 tnl
187 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_swsetup_RenderStart
234 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_swsetup_Wakeup
269 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:_swsetup_Translate
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_swtnl_t.c27 #include "tnl/t_context.h"
28 #include "tnl/t_pipeline.h"
29 #include "tnl/t_vertex.h"
107 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:swtnl_choose_attrs
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 in function:TAG
[all...]
H A Dnv04_render.c33 #include "tnl/tnl.h"
34 #include "tnl/t_pipeline.h"
35 #include "tnl/t_vertex.h"
56 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:swtnl_emit_attr
58 if (tnl->render_inputs_bitset & BITFIELD64_BIT(attr))
73 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:swtnl_choose_attrs
79 tnl->vb.AttribPtr[VERT_ATTRIB_POS] = tnl->vb.NdcPtr;
265 TNLcontext *tnl local in function:nv04_render_init
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_swtnl_t.c27 #include "tnl/t_context.h"
28 #include "tnl/t_pipeline.h"
29 #include "tnl/t_vertex.h"
107 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:swtnl_choose_attrs
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 in function:TAG
[all...]
H A Dnv04_render.c33 #include "tnl/tnl.h"
34 #include "tnl/t_pipeline.h"
35 #include "tnl/t_vertex.h"
56 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:swtnl_emit_attr
58 if (tnl->render_inputs_bitset & BITFIELD64_BIT(attr))
73 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:swtnl_choose_attrs
79 tnl->vb.AttribPtr[VERT_ATTRIB_POS] = tnl->vb.NdcPtr;
265 TNLcontext *tnl local in function:nv04_render_init
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_swtcl.c46 #include "tnl/tnl.h"
47 #include "tnl/t_context.h"
48 #include "tnl/t_pipeline.h"
92 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonSetVertexFormat
93 struct vertex_buffer *VB = &tnl->vb;
94 GLbitfield64 index_bitset = tnl->render_inputs_bitset;
274 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonChooseVertexState
296 if ((0 == (tnl->render_inputs_bitset &
415 TNLcontext *tnl local in function:radeon_run_render
695 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonChooseRenderState
799 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonFallback
855 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonInitSwtcl
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_swtcl.c45 #include "tnl/tnl.h"
46 #include "tnl/t_context.h"
47 #include "tnl/t_pipeline.h"
91 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonSetVertexFormat
92 struct vertex_buffer *VB = &tnl->vb;
93 GLbitfield64 index_bitset = tnl->render_inputs_bitset;
273 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonChooseVertexState
295 if ((0 == (tnl->render_inputs_bitset &
414 TNLcontext *tnl local in function:radeon_run_render
694 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonChooseRenderState
798 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonFallback
854 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:radeonInitSwtcl
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_swtcl.c46 #include "tnl/tnl.h"
47 #include "tnl/t_context.h"
48 #include "tnl/t_pipeline.h"
80 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200SetVertexFormat
81 struct vertex_buffer *VB = &tnl->vb;
82 GLbitfield64 index_bitset = tnl->render_inputs_bitset;
238 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200ChooseVertexState
258 if ((0 == (tnl->render_inputs_bitset & BITFIELD64_RANGE(_TNL_ATTRIB_TEX0, _TNL_NUM_TEX)))
264 if (tnl
572 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200ChooseRenderState
690 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200Fallback
928 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200InitSwtcl
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_swtcl.c46 #include "tnl/tnl.h"
47 #include "tnl/t_context.h"
48 #include "tnl/t_pipeline.h"
80 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200SetVertexFormat
81 struct vertex_buffer *VB = &tnl->vb;
82 GLbitfield64 index_bitset = tnl->render_inputs_bitset;
238 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200ChooseVertexState
258 if ((0 == (tnl->render_inputs_bitset & BITFIELD64_RANGE(_TNL_ATTRIB_TEX0, _TNL_NUM_TEX)))
264 if (tnl
572 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200ChooseRenderState
690 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200Fallback
928 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:r200InitSwtcl
[all...]
/xsrc/external/mit/MesaLib.old/dist/doxygen/
H A DMakefile17 tnl.doxy \
/xsrc/external/mit/MesaLib.old/dist/src/mesa/
H A DMakefile.sources374 tnl/t_context.c \
375 tnl/t_context.h \
376 tnl/t_draw.c \
377 tnl/tnl.h \
378 tnl/t_pipeline.c \
379 tnl/t_pipeline.h \
380 tnl/t_rebase.c \
381 tnl/t_rebase.h \
382 tnl/t_spli
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
H A Dintel_tris.c46 #include "tnl/t_context.h"
47 #include "tnl/t_pipeline.h"
48 #include "tnl/t_vertex.h"
873 #include "tnl/t_vb_rendertmp.h"
878 #include "tnl/t_vb_rendertmp.h"
890 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:intelRenderClippedPoly
900 tnl->Driver.Render.PrimitiveNotify(ctx, prim);
946 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:intelChooseRenderState
1015 tnl->Driver.Render.Points = rast_tab[index].points;
1016 tnl
1218 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:intelFallback
1269 TNLcontext *tnl = TNL_CONTEXT(ctx); local in function:intelInitTriFuncs
[all...]

Completed in 15 milliseconds

1234