Searched refs:GL_LIGHT0 (Results 1 – 14 of 14) sorted by relevance
/external/eigen/demos/opengl/ |
D | quaternion_demo.cpp | 238 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/ |
D | nouveau_state.c | 170 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/ |
D | enable.c | 376 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()
|
D | light.c | 195 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()
|
D | es1_conversion.c | 240 if (light < GL_LIGHT0 || light > GL_LIGHT7) { in _es_GetLightxv() 512 if (light < GL_LIGHT0 || light > GL_LIGHT7) { in _es_Lightxv()
|
D | attrib.c | 1065 _mesa_set_enable(ctx, GL_LIGHT0 + i, l->Enabled); in _mesa_PopAttrib()
|
D | get.c | 550 { GL_LIGHT0, CONTEXT_BOOL(Light.Light[0].Enabled), NO_EXTRA },
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | demo.c | 660 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/ |
D | radeon_state.c | 920 GLint p = light - GL_LIGHT0; in radeonLightfv() 1616 case GL_LIGHT0: in radeonEnable() 1625 p = cap - GL_LIGHT0; in radeonEnable()
|
D | radeon_state_init.c | 872 GLenum p = GL_LIGHT0 + i; in radeonInitState()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_state.c | 1142 GLint p = light - GL_LIGHT0; in r200Lightfv() 1810 case GL_LIGHT0: in r200Enable() 1819 p = cap - GL_LIGHT0; in r200Enable()
|
D | r200_state_init.c | 1218 GLenum p = GL_LIGHT0 + i; in r200InitState()
|
/external/mesa3d/include/GLES/ |
D | gl.h | 495 #define GL_LIGHT0 0x4000 macro
|
/external/mesa3d/include/GL/ |
D | gl.h | 310 #define GL_LIGHT0 0x4000 macro
|