Searched refs:diffuse (Results 1 – 3 of 3) sorted by relevance
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/ |
D | GLEScmContext.cpp | 182 mLights[0].diffuse[0] = 1.0f; in GLEScmContext() 183 mLights[0].diffuse[1] = 1.0f; in GLEScmContext() 184 mLights[0].diffuse[2] = 1.0f; in GLEScmContext() 185 mLights[0].diffuse[3] = 1.0f; in GLEScmContext() 390 dispatcher.glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mMaterial.diffuse); in postLoadRestoreCtx() 400 dispatcher.glLightfv(GL_LIGHT0 + i, GL_DIFFUSE, mLights[i].diffuse); in postLoadRestoreCtx() 1246 memcpy(&mMaterial.diffuse, params, 4 * sizeof(GLfloat)); in materialfv() 1250 memcpy(&mMaterial.diffuse, params, 4 * sizeof(GLfloat)); in materialfv() 1291 memcpy(params, &mMaterial.diffuse, 4 * sizeof(GLfloat)); in getMaterialfv() 1425 memcpy(&mLights[lightIndex].diffuse, params, 4 * sizeof(GLfloat)); in lightfv() [all …]
|
D | GLEScmContext.h | 152 GLfloat diffuse[4] = { 0.8f, 0.8f, 0.8f, 1.0f }; member 165 GLfloat diffuse[4] = { 0.0f, 0.0f, 0.0f, 1.0f }; member
|
D | CoreProfileEngine.cpp | 911 gl.glUniform4fv(m_geometryDrawState.materialDiffuseLoc, 1, material.diffuse); in setupLighting() 927 memcpy(m_lightingBuffer.lightDiffuses + 4 * i, &light.diffuse, 4 * sizeof(GLfloat)); in setupLighting()
|