Home
last modified time | relevance | path

Searched refs:Color0 (Results 1 – 7 of 7) 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.cpp1034 if(context->diffuseActive() && (context->lightingEnable || context->input[Color0])) in update()
1068 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()