Lines Matching defs:from

160     const CRCurrentState *from = &(fromCtx->current);
171 const GLfloat fromX = from->rasterAttrib[VERT_ATTRIB_POS][0];
172 const GLfloat fromY = from->rasterAttrib[VERT_ATTRIB_POS][1];
173 const GLfloat fromZ = from->rasterAttrib[VERT_ATTRIB_POS][2];
196 if (to->colorIndex != from->colorIndex) {
205 if (to->edgeFlag != from->edgeFlag) {
224 if (COMPARE_VECTOR (from->vertexAttrib[i], to->vertexAttribPre[i])) {
243 if (COMPARE_COLOR(from->vertexAttrib[VERT_ATTRIB_COLOR0],to->vertexAttrib[VERT_ATTRIB_COLOR0])) {
254 if (COMPARE_COLOR(from->vertexAttrib[VERT_ATTRIB_COLOR1],to->vertexAttrib[VERT_ATTRIB_COLOR1])) {
266 if (from->vertexAttrib[VERT_ATTRIB_FOG][0] != to->vertexAttrib[VERT_ATTRIB_FOG][0] ) {
276 if (COMPARE_VECTOR (from->vertexAttrib[VERT_ATTRIB_NORMAL], to->vertexAttrib[VERT_ATTRIB_NORMAL])) {
286 if (COMPARE_TEXCOORD (from->vertexAttrib[VERT_ATTRIB_TEX0 + i], to->vertexAttribPre[VERT_ATTRIB_TEX0 + i])) {
303 CRCurrentState *from = &(fromCtx->current);
312 from->rasterValid = to->rasterValid;
314 const GLfloat fromX = from->rasterAttrib[VERT_ATTRIB_POS][0];
315 const GLfloat fromY = from->rasterAttrib[VERT_ATTRIB_POS][1];
316 const GLfloat fromZ = from->rasterAttrib[VERT_ATTRIB_POS][2];
323 from->rasterAttrib[VERT_ATTRIB_POS][0] = toX;
324 from->rasterAttrib[VERT_ATTRIB_POS][1] = toY;
325 from->rasterAttrib[VERT_ATTRIB_POS][2] = toZ;
343 if (from->edgeFlag != to->edgeFlagPre) {
346 from->edgeFlag = to->edgeFlag;
352 if (from->colorIndex != to->colorIndexPre) {
355 from->colorIndex = to->colorIndex;
372 if (COMPARE_VECTOR (from->vertexAttrib[i], to->vertexAttribPre[i])) {
375 COPY_4V(from->vertexAttrib[i] , to->vertexAttrib[i]);
388 if (COMPARE_COLOR(from->vertexAttrib[VERT_ATTRIB_COLOR0],to->vertexAttribPre[VERT_ATTRIB_COLOR0])) {
391 COPY_4V(from->vertexAttrib[VERT_ATTRIB_COLOR0] , to->vertexAttrib[VERT_ATTRIB_COLOR0]);
397 if (COMPARE_COLOR(from->vertexAttrib[VERT_ATTRIB_COLOR1],to->vertexAttribPre[VERT_ATTRIB_COLOR1])) {
400 COPY_4V(from->vertexAttrib[VERT_ATTRIB_COLOR1] , to->vertexAttrib[VERT_ATTRIB_COLOR1]);
407 if (from->vertexAttrib[VERT_ATTRIB_FOG] != to->vertexAttribPre[VERT_ATTRIB_FOG]) {
410 COPY_4V(from->vertexAttrib[VERT_ATTRIB_FOG] , to->vertexAttrib[VERT_ATTRIB_FOG]);
416 if (COMPARE_VECTOR (from->vertexAttrib[VERT_ATTRIB_NORMAL], to->vertexAttribPre[VERT_ATTRIB_NORMAL])) {
419 COPY_4V(from->vertexAttrib[VERT_ATTRIB_NORMAL] , to->vertexAttrib[VERT_ATTRIB_NORMAL]);
426 if (COMPARE_TEXCOORD (from->vertexAttrib[VERT_ATTRIB_TEX0 + i], to->vertexAttribPre[VERT_ATTRIB_TEX0 + i])) {
429 COPY_4V(from->vertexAttrib[VERT_ATTRIB_TEX0 + i] , to->vertexAttrib[VERT_ATTRIB_TEX0 + i]);