Home
last modified time | relevance | path

Searched refs:specular (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmContext.h153 GLfloat specular[4] = { 0.0f, 0.0f, 0.0f, 1.0f }; member
166 GLfloat specular[4] = { 0.0f, 0.0f, 0.0f, 1.0f }; member
DGLEScmContext.cpp186 mLights[0].specular[0] = 1.0f; in GLEScmContext()
187 mLights[0].specular[1] = 1.0f; in GLEScmContext()
188 mLights[0].specular[2] = 1.0f; in GLEScmContext()
189 mLights[0].specular[3] = 1.0f; in GLEScmContext()
391 dispatcher.glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mMaterial.specular); in postLoadRestoreCtx()
401 dispatcher.glLightfv(GL_LIGHT0 + i, GL_SPECULAR, mLights[i].specular); in postLoadRestoreCtx()
1253 memcpy(&mMaterial.specular, params, 4 * sizeof(GLfloat)); in materialfv()
1294 memcpy(params, &mMaterial.specular, 4 * sizeof(GLfloat)); in getMaterialfv()
1428 memcpy(&mLights[lightIndex].specular, params, 4 * sizeof(GLfloat)); in lightfv()
1482 memcpy(params, &mLights[lightIndex].specular, 4 * sizeof(GLfloat)); in getLightfv()
DCoreProfileEngine.cpp912 gl.glUniform4fv(m_geometryDrawState.materialSpecularLoc, 1, material.specular); in setupLighting()
928 memcpy(m_lightingBuffer.lightSpeculars + 4 * i, &light.specular, 4 * sizeof(GLfloat)); in setupLighting()