Home
last modified time | relevance | path

Searched refs:MATERIAL_MATERIAL (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/src/Renderer/
DContext.cpp287 ambientMaterialSource = MATERIAL_MATERIAL; in init()
290 emissiveMaterialSource = MATERIAL_MATERIAL; in init()
667 return MATERIAL_MATERIAL; in vertexDiffuseMaterialSourceActive()
670 if(diffuseMaterialSource == MATERIAL_MATERIAL || !colorVertexEnable || in vertexDiffuseMaterialSourceActive()
674 return MATERIAL_MATERIAL; in vertexDiffuseMaterialSourceActive()
684 return MATERIAL_MATERIAL; in vertexSpecularMaterialSourceActive()
691 return MATERIAL_MATERIAL; in vertexSpecularMaterialSourceActive()
701 return MATERIAL_MATERIAL; in vertexAmbientMaterialSourceActive()
708 return MATERIAL_MATERIAL; in vertexAmbientMaterialSourceActive()
718 return MATERIAL_MATERIAL; in vertexEmissiveMaterialSourceActive()
[all …]
DContext.hpp243 MATERIAL_MATERIAL, enumerator
/external/swiftshader/src/OpenGL/libGL/
DContext.cpp3570 device->setDiffuseMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
3571 device->setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
3572 device->setAmbientMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
3576 device->setDiffuseMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
3577 device->setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
3579 device->setEmissiveMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
3583 device->setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
3584 device->setAmbientMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
3585 device->setEmissiveMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
3588 device->setDiffuseMaterialSource(sw::MATERIAL_MATERIAL); in setColorMaterialMode()
[all …]
DDevice.cpp163 setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in Device()
165 setEmissiveMaterialSource(sw::MATERIAL_MATERIAL); in Device()
/external/swiftshader/src/Shader/
DVertexPipeline.cpp305 if(state.vertexDiffuseMaterialSourceActive == MATERIAL_MATERIAL) in pipeline()
355 if(state.vertexSpecularMaterialSourceActive == MATERIAL_MATERIAL) in pipeline()
402 if(state.vertexAmbientMaterialSourceActive == MATERIAL_MATERIAL) in pipeline()
433 if(state.vertexEmissiveMaterialSourceActive == MATERIAL_MATERIAL) in pipeline()
460 if(state.vertexDiffuseMaterialSourceActive == MATERIAL_MATERIAL) in pipeline()
479 if(state.vertexSpecularMaterialSourceActive == MATERIAL_MATERIAL) in pipeline()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp1992 device->setDiffuseMaterialSource(sw::MATERIAL_MATERIAL); in applyState()
1993 device->setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in applyState()
1994 device->setAmbientMaterialSource(sw::MATERIAL_MATERIAL); in applyState()
1995 device->setEmissiveMaterialSource(sw::MATERIAL_MATERIAL); in applyState()
/external/swiftshader/src/D3D8/
DDirect3DDevice8.cpp2829 renderer->setDiffuseMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
2845 renderer->setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
2861 renderer->setAmbientMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
2877 renderer->setEmissiveMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp3540 renderer->setDiffuseMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
3556 renderer->setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
3572 renderer->setAmbientMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
3588 renderer->setEmissiveMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()