Searched refs:Color0 (Results 1 – 9 of 9) sorted by relevance
/external/swiftshader/src/Renderer/ |
D | Context.cpp | 672 (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()
|
D | Context.hpp | 43 Color0 = 5, enumerator
|
D | VertexProcessor.cpp | 1021 if(context->diffuseActive() && (context->lightingEnable || context->input[Color0])) in update() 1055 if(context->input[Color0 + i]) in update()
|
/external/swiftshader/src/Shader/ |
D | VertexPipeline.cpp | 195 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()
|
D | VertexProgram.cpp | 670 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/ |
D | Context.cpp | 210 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()
|
D | libGLES_CM.cpp | 587 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/ |
D | Direct3DDevice8.cpp | 4441 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/ |
D | Direct3DDevice9.cpp | 5829 …case D3DDECLUSAGE_COLOR: renderer->setInputStream(sw::Color0 + index, attribute.define(sw::… in bindVertexStreams()
|