/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 | 91 TextureStage::State textureStage[8]; 206 void setStageOperation(unsigned int stage, TextureStage::StageOperation stageOperation); 207 void setFirstArgument(unsigned int stage, TextureStage::SourceArgument firstArgument); 208 void setSecondArgument(unsigned int stage, TextureStage::SourceArgument secondArgument); 209 void setThirdArgument(unsigned int stage, TextureStage::SourceArgument thirdArgument); 210 void setStageOperationAlpha(unsigned int stage, TextureStage::StageOperation stageOperationAlpha); 211 void setFirstArgumentAlpha(unsigned int stage, TextureStage::SourceArgument firstArgumentAlpha); 212 void setSecondArgumentAlpha(unsigned int stage, TextureStage::SourceArgument secondArgumentAlpha); 213 void setThirdArgumentAlpha(unsigned int stage, TextureStage::SourceArgument thirdArgumentAlpha); 214 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 | 189 …void PixelProcessor::setStageOperation(unsigned int stage, TextureStage::StageOperation stageOpera… in setStageOperation() 198 …void PixelProcessor::setFirstArgument(unsigned int stage, TextureStage::SourceArgument firstArgume… in setFirstArgument() 207 …void PixelProcessor::setSecondArgument(unsigned int stage, TextureStage::SourceArgument secondArgu… in setSecondArgument() 216 …void PixelProcessor::setThirdArgument(unsigned int stage, TextureStage::SourceArgument thirdArgume… in setThirdArgument() 225 …void PixelProcessor::setStageOperationAlpha(unsigned int stage, TextureStage::StageOperation stage… in setStageOperationAlpha() 234 …void PixelProcessor::setFirstArgumentAlpha(unsigned int stage, TextureStage::SourceArgument firstA… in setFirstArgumentAlpha() 243 …void PixelProcessor::setSecondArgumentAlpha(unsigned int stage, TextureStage::SourceArgument secon… in setSecondArgumentAlpha() 252 …void PixelProcessor::setThirdArgumentAlpha(unsigned int stage, TextureStage::SourceArgument thirdA… in setThirdArgumentAlpha() 261 …void PixelProcessor::setFirstModifier(unsigned int stage, TextureStage::ArgumentModifier firstModi… in setFirstModifier() 270 …void PixelProcessor::setSecondModifier(unsigned int stage, TextureStage::ArgumentModifier secondMo… in setSecondModifier() [all …]
|
D | BUILD.gn | 53 "TextureStage.cpp",
|
D | Context.hpp | 441 TextureStage textureStage[8];
|
D | Renderer.hpp | 177 TextureStage::Uniforms textureStage[8];
|
D | Context.cpp | 1412 if(textureStage[i].stageOperation == TextureStage::STAGE_DISABLE) in textureActive()
|
D | Renderer.cpp | 443 …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/D3D8/ |
D | Direct3DDevice8.cpp | 3162 renderer->setStageOperation(stage, sw::TextureStage::STAGE_DISABLE); in SetTextureStageState() 3165 renderer->setStageOperation(stage, sw::TextureStage::STAGE_SELECTARG1); in SetTextureStageState() 3168 renderer->setStageOperation(stage, sw::TextureStage::STAGE_SELECTARG2); in SetTextureStageState() 3171 renderer->setStageOperation(stage, sw::TextureStage::STAGE_MODULATE); in SetTextureStageState() 3174 renderer->setStageOperation(stage, sw::TextureStage::STAGE_MODULATE2X); in SetTextureStageState() 3177 renderer->setStageOperation(stage, sw::TextureStage::STAGE_MODULATE4X); in SetTextureStageState() 3180 renderer->setStageOperation(stage, sw::TextureStage::STAGE_ADD); in SetTextureStageState() 3183 renderer->setStageOperation(stage, sw::TextureStage::STAGE_ADDSIGNED); in SetTextureStageState() 3186 renderer->setStageOperation(stage, sw::TextureStage::STAGE_ADDSIGNED2X); in SetTextureStageState() 3189 renderer->setStageOperation(stage, sw::TextureStage::STAGE_SUBTRACT); in SetTextureStageState() [all …]
|
/external/swiftshader/src/D3D9/ |
D | Direct3DDevice9.cpp | 4533 renderer->setStageOperation(stage, sw::TextureStage::STAGE_DISABLE); in SetTextureStageState() 4536 renderer->setStageOperation(stage, sw::TextureStage::STAGE_SELECTARG1); in SetTextureStageState() 4539 renderer->setStageOperation(stage, sw::TextureStage::STAGE_SELECTARG2); in SetTextureStageState() 4542 renderer->setStageOperation(stage, sw::TextureStage::STAGE_MODULATE); in SetTextureStageState() 4545 renderer->setStageOperation(stage, sw::TextureStage::STAGE_MODULATE2X); in SetTextureStageState() 4548 renderer->setStageOperation(stage, sw::TextureStage::STAGE_MODULATE4X); in SetTextureStageState() 4551 renderer->setStageOperation(stage, sw::TextureStage::STAGE_ADD); in SetTextureStageState() 4554 renderer->setStageOperation(stage, sw::TextureStage::STAGE_ADDSIGNED); in SetTextureStageState() 4557 renderer->setStageOperation(stage, sw::TextureStage::STAGE_ADDSIGNED2X); in SetTextureStageState() 4560 renderer->setStageOperation(stage, sw::TextureStage::STAGE_SUBTRACT); in SetTextureStageState() [all …]
|
/external/swiftshader/src/ |
D | Android.mk | 78 Renderer/TextureStage.cpp \
|
D | Android.bp | 142 "Renderer/TextureStage.cpp",
|