Lines Matching refs:term
174 /** Set an RGB or A combiner source term */
180 GLuint term;
184 * Translate pname to (term, alpha).
193 term = pname - GL_SOURCE0_RGB;
200 term = pname - GL_SOURCE0_ALPHA;
208 if ((term == 3) && (ctx->API != API_OPENGL_COMPAT
214 assert(term < MAX_COMBINER_TERMS);
217 * Error-check param (the source term)
258 texUnit->Combine.SourceA[term] = param;
260 texUnit->Combine.SourceRGB[term] = param;
266 /** Set an RGB or A combiner operand term */
272 GLuint term;
282 term = pname - GL_OPERAND0_RGB;
289 term = pname - GL_OPERAND0_ALPHA;
297 if ((term == 3) && (ctx->API != API_OPENGL_COMPAT
303 assert(term < MAX_COMBINER_TERMS);
316 && ((term < 2) || ctx->Extensions.ARB_texture_env_combine
324 legal = (term < 2) || ctx->Extensions.ARB_texture_env_combine
342 texUnit->Combine.OperandA[term] = param;
344 texUnit->Combine.OperandRGB[term] = param;