Lines Matching refs:textureUnit
114 mState.textureUnit[i].color = {0, 0, 0, 0}; in Context()
115 mState.textureUnit[i].environmentMode = GL_MODULATE; in Context()
116 mState.textureUnit[i].combineRGB = GL_MODULATE; in Context()
117 mState.textureUnit[i].combineAlpha = GL_MODULATE; in Context()
118 mState.textureUnit[i].src0RGB = GL_TEXTURE; in Context()
119 mState.textureUnit[i].src1RGB = GL_PREVIOUS; in Context()
120 mState.textureUnit[i].src2RGB = GL_CONSTANT; in Context()
121 mState.textureUnit[i].src0Alpha = GL_TEXTURE; in Context()
122 mState.textureUnit[i].src1Alpha = GL_PREVIOUS; in Context()
123 mState.textureUnit[i].src2Alpha = GL_CONSTANT; in Context()
124 mState.textureUnit[i].operand0RGB = GL_SRC_COLOR; in Context()
125 mState.textureUnit[i].operand1RGB = GL_SRC_COLOR; in Context()
126 mState.textureUnit[i].operand2RGB = GL_SRC_ALPHA; in Context()
127 mState.textureUnit[i].operand0Alpha = GL_SRC_ALPHA; in Context()
128 mState.textureUnit[i].operand1Alpha = GL_SRC_ALPHA; in Context()
129 mState.textureUnit[i].operand2Alpha = GL_SRC_ALPHA; in Context()
2111 …<float>(mState.textureUnit[unit].color.red, mState.textureUnit[unit].color.green, mState.textureUn… in applyTextures()
2113 if(mState.textureUnit[unit].environmentMode != GL_COMBINE) in applyTextures()
2131 switch(mState.textureUnit[unit].environmentMode) in applyTextures()
2241 UNREACHABLE(mState.textureUnit[unit].environmentMode); in applyTextures()
2246 device->setFirstArgument(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src0RGB)); in applyTextures()
2247 … device->setFirstModifier(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand0RGB)); in applyTextures()
2248 device->setSecondArgument(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src1RGB)); in applyTextures()
2249 …device->setSecondModifier(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand1RGB)); in applyTextures()
2250 device->setThirdArgument(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src2RGB)); in applyTextures()
2251 … device->setThirdModifier(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand2RGB)); in applyTextures()
2253 …device->setStageOperation(unit, es2sw::ConvertCombineOperation(mState.textureUnit[unit].combineRGB… in applyTextures()
2255 …device->setFirstArgumentAlpha(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src0Alph… in applyTextures()
2256 …device->setFirstModifierAlpha(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand0A… in applyTextures()
2257 …device->setSecondArgumentAlpha(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src1Alp… in applyTextures()
2258 …device->setSecondModifierAlpha(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand1… in applyTextures()
2259 …device->setThirdArgumentAlpha(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src2Alph… in applyTextures()
2260 …device->setThirdModifierAlpha(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand2A… in applyTextures()
2262 …device->setStageOperationAlpha(unit, es2sw::ConvertCombineOperation(mState.textureUnit[unit].combi… in applyTextures()
2282 mState.textureUnit[mState.activeSampler].environmentMode = texEnvMode; in setTextureEnvMode()
2287 mState.textureUnit[mState.activeSampler].color = {red, green, blue, alpha}; in setTextureEnvColor()
2292 mState.textureUnit[mState.activeSampler].combineRGB = combineRGB; in setCombineRGB()
2297 mState.textureUnit[mState.activeSampler].combineAlpha = combineAlpha; in setCombineAlpha()
2302 mState.textureUnit[mState.activeSampler].operand0RGB = operand; in setOperand0RGB()
2307 mState.textureUnit[mState.activeSampler].operand1RGB = operand; in setOperand1RGB()
2312 mState.textureUnit[mState.activeSampler].operand2RGB = operand; in setOperand2RGB()
2317 mState.textureUnit[mState.activeSampler].operand0Alpha = operand; in setOperand0Alpha()
2322 mState.textureUnit[mState.activeSampler].operand1Alpha = operand; in setOperand1Alpha()
2327 mState.textureUnit[mState.activeSampler].operand2Alpha = operand; in setOperand2Alpha()
2332 mState.textureUnit[mState.activeSampler].src0RGB = src; in setSrc0RGB()
2337 mState.textureUnit[mState.activeSampler].src1RGB = src; in setSrc1RGB()
2342 mState.textureUnit[mState.activeSampler].src2RGB = src; in setSrc2RGB()
2347 mState.textureUnit[mState.activeSampler].src0Alpha = src; in setSrc0Alpha()
2352 mState.textureUnit[mState.activeSampler].src1Alpha = src; in setSrc1Alpha()
2357 mState.textureUnit[mState.activeSampler].src2Alpha = src; in setSrc2Alpha()