Home
last modified time | relevance | path

Searched refs:m_lightingBuffer (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DCoreProfileEngine.cpp924 m_lightingBuffer.lightEnables[i] = mCtx->isEnabled(GL_LIGHT0 + i); in setupLighting()
926 memcpy(m_lightingBuffer.lightAmbients + 4 * i, &light.ambient, 4 * sizeof(GLfloat)); in setupLighting()
927 memcpy(m_lightingBuffer.lightDiffuses + 4 * i, &light.diffuse, 4 * sizeof(GLfloat)); in setupLighting()
928 memcpy(m_lightingBuffer.lightSpeculars + 4 * i, &light.specular, 4 * sizeof(GLfloat)); in setupLighting()
929 memcpy(m_lightingBuffer.lightPositions + 4 * i, &light.position, 4 * sizeof(GLfloat)); in setupLighting()
930 memcpy(m_lightingBuffer.lightDirections + 3 * i, &light.direction, 3 * sizeof(GLfloat)); in setupLighting()
931 m_lightingBuffer.spotlightExponents[i] = light.spotlightExponent; in setupLighting()
932 m_lightingBuffer.spotlightCutoffAngles[i] = light.spotlightCutoffAngle; in setupLighting()
933 m_lightingBuffer.attenuationConsts[i] = light.attenuationConst; in setupLighting()
934 m_lightingBuffer.attenuationLinears[i] = light.attenuationLinear; in setupLighting()
[all …]
DCoreProfileEngine.h209 LightingBuffer m_lightingBuffer; variable