Lines Matching refs:textureUnit

113 		mState.textureUnit[i].color = {0, 0, 0, 0};  in Context()
114 mState.textureUnit[i].environmentMode = GL_MODULATE; in Context()
115 mState.textureUnit[i].combineRGB = GL_MODULATE; in Context()
116 mState.textureUnit[i].combineAlpha = GL_MODULATE; in Context()
117 mState.textureUnit[i].src0RGB = GL_TEXTURE; in Context()
118 mState.textureUnit[i].src1RGB = GL_PREVIOUS; in Context()
119 mState.textureUnit[i].src2RGB = GL_CONSTANT; in Context()
120 mState.textureUnit[i].src0Alpha = GL_TEXTURE; in Context()
121 mState.textureUnit[i].src1Alpha = GL_PREVIOUS; in Context()
122 mState.textureUnit[i].src2Alpha = GL_CONSTANT; in Context()
123 mState.textureUnit[i].operand0RGB = GL_SRC_COLOR; in Context()
124 mState.textureUnit[i].operand1RGB = GL_SRC_COLOR; in Context()
125 mState.textureUnit[i].operand2RGB = GL_SRC_ALPHA; in Context()
126 mState.textureUnit[i].operand0Alpha = GL_SRC_ALPHA; in Context()
127 mState.textureUnit[i].operand1Alpha = GL_SRC_ALPHA; in Context()
128 mState.textureUnit[i].operand2Alpha = GL_SRC_ALPHA; in Context()
2075 …<float>(mState.textureUnit[unit].color.red, mState.textureUnit[unit].color.green, mState.textureUn… in applyTextures()
2077 if(mState.textureUnit[unit].environmentMode != GL_COMBINE) in applyTextures()
2095 switch(mState.textureUnit[unit].environmentMode) in applyTextures()
2205 UNREACHABLE(mState.textureUnit[unit].environmentMode); in applyTextures()
2210 device->setFirstArgument(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src0RGB)); in applyTextures()
2211 … device->setFirstModifier(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand0RGB)); in applyTextures()
2212 device->setSecondArgument(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src1RGB)); in applyTextures()
2213 …device->setSecondModifier(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand1RGB)); in applyTextures()
2214 device->setThirdArgument(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src2RGB)); in applyTextures()
2215 … device->setThirdModifier(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand2RGB)); in applyTextures()
2217 …device->setStageOperation(unit, es2sw::ConvertCombineOperation(mState.textureUnit[unit].combineRGB… in applyTextures()
2219 …device->setFirstArgumentAlpha(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src0Alph… in applyTextures()
2220 …device->setFirstModifierAlpha(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand0A… in applyTextures()
2221 …device->setSecondArgumentAlpha(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src1Alp… in applyTextures()
2222 …device->setSecondModifierAlpha(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand1… in applyTextures()
2223 …device->setThirdArgumentAlpha(unit, es2sw::ConvertSourceArgument(mState.textureUnit[unit].src2Alph… in applyTextures()
2224 …device->setThirdModifierAlpha(unit, es2sw::ConvertSourceOperand(mState.textureUnit[unit].operand2A… in applyTextures()
2226 …device->setStageOperationAlpha(unit, es2sw::ConvertCombineOperation(mState.textureUnit[unit].combi… in applyTextures()
2246 mState.textureUnit[mState.activeSampler].environmentMode = texEnvMode; in setTextureEnvMode()
2251 mState.textureUnit[mState.activeSampler].color = {red, green, blue, alpha}; in setTextureEnvColor()
2256 mState.textureUnit[mState.activeSampler].combineRGB = combineRGB; in setCombineRGB()
2261 mState.textureUnit[mState.activeSampler].combineAlpha = combineAlpha; in setCombineAlpha()
2266 mState.textureUnit[mState.activeSampler].operand0RGB = operand; in setOperand0RGB()
2271 mState.textureUnit[mState.activeSampler].operand1RGB = operand; in setOperand1RGB()
2276 mState.textureUnit[mState.activeSampler].operand2RGB = operand; in setOperand2RGB()
2281 mState.textureUnit[mState.activeSampler].operand0Alpha = operand; in setOperand0Alpha()
2286 mState.textureUnit[mState.activeSampler].operand1Alpha = operand; in setOperand1Alpha()
2291 mState.textureUnit[mState.activeSampler].operand2Alpha = operand; in setOperand2Alpha()
2296 mState.textureUnit[mState.activeSampler].src0RGB = src; in setSrc0RGB()
2301 mState.textureUnit[mState.activeSampler].src1RGB = src; in setSrc1RGB()
2306 mState.textureUnit[mState.activeSampler].src2RGB = src; in setSrc2RGB()
2311 mState.textureUnit[mState.activeSampler].src0Alpha = src; in setSrc0Alpha()
2316 mState.textureUnit[mState.activeSampler].src1Alpha = src; in setSrc1Alpha()
2321 mState.textureUnit[mState.activeSampler].src2Alpha = src; in setSrc2Alpha()