Home
last modified time | relevance | path

Searched refs:GL_LIGHT0 (Results 1 – 14 of 14) sorted by relevance

/external/eigen/demos/opengl/
Dquaternion_demo.cpp238 glLightfv(GL_LIGHT0, GL_AMBIENT, Vector4f(0.5,0.5,0.5,1).data()); in drawScene()
239 glLightfv(GL_LIGHT0, GL_DIFFUSE, Vector4f(0.5,1,0.5,1).data()); in drawScene()
240 glLightfv(GL_LIGHT0, GL_SPECULAR, Vector4f(1,1,1,1).data()); in drawScene()
241 glLightfv(GL_LIGHT0, GL_POSITION, Vector4f(-sqrt3,-sqrt3,sqrt3,0).data()); in drawScene()
254 glEnable(GL_LIGHT0); in drawScene()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_state.c170 case GL_LIGHT0: in nouveau_enable()
180 context_dirty_i(ctx, LIGHT_SOURCE, cap - GL_LIGHT0); in nouveau_enable()
276 context_dirty_i(ctx, LIGHT_SOURCE, light - GL_LIGHT0); in nouveau_light()
279 context_dirty_i(ctx, LIGHT_SOURCE, light - GL_LIGHT0); in nouveau_light()
/external/mesa3d/src/mesa/main/
Denable.c376 case GL_LIGHT0: in _mesa_set_enable()
386 if (ctx->Light.Light[cap-GL_LIGHT0].Enabled == state) in _mesa_set_enable()
389 ctx->Light.Light[cap-GL_LIGHT0].Enabled = state; in _mesa_set_enable()
392 &ctx->Light.Light[cap-GL_LIGHT0]); in _mesa_set_enable()
395 remove_from_list(&ctx->Light.Light[cap-GL_LIGHT0]); in _mesa_set_enable()
1279 case GL_LIGHT0: in _mesa_IsEnabled()
1289 return ctx->Light.Light[cap-GL_LIGHT0].Enabled; in _mesa_IsEnabled()
Dlight.c195 ctx->Driver.Lightfv( ctx, GL_LIGHT0 + lnum, pname, params ); in _mesa_light()
213 GLint i = (GLint) (light - GL_LIGHT0); in _mesa_Lightfv()
337 GLint l = (GLint) (light - GL_LIGHT0); in _mesa_GetLightfv()
387 GLint l = (GLint) (light - GL_LIGHT0); in _mesa_GetLightiv()
Des1_conversion.c240 if (light < GL_LIGHT0 || light > GL_LIGHT7) { in _es_GetLightxv()
512 if (light < GL_LIGHT0 || light > GL_LIGHT7) { in _es_Lightxv()
Dattrib.c1065 _mesa_set_enable(ctx, GL_LIGHT0 + i, l->Enabled); in _mesa_PopAttrib()
Dget.c550 { GL_LIGHT0, CONTEXT_BOOL(Light.Light[0].Enabled), NO_EXTRA },
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Ddemo.c660 glEnable(GL_LIGHT0); in appInit()
691 glLightfv(GL_LIGHT0, GL_DIFFUSE, light0Diffuse); in appInit()
773 glLightfv(GL_LIGHT0, GL_POSITION, light0Position); in configureLightAndMaterial()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c920 GLint p = light - GL_LIGHT0; in radeonLightfv()
1616 case GL_LIGHT0: in radeonEnable()
1625 p = cap - GL_LIGHT0; in radeonEnable()
Dradeon_state_init.c872 GLenum p = GL_LIGHT0 + i; in radeonInitState()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c1142 GLint p = light - GL_LIGHT0; in r200Lightfv()
1810 case GL_LIGHT0: in r200Enable()
1819 p = cap - GL_LIGHT0; in r200Enable()
Dr200_state_init.c1218 GLenum p = GL_LIGHT0 + i; in r200InitState()
/external/mesa3d/include/GLES/
Dgl.h495 #define GL_LIGHT0 0x4000 macro
/external/mesa3d/include/GL/
Dgl.h310 #define GL_LIGHT0 0x4000 macro