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

123

/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_pipeline.c41 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 Dt_context.c39 #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 Dt_vb_render.c84 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...]
H A Dt_vb_light.c39 #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 Dt_draw.c38 #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 Dt_vb_cliptmp.h120 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...]
/external/mesa3d/src/mesa/tnl/
H A Dt_pipeline.c41 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 Dt_context.c39 #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 Dt_vb_render.c84 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...]
H A Dt_vb_light.c39 #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 Dt_draw.c38 #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 Dt_vb_cliptmp.h120 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...]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/
H A Dss_context.c31 #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...]
/external/mesa3d/src/mesa/swrast_setup/
H A Dss_context.c31 #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...]
/external/chromium_org/third_party/mesa/src/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
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 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
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...]
/external/mesa3d/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
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 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
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...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_swtcl.c47 #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 local
693 TNLcontext *tnl = TNL_CONTEXT(ctx); local
790 TNLcontext *tnl = TNL_CONTEXT(ctx); local
846 TNLcontext *tnl = TNL_CONTEXT(ctx); local
[all...]
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_swtcl.c47 #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 local
693 TNLcontext *tnl = TNL_CONTEXT(ctx); local
790 TNLcontext *tnl = TNL_CONTEXT(ctx); local
846 TNLcontext *tnl = TNL_CONTEXT(ctx); local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dr200_swtcl.c47 #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
570 TNLcontext *tnl = TNL_CONTEXT(ctx); local
681 TNLcontext *tnl = TNL_CONTEXT(ctx); local
919 TNLcontext *tnl = TNL_CONTEXT(ctx); local
[all...]
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_swtcl.c47 #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
570 TNLcontext *tnl = TNL_CONTEXT(ctx); local
681 TNLcontext *tnl = TNL_CONTEXT(ctx); local
919 TNLcontext *tnl = TNL_CONTEXT(ctx); local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_render.c42 #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/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_render.c42 #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/
H A Dsources.mak164 $(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_fo
[all...]

Completed in 1727 milliseconds

123