/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/04_BasicTnL/OGLES/ |
D | OGLESBasicTnL.cpp | 129 glEnable(GL_LIGHT0); in InitView() 144 glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, aLightPosition); in InitView()
|
/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 | 165 case GL_LIGHT0: in nouveau_enable() 175 context_dirty_i(ctx, LIGHT_SOURCE, cap - GL_LIGHT0); in nouveau_enable() 272 context_dirty_i(ctx, LIGHT_SOURCE, light - GL_LIGHT0); in nouveau_light() 275 context_dirty_i(ctx, LIGHT_SOURCE, light - GL_LIGHT0); in nouveau_light()
|
/external/mesa3d/src/mesa/main/ |
D | enable.c | 389 case GL_LIGHT0: in _mesa_set_enable() 399 if (ctx->Light.Light[cap-GL_LIGHT0].Enabled == state) in _mesa_set_enable() 402 ctx->Light.Light[cap-GL_LIGHT0].Enabled = state; in _mesa_set_enable() 404 ctx->Light._EnabledLights |= 1u << (cap - GL_LIGHT0); in _mesa_set_enable() 407 ctx->Light._EnabledLights &= ~(1u << (cap - GL_LIGHT0)); in _mesa_set_enable() 1266 case GL_LIGHT0: in _mesa_IsEnabled() 1276 return ctx->Light.Light[cap-GL_LIGHT0].Enabled; in _mesa_IsEnabled()
|
D | light.c | 194 ctx->Driver.Lightfv( ctx, GL_LIGHT0 + lnum, pname, params ); in _mesa_light() 212 GLint i = (GLint) (light - GL_LIGHT0); in _mesa_Lightfv() 325 GLint l = (GLint) (light - GL_LIGHT0); in _mesa_GetLightfv() 374 GLint l = (GLint) (light - GL_LIGHT0); in _mesa_GetLightiv()
|
D | es1_conversion.c | 234 if (light < GL_LIGHT0 || light > GL_LIGHT7) { in _mesa_GetLightxv() 523 if (light < GL_LIGHT0 || light > GL_LIGHT7) { in _mesa_Lightxv()
|
D | attrib.c | 1154 _mesa_set_enable(ctx, GL_LIGHT0 + i, l->Enabled); in _mesa_PopAttrib()
|
/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/swiftshader/src/OpenGL/libGLES_CM/ |
D | libGLES_CM.cpp | 1189 case GL_LIGHT0: context->setLightEnabled(0, false); break; in Disable() 1326 case GL_LIGHT0: context->setLightEnabled(0, true); break; in Enable() 2488 case GL_LIGHT0: return context->isLightEnabled(0); break; in IsEnabled() 2675 int index = light - GL_LIGHT0; in Lightf() 2743 int index = light - GL_LIGHT0; in Lightfv()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_state.c | 924 GLint p = light - GL_LIGHT0; in radeonLightfv() 1565 case GL_LIGHT0: in radeonEnable() 1574 p = cap - GL_LIGHT0; in radeonEnable()
|
D | radeon_state_init.c | 875 GLenum p = GL_LIGHT0 + i; in radeonInitState()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_state.c | 1145 GLint p = light - GL_LIGHT0; in r200Lightfv() 1758 case GL_LIGHT0: in r200Enable() 1767 p = cap - GL_LIGHT0; in r200Enable()
|
D | r200_state_init.c | 1220 GLenum p = GL_LIGHT0 + i; in r200InitState()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | libGL.cpp | 1596 case GL_LIGHT0: context->setLightEnabled(0, false); break; in glDisable() 1746 case GL_LIGHT0: context->setLightEnabled(0, true); break; in glEnable() 6534 …case GL_AMBIENT: device->setLightAmbient(light - GL_LIGHT0, sw::Color<float>(params[0], params[1]… in glLightfv() 6535 …case GL_DIFFUSE: device->setLightDiffuse(light - GL_LIGHT0, sw::Color<float>(params[0], params[1]… in glLightfv() 6536 …case GL_SPECULAR: device->setLightSpecular(light - GL_LIGHT0, sw::Color<float>(params[0], params[1… in glLightfv() 6542 …device->setLightPosition(light - GL_LIGHT0, sw::Point(params[0] / max * 1e10f, params[1] / max * 1… in glLightfv() 6546 …device->setLightPosition(light - GL_LIGHT0, sw::Point(params[0] / params[3], params[1] / params[3]… in glLightfv()
|
/external/mesa3d/include/GLES/ |
D | gl.h | 495 #define GL_LIGHT0 0x4000 macro
|
/external/swiftshader/include/GLES/ |
D | gl.h | 359 #define GL_LIGHT0 0x4000 macro
|
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES/ |
D | gl.h | 495 #define GL_LIGHT0 0x4000 macro
|
/external/mesa3d/prebuilt-intermediates/main/ |
D | get_hash.h | 98 { GL_LIGHT0, CONTEXT_BOOL(Light.Light[0].Enabled), NO_EXTRA },
|
/external/mesa3d/include/GL/ |
D | gl.h | 282 #define GL_LIGHT0 0x4000 macro
|