Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dshader.c19 SHADERLIT sShaderLit; variable
150 sShaderLit.program = createProgram(sLitVertexSource, in initShaderPrograms()
154 if (sShaderFlat.program == 0 || sShaderLit.program == 0 || in initShaderPrograms()
165 glDeleteProgram(sShaderLit.program); in deInitShaderPrograms()
177 if (program == sShaderLit.program) in bindShaderProgram()
179 loc_mvp = sShaderLit.mvp; in bindShaderProgram()
180 loc_normalMatrix = sShaderLit.normalMatrix; in bindShaderProgram()
Ddemo.c256 if (object->shaderProgram == sShaderLit.program) in drawGLObject()
258 loc_pos = sShaderLit.pos; in drawGLObject()
259 loc_colorIn = sShaderLit.colorIn; in drawGLObject()
260 loc_normal = sShaderLit.normal; in drawGLObject()
477 result->shaderProgram = sShaderLit.program; in createSuperShape()
683 bindShaderProgram(sShaderLit.program); in appInit()
684 glUniform4fv(sShaderLit.ambient, 1, lightAmbient); in appInit()
685 glUniform4fv(sShaderLit.light_0_diffuse, 1, light0Diffuse); in appInit()
686 glUniform4fv(sShaderLit.light_1_diffuse, 1, light1Diffuse); in appInit()
687 glUniform4fv(sShaderLit.light_2_diffuse, 1, light2Diffuse); in appInit()
[all …]
Dshader.h57 extern SHADERLIT sShaderLit;