Home
last modified time | relevance | path

Searched refs:Color0 (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/src/Renderer/
DContext.cpp672 (diffuseMaterialSource == MATERIAL_COLOR1 && !input[Color0]) || in vertexDiffuseMaterialSourceActive()
689 (specularMaterialSource == MATERIAL_COLOR1 && !input[Color0]) || in vertexSpecularMaterialSourceActive()
706 (ambientMaterialSource == MATERIAL_COLOR1 && !input[Color0]) || in vertexAmbientMaterialSourceActive()
723 (emissiveMaterialSource == MATERIAL_COLOR1 && !input[Color0]) || in vertexEmissiveMaterialSourceActive()
1272 vertexDiffuse = input[Color0] || lightingEnable; in diffuseActive()
1276 vertexDiffuse = input[Color0]; in diffuseActive()
DContext.hpp43 Color0 = 5, enumerator
DVertexProcessor.cpp1021 if(context->diffuseActive() && (context->lightingEnable || context->input[Color0])) in update()
1055 if(context->input[Color0 + i]) in update()
/external/swiftshader/src/Shader/
DVertexPipeline.cpp195 if(state.diffuseActive && state.input[Color0]) in pipeline()
197 Vector4f diffuse = v[Color0]; in pipeline()
314 diff = v[Color0]; in pipeline()
365 spec = v[Color0]; in pipeline()
412 Vector4f materialDiffuse = v[Color0]; in pipeline()
443 Vector4f materialSpecular = v[Color0]; in pipeline()
466 Vector4f alpha = v[Color0]; in pipeline()
485 Vector4f alpha = v[Color0]; in pipeline()
DVertexProgram.cpp670 o[C0 + i].x = v[Color0 + i].x; in passThrough()
671 o[C0 + i].y = v[Color0 + i].y; in passThrough()
672 o[C0 + i].z = v[Color0 + i].z; in passThrough()
673 o[C0 + i].w = v[Color0 + i].w; in passThrough()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp210 setVertexAttrib(sw::Color0, 1.0f, 1.0f, 1.0f, 1.0f); in Context()
1184 params[i] = mState.vertexAttribute[sw::Color0].mCurrentValue[i]; in getFloatv()
1400 …case GL_COLOR_ARRAY_SIZE: *params = mState.vertexAttribute[sw::Color0].mSize; … in getIntegerv()
1401 …case GL_COLOR_ARRAY_TYPE: *params = mState.vertexAttribute[sw::Color0].mType; … in getIntegerv()
1402 …case GL_COLOR_ARRAY_STRIDE: *params = mState.vertexAttribute[sw::Color0].mStride;… in getIntegerv()
1403 …case GL_COLOR_ARRAY_BUFFER_BINDING: *params = mState.vertexAttribute[sw::Color0].mBoundBu… in getIntegerv()
1421 …case GL_COLOR_ARRAY_POINTER: *params = mState.vertexAttribute[sw::Color0].mPointer; … in getPointerv()
3396 mState.vertexAttribute[sw::Color0].mArrayEnabled = enable; in setColorArrayEnabled()
3401 return mState.vertexAttribute[sw::Color0].mArrayEnabled; in isColorArrayEnabled()
DlibGLES_CM.cpp587 context->setVertexAttrib(sw::Color0, red, green, blue, alpha); in Color4f()
665 VertexAttribPointer(sw::Color0, size, type, true, stride, pointer); in ColorPointer()
1253 …case GL_COLOR_ARRAY: context->setVertexAttribArrayEnabled(sw::Color0, false); … in DisableClientState()
1390 …case GL_COLOR_ARRAY: context->setVertexAttribArrayEnabled(sw::Color0, true); … in EnableClientState()
/external/swiftshader/src/D3D8/
DDirect3DDevice8.cpp4441 renderer->setInputStream(sw::Color0, attribute.define(buffer, sw::STREAMTYPE_COLOR, 4)); in bindStreams()
4544 case D3DVSDE_DIFFUSE: renderer->setInputStream(sw::Color0, attribute); break; in bindStreams()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp5829 …case D3DDECLUSAGE_COLOR: renderer->setInputStream(sw::Color0 + index, attribute.define(sw::… in bindVertexStreams()