25 unsigned int *restrict
ti;
45 if (
v1->vcoord[1] >
v2->vcoord[1])
51 if (
v1->vcoord[1] >
v3->vcoord[1])
57 if (
v2->vcoord[1] >
v3->vcoord[1])
72 for (
i = 0;
i < 3;
i++)
74 if (
v[
i]->vcoord[0] < 0 ||
v[
i]->vcoord[0] >= th->vpwidth)
76 if (
v[
i]->vcoord[1] < 0 ||
v[
i]->vcoord[1] >= th->vpheight)
78 if (
v[
i]->vcoord[2] < 0)
82 for (
i = 0;
i < 2;
i++)
84 if (
v[
i]->vcoord[1] >
v[
i+1]->vcoord[1])
89 fdx1 =
v2->vcoord[0] -
v1->vcoord[0];
90 fdy1 =
v2->vcoord[1] -
v1->vcoord[1];
92 fdx2 =
v3->vcoord[0] -
v1->vcoord[0];
93 fdy2 =
v3->vcoord[1] -
v1->vcoord[1];
110 d1 =
v2->tccoord[0] -
v1->tccoord[0];
111 d2 =
v3->tccoord[0] -
v1->tccoord[0];
115 d1 =
v2->tccoord[1] -
v1->tccoord[1];
116 d2 =
v3->tccoord[1] -
v1->tccoord[1];
121 d1 = (
v2->vcoord[2] -
v1->vcoord[2])*UINT_MAX;
122 d2 = (
v3->vcoord[2] -
v1->vcoord[2])*UINT_MAX;
248 vplout = th->vpcbuf +
y * th->vpcstride;
250 interlace = ((
y + th->interlaceline) % th->interlacemod);
278 ,
xl +=
xld*th->interlacemod
279 ,
xr +=
xrd*th->interlacemod
280 ,
vplout += th->vpcstride*th->interlacemod
281 ,
y += th->interlacemod
284 ,
sl +=
sld*th->interlacemod
285 ,
tl +=
tld*th->interlacemod
288 ,
zl +=
zld*th->interlacemod
298 unsigned int *restrict zb = th->vpdbuf +
y * th->vpwidth + (
xl>>16);
s
Definition: execloop.h:53
char * ifdef
Definition: generatebuiltin.c:9
GLfloat t
Definition: gl_vidcommon.c:184
static CONST PIXELFORMATDESCRIPTOR *static int
Definition: gl_vidnt.c:222
GLfloat GLfloat v1
Definition: glquake.h:163
GLfloat GLfloat GLfloat v2
Definition: glquake.h:163
GLfloat GLfloat GLfloat z
Definition: glquake.h:158
GLfloat GLfloat y
Definition: glquake.h:158
GLfloat GLfloat GLfloat GLfloat v3
Definition: glquake.h:163
const GLfloat * v
Definition: glsupp.h:466
vec4_t vcoord
Definition: sw.h:44
vec2_t tccoord
Definition: sw.h:45
const swvert_t * vlt
Definition: sw_spans.h:27
float td
Definition: sw_spans.h:19
unsigned int zd
Definition: sw_spans.h:22
int interlace
Definition: sw_spans.h:33
int y
Definition: sw_spans.h:12
const swvert_t * vrt
Definition: sw_spans.h:27
int xrd
Definition: sw_spans.h:16
int recalcside
Definition: sw_spans.h:32
unsigned int * vplout
Definition: sw_spans.h:30
float d2
Definition: sw_spans.h:35
int dy
Definition: sw_spans.h:31
unsigned int zl
Definition: sw_spans.h:22
unsigned int *restrict ti
Definition: sw_spans.h:25
unsigned int *restrict outbuf
Definition: sw_spans.h:24
float tld
Definition: sw_spans.h:19
int dx
Definition: sw_spans.h:31
unsigned int zld
Definition: sw_spans.h:22
float fdx1
Definition: sw_spans.h:35
int spanlen
Definition: sw_spans.h:28
float tl
Definition: sw_spans.h:19
int xld
Definition: sw_spans.h:16
int numspans
Definition: sw_spans.h:29
int xl
Definition: sw_spans.h:16
float sl
Definition: sw_spans.h:18
float sld
Definition: sw_spans.h:18
float fdy2
Definition: sw_spans.h:35
float d1
Definition: sw_spans.h:35
const swvert_t * vlb
Definition: sw_spans.h:27
int i
Definition: sw_spans.h:26
float sd
Definition: sw_spans.h:18
float fz
Definition: sw_spans.h:35
const swvert_t * vrb
Definition: sw_spans.h:27
float fdx2
Definition: sw_spans.h:35
int xr
Definition: sw_spans.h:16
float fdy1
Definition: sw_spans.h:35
int secondhalf
Definition: sw_spans.h:15