Searched defs:surf (Results 1 - 23 of 23) sorted by relevance

/external/quake/quake/src/QW/client/
H A Dd_edge.c83 void D_DrawSolidSurface (surf_t *surf, int color) argument
90 for (span=surf->spans ; span ; span=span->pnext)
H A Dr_light.c73 msurface_t *surf; local
94 surf = cl.worldmodel->surfaces + node->firstsurface;
95 for (i=0 ; i<node->numsurfaces ; i++, surf++)
97 if (surf->dlightframe != r_dlightframecount)
99 surf->dlightbits = 0;
100 surf->dlightframe = r_dlightframecount;
102 surf->dlightbits |= bit;
148 msurface_t *surf; local
185 surf = cl.worldmodel->surfaces + node->firstsurface;
186 for (i=0 ; i<node->numsurfaces ; i++, surf
[all...]
H A Dgl_rlight.c193 msurface_t *surf; local
214 surf = cl.worldmodel->surfaces + node->firstsurface;
215 for (i=0 ; i<node->numsurfaces ; i++, surf++)
217 if (surf->dlightframe != r_dlightframecount)
219 surf->dlightbits = 0;
220 surf->dlightframe = r_dlightframecount;
222 surf->dlightbits |= bit;
274 msurface_t *surf; local
313 surf = cl.worldmodel->surfaces + node->firstsurface;
314 for (i=0 ; i<node->numsurfaces ; i++, surf
[all...]
H A Dglquake.h145 msurface_t *surf; // description for surface to generate member in struct:__anon4197
H A Dglquake2.h99 msurface_t *surf; // description for surface to generate member in struct:__anon4200
H A Dr_edge.c42 // surfaces are generated in back to front order by the bsp, so if a surf
73 void R_TrailingEdge (surf_t *surf, edge_t *edge);
304 surf_t *surf; local
310 surf = surfaces[1].next;
312 if (iu > surf->last_u)
315 span->u = surf->last_u;
318 span->pnext = surf->spans;
319 surf->spans = span;
325 surf->spanstate = 0;
326 surf
339 surf_t *surf, *surf2; local
416 R_TrailingEdge(surf_t *surf, edge_t *edge) argument
463 surf_t *surf, *surf2; local
591 surf_t *surf; local
[all...]
H A Dr_edgea.s251 #define surf 4 // note this is loaded before any pushes define
275 jle LNoEmit2 // iu <= surf->last_u, so nothing to emit
277 movl %eax,st_last_u(%ecx) // surf->next->last_u = iu;
279 movl %edx,espan_t_u(%ebp) // span->u = surf->last_u;
285 movl %eax,espan_t_pnext(%ebp) // span->pnext = surf->spans;
286 movl %ebp,st_spans(%esi) // surf->spans = span;
297 movl %eax,st_last_u(%ecx) // surf->next->last_u = iu;
392 // if (surf->key < surf2->key)
406 // } while (surf->key >= surf2->key);
431 // if (surf
[all...]
H A Dd_iface.h195 msurface_t *surf; // description for surface to generate member in struct:__anon4167
H A Dr_bsp.c453 msurface_t *surf, **mark; local
563 surf = cl.worldmodel->surfaces + node->firstsurface;
569 if ((surf->flags & SURF_PLANEBACK) &&
570 (surf->visframe == r_framecount))
580 pbtofpolys[numbtofpolys].psurf = surf;
586 R_RenderPoly (surf, clipflags);
591 R_RenderFace (surf, clipflags);
595 surf++;
602 if (!(surf->flags & SURF_PLANEBACK) &&
603 (surf
[all...]
H A Dr_surf.c63 msurface_t *surf; local
73 surf = r_drawsurf.surf;
74 smax = (surf->extents[0]>>4)+1;
75 tmax = (surf->extents[1]>>4)+1;
76 tex = surf->texinfo;
80 if ( !(surf->dlightbits & (1<<lnum) ) )
84 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) -
85 surf->plane->dist;
95 surf
140 msurface_t *surf; local
[all...]
H A Dgl_rsurf.c68 void R_AddDynamicLights (msurface_t *surf) argument
79 smax = (surf->extents[0]>>4)+1;
80 tmax = (surf->extents[1]>>4)+1;
81 tex = surf->texinfo;
85 if ( !(surf->dlightbits & (1<<lnum) ) )
89 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) -
90 surf->plane->dist;
100 surf->plane->normal[i]*dist;
106 local[0] -= surf->texturemins[0];
107 local[1] -= surf
138 R_BuildLightMap(msurface_t *surf, byte *dest, int stride) argument
1222 msurface_t *surf, **mark; local
1598 GL_CreateSurfaceLightmap(msurface_t *surf) argument
[all...]
/external/quake/quake/src/WinQuake/
H A Dd_edge.cpp83 void D_DrawSolidSurface (surf_t *surf, int color) argument
90 for (span=surf->spans ; span ; span=span->pnext)
H A Dr_light.cpp73 msurface_t *surf; local
94 surf = cl.worldmodel->surfaces + node->firstsurface;
95 for (i=0 ; i<node->numsurfaces ; i++, surf++)
97 if (surf->dlightframe != r_dlightframecount)
99 surf->dlightbits = 0;
100 surf->dlightframe = r_dlightframecount;
102 surf->dlightbits |= bit;
148 msurface_t *surf; local
185 surf = cl.worldmodel->surfaces + node->firstsurface;
186 for (i=0 ; i<node->numsurfaces ; i++, surf
[all...]
H A Dgl_rlight.cpp196 msurface_t *surf; local
217 surf = cl.worldmodel->surfaces + node->firstsurface;
218 for (i=0 ; i<node->numsurfaces ; i++, surf++)
220 if (surf->dlightframe != r_dlightframecount)
222 surf->dlightbits = 0;
223 surf->dlightframe = r_dlightframecount;
225 surf->dlightbits |= bit;
277 msurface_t *surf; local
316 surf = cl.worldmodel->surfaces + node->firstsurface;
317 for (i=0 ; i<node->numsurfaces ; i++, surf
[all...]
H A Dr_edge.cpp42 // surfaces are generated in back to front order by the bsp, so if a surf
73 void R_TrailingEdge (surf_t *surf, edge_t *edge);
304 surf_t *surf; local
310 surf = surfaces[1].next;
312 if (iu > surf->last_u)
315 span->u = surf->last_u;
318 span->pnext = surf->spans;
319 surf->spans = span;
325 surf->spanstate = 0;
326 surf
339 surf_t *surf, *surf2; local
416 R_TrailingEdge(surf_t *surf, edge_t *edge) argument
463 surf_t *surf, *surf2; local
591 surf_t *surf; local
[all...]
H A Dr_edgea.s251 #define surf 4 // note this is loaded before any pushes define
275 jle LNoEmit2 // iu <= surf->last_u, so nothing to emit
277 movl %eax,st_last_u(%ecx) // surf->next->last_u = iu;
279 movl %edx,espan_t_u(%ebp) // span->u = surf->last_u;
285 movl %eax,espan_t_pnext(%ebp) // span->pnext = surf->spans;
286 movl %ebp,st_spans(%esi) // surf->spans = span;
297 movl %eax,st_last_u(%ecx) // surf->next->last_u = iu;
392 // if (surf->key < surf2->key)
406 // } while (surf->key >= surf2->key);
431 // if (surf
[all...]
H A Dd_iface.h196 msurface_t *surf; // description for surface to generate member in struct:__anon4450
H A Dr_bsp.cpp453 msurface_t *surf, **mark; local
563 surf = cl.worldmodel->surfaces + node->firstsurface;
569 if ((surf->flags & SURF_PLANEBACK) &&
570 (surf->visframe == r_framecount))
580 pbtofpolys[numbtofpolys].psurf = surf;
586 R_RenderPoly (surf, clipflags);
591 R_RenderFace (surf, clipflags);
595 surf++;
602 if (!(surf->flags & SURF_PLANEBACK) &&
603 (surf
[all...]
H A Dr_surf.cpp63 msurface_t *surf; local
73 surf = r_drawsurf.surf;
74 smax = (surf->extents[0]>>4)+1;
75 tmax = (surf->extents[1]>>4)+1;
76 tex = surf->texinfo;
80 if ( !(surf->dlightbits & (1<<lnum) ) )
84 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) -
85 surf->plane->dist;
95 surf
157 msurface_t *surf; local
[all...]
H A Dgl_rsurf.cpp68 void R_AddDynamicLights (msurface_t *surf) argument
79 smax = (surf->extents[0]>>4)+1;
80 tmax = (surf->extents[1]>>4)+1;
81 tex = surf->texinfo;
85 if ( !(surf->dlightbits & (1<<lnum) ) )
89 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) -
90 surf->plane->dist;
100 surf->plane->normal[i]*dist;
106 local[0] -= surf->texturemins[0];
107 local[1] -= surf
138 R_BuildLightMap(msurface_t *surf, byte *dest, int stride) argument
1292 msurface_t *surf, **mark; local
1673 GL_CreateSurfaceLightmap(msurface_t *surf) argument
[all...]
H A Dglquake.h134 msurface_t *surf; // description for surface to generate member in struct:__anon4558
/external/dnsmasq/src/
H A Dutil.c67 static void surf(void) function
92 surf();
/external/qemu/android/skin/
H A Dsurface.c58 SkinSurface* surf = *psurface; local
59 if (surf) {
60 if (--surf->refcount <= 0)
61 skin_surface_free(surf);

Completed in 195 milliseconds