Home
last modified time | relevance | path

Searched refs:TextureStage (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/src/Renderer/
DTextureStage.cpp24 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 …]
DPixelProcessor.hpp93 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 …]
DTextureStage.hpp28 class TextureStage class
131 TextureStage();
133 ~TextureStage();
135 void init(int stage, const Sampler *sampler, const TextureStage *previousStage);
194 const TextureStage *previousStage;
DPixelProcessor.cpp198 …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 …]
DCMakeLists.txt35 TextureStage.cpp
58 TextureStage.hpp
DBUILD.gn53 "TextureStage.cpp",
DContext.hpp441 TextureStage textureStage[8];
DRenderer.hpp176 TextureStage::Uniforms textureStage[8];
DContext.cpp1412 if(textureStage[i].stageOperation == TextureStage::STAGE_DISABLE) in textureActive()
DRenderer.cpp444 …if(pixelState.textureStage[stage].stageOperation != TextureStage::STAGE_DISABLE || context->pixelS… in draw()
/external/swiftshader/src/Shader/
DPixelPipeline.cpp43 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/
Dutilities.cpp805 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 …]
DContext.cpp2115 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 …]
Dutilities.h75 sw::TextureStage::StageOperation ConvertCombineOperation(GLenum operation);
76 sw::TextureStage::SourceArgument ConvertSourceArgument(GLenum argument);
77 sw::TextureStage::ArgumentModifier ConvertSourceOperand(GLenum operand);
/external/swiftshader/src/
DAndroid.bp163 "Renderer/TextureStage.cpp",