Lines Matching refs:tlv
165 // tlv-trv and blv-brv are parallel and horizontal
166 VertexOutput tlv(*tl), trv(*tr), blv(*bl), brv(*br);
171 if ((int)tlv.position.y < 0) {
172 InterpolateVertex(&tlv, &blv, (0 - tlv.position.y) / (blv.position.y - tlv.position.y),
174 tlv = tmp;
182 InterpolateVertex(&tlv, &blv, (height - 1 - tlv.position.y) / (blv.position.y - tlv.position.y),
193 // if ((int)tlv.position.x < 0) {
194 // InterpolateVertex(&tlv, &trv, (0 - tlv.position.x) / (trv.position.x - tlv.position.x),
196 // tlv = tmp;
204 // InterpolateVertex(&tlv, &trv, (width - 1 - tlv.position.x) / (trv.position.x - tlv.position.x),
214 const unsigned int startY = tlv.position.y;
223 // bDx and cDx are iterators from tlv to blv, trv to brv for bV and cV
225 VertexOutput bV(tlv), cV(trv);
229 bDx.varyings[i] -= tlv.varyings[i];
236 bDx.position -= tlv.position;
242 bDx.frontFacingPointCoord -= tlv.frontFacingPointCoord; // gl_PointCoord