Searched refs:TextureStage (Results 1 – 15 of 15) sorted by relevance
/external/swiftshader/src/Renderer/ |
D | TextureStage.cpp | 24 TextureStage::State::State() in State() 29 TextureStage::TextureStage() : sampler(0), previousStage(0) in TextureStage() function in sw::TextureStage 33 TextureStage::~TextureStage() in ~TextureStage() 37 void TextureStage::init(int stage, const Sampler *sampler, const TextureStage *previousStage) in init() 62 TextureStage::State TextureStage::textureStageState() const in textureStageState() 92 void TextureStage::setConstantColor(const Color<float> &constantColor) in setConstantColor() 106 void TextureStage::setBumpmapMatrix(int element, float value) in setBumpmapMatrix() 119 void TextureStage::setLuminanceScale(float value) in setLuminanceScale() 126 void TextureStage::setLuminanceOffset(float value) in setLuminanceOffset() 133 void TextureStage::setTexCoordIndex(unsigned int texCoordIndex) in setTexCoordIndex() [all …]
|
D | PixelProcessor.hpp | 93 TextureStage::State textureStage[8]; 209 void setStageOperation(unsigned int stage, TextureStage::StageOperation stageOperation); 210 void setFirstArgument(unsigned int stage, TextureStage::SourceArgument firstArgument); 211 void setSecondArgument(unsigned int stage, TextureStage::SourceArgument secondArgument); 212 void setThirdArgument(unsigned int stage, TextureStage::SourceArgument thirdArgument); 213 void setStageOperationAlpha(unsigned int stage, TextureStage::StageOperation stageOperationAlpha); 214 void setFirstArgumentAlpha(unsigned int stage, TextureStage::SourceArgument firstArgumentAlpha); 215 void setSecondArgumentAlpha(unsigned int stage, TextureStage::SourceArgument secondArgumentAlpha); 216 void setThirdArgumentAlpha(unsigned int stage, TextureStage::SourceArgument thirdArgumentAlpha); 217 void setFirstModifier(unsigned int stage, TextureStage::ArgumentModifier firstModifier); [all …]
|
D | TextureStage.hpp | 28 class TextureStage class 131 TextureStage(); 133 ~TextureStage(); 135 void init(int stage, const Sampler *sampler, const TextureStage *previousStage); 194 const TextureStage *previousStage;
|
D | PixelProcessor.cpp | 198 …void PixelProcessor::setStageOperation(unsigned int stage, TextureStage::StageOperation stageOpera… in setStageOperation() 207 …void PixelProcessor::setFirstArgument(unsigned int stage, TextureStage::SourceArgument firstArgume… in setFirstArgument() 216 …void PixelProcessor::setSecondArgument(unsigned int stage, TextureStage::SourceArgument secondArgu… in setSecondArgument() 225 …void PixelProcessor::setThirdArgument(unsigned int stage, TextureStage::SourceArgument thirdArgume… in setThirdArgument() 234 …void PixelProcessor::setStageOperationAlpha(unsigned int stage, TextureStage::StageOperation stage… in setStageOperationAlpha() 243 …void PixelProcessor::setFirstArgumentAlpha(unsigned int stage, TextureStage::SourceArgument firstA… in setFirstArgumentAlpha() 252 …void PixelProcessor::setSecondArgumentAlpha(unsigned int stage, TextureStage::SourceArgument secon… in setSecondArgumentAlpha() 261 …void PixelProcessor::setThirdArgumentAlpha(unsigned int stage, TextureStage::SourceArgument thirdA… in setThirdArgumentAlpha() 270 …void PixelProcessor::setFirstModifier(unsigned int stage, TextureStage::ArgumentModifier firstModi… in setFirstModifier() 279 …void PixelProcessor::setSecondModifier(unsigned int stage, TextureStage::ArgumentModifier secondMo… in setSecondModifier() [all …]
|
D | CMakeLists.txt | 35 TextureStage.cpp 58 TextureStage.hpp
|
D | BUILD.gn | 53 "TextureStage.cpp",
|
D | Context.hpp | 441 TextureStage textureStage[8];
|
D | Renderer.hpp | 176 TextureStage::Uniforms textureStage[8];
|
D | Context.cpp | 1412 if(textureStage[i].stageOperation == TextureStage::STAGE_DISABLE) in textureActive()
|
D | Renderer.cpp | 444 …if(pixelState.textureStage[stage].stageOperation != TextureStage::STAGE_DISABLE || context->pixelS… in draw()
|
/external/swiftshader/src/Shader/ |
D | PixelPipeline.cpp | 43 if(state.textureStage[stage].stageOperation == TextureStage::STAGE_DISABLE) in fixedFunction() 390 const TextureStage::State &textureStage = state.textureStage[stage]; in blendTexture() 392 if(textureStage.firstArgument == TextureStage::SOURCE_CONSTANT || in blendTexture() 393 textureStage.firstArgumentAlpha == TextureStage::SOURCE_CONSTANT || in blendTexture() 394 textureStage.secondArgument == TextureStage::SOURCE_CONSTANT || in blendTexture() 395 textureStage.secondArgumentAlpha == TextureStage::SOURCE_CONSTANT || in blendTexture() 396 textureStage.thirdArgument == TextureStage::SOURCE_CONSTANT || in blendTexture() 397 textureStage.thirdArgumentAlpha == TextureStage::SOURCE_CONSTANT) in blendTexture() 405 if(textureStage.firstArgument == TextureStage::SOURCE_TFACTOR || in blendTexture() 406 textureStage.firstArgumentAlpha == TextureStage::SOURCE_TFACTOR || in blendTexture() [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | utilities.cpp | 805 sw::TextureStage::StageOperation ConvertCombineOperation(GLenum operation) in ConvertCombineOperation() 809 case GL_REPLACE: return sw::TextureStage::STAGE_SELECTARG1; in ConvertCombineOperation() 810 case GL_MODULATE: return sw::TextureStage::STAGE_MODULATE; in ConvertCombineOperation() 811 case GL_ADD: return sw::TextureStage::STAGE_ADD; in ConvertCombineOperation() 812 case GL_ADD_SIGNED: return sw::TextureStage::STAGE_ADDSIGNED; in ConvertCombineOperation() 813 case GL_INTERPOLATE: return sw::TextureStage::STAGE_LERP; in ConvertCombineOperation() 814 case GL_SUBTRACT: return sw::TextureStage::STAGE_SUBTRACT; in ConvertCombineOperation() 815 case GL_DOT3_RGB: return sw::TextureStage::STAGE_DOT3; in ConvertCombineOperation() 816 case GL_DOT3_RGBA: return sw::TextureStage::STAGE_DOT3; in ConvertCombineOperation() 817 default: UNREACHABLE(operation); return sw::TextureStage::STAGE_SELECTARG1; in ConvertCombineOperation() [all …]
|
D | Context.cpp | 2115 device->setFirstArgument(unit, sw::TextureStage::SOURCE_TEXTURE); // Cs in applyTextures() 2116 device->setFirstModifier(unit, sw::TextureStage::MODIFIER_COLOR); in applyTextures() 2117 device->setSecondArgument(unit, sw::TextureStage::SOURCE_CURRENT); // Cp in applyTextures() 2118 device->setSecondModifier(unit, sw::TextureStage::MODIFIER_COLOR); in applyTextures() 2119 device->setThirdArgument(unit, sw::TextureStage::SOURCE_CONSTANT); // Cc in applyTextures() 2120 device->setThirdModifier(unit, sw::TextureStage::MODIFIER_COLOR); in applyTextures() 2122 device->setFirstArgumentAlpha(unit, sw::TextureStage::SOURCE_TEXTURE); // As in applyTextures() 2123 device->setFirstModifierAlpha(unit, sw::TextureStage::MODIFIER_ALPHA); in applyTextures() 2124 device->setSecondArgumentAlpha(unit, sw::TextureStage::SOURCE_CURRENT); // Ap in applyTextures() 2125 device->setSecondModifierAlpha(unit, sw::TextureStage::MODIFIER_ALPHA); in applyTextures() [all …]
|
D | utilities.h | 75 sw::TextureStage::StageOperation ConvertCombineOperation(GLenum operation); 76 sw::TextureStage::SourceArgument ConvertSourceArgument(GLenum argument); 77 sw::TextureStage::ArgumentModifier ConvertSourceOperand(GLenum operand);
|
/external/swiftshader/src/ |
D | Android.bp | 163 "Renderer/TextureStage.cpp",
|