Home
last modified time | relevance | path

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

/external/swiftshader/src/Renderer/
DContext.cpp284 ambientMaterialSource = MATERIAL_MATERIAL; in init()
287 emissiveMaterialSource = MATERIAL_MATERIAL; in init()
663 return MATERIAL_MATERIAL; in vertexDiffuseMaterialSourceActive()
666 if(diffuseMaterialSource == MATERIAL_MATERIAL || !colorVertexEnable || in vertexDiffuseMaterialSourceActive()
670 return MATERIAL_MATERIAL; in vertexDiffuseMaterialSourceActive()
680 return MATERIAL_MATERIAL; in vertexSpecularMaterialSourceActive()
687 return MATERIAL_MATERIAL; in vertexSpecularMaterialSourceActive()
697 return MATERIAL_MATERIAL; in vertexAmbientMaterialSourceActive()
704 return MATERIAL_MATERIAL; in vertexAmbientMaterialSourceActive()
714 return MATERIAL_MATERIAL; in vertexEmissiveMaterialSourceActive()
[all …]
DContext.hpp242 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.cpp162 setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in Device()
164 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.cpp1957 device->setDiffuseMaterialSource(sw::MATERIAL_MATERIAL); in applyState()
1958 device->setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in applyState()
1959 device->setAmbientMaterialSource(sw::MATERIAL_MATERIAL); in applyState()
1960 device->setEmissiveMaterialSource(sw::MATERIAL_MATERIAL); in applyState()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp3539 renderer->setDiffuseMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
3555 renderer->setSpecularMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
3571 renderer->setAmbientMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()
3587 renderer->setEmissiveMaterialSource(sw::MATERIAL_MATERIAL); in SetRenderState()