Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/04_BasicTnL/OGLES/
DOGLESBasicTnL.cpp129 glEnable(GL_LIGHT0); in InitView()
144 glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, aLightPosition); in InitView()
/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/swiftshader/src/OpenGL/libGLES_CM/
DlibGLES_CM.cpp1220 case GL_LIGHT0: context->setLightEnabled(0, false); break; in Disable()
1357 case GL_LIGHT0: context->setLightEnabled(0, true); break; in Enable()
2511 case GL_LIGHT0: return context->isLightEnabled(0); break; in IsEnabled()
2698 int index = light - GL_LIGHT0; in Lightf()
2766 int index = light - GL_LIGHT0; in Lightfv()
/external/robolectric/v1/lib/main/
Dopengl-api-gl1.1-android-2.1_r1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/microedition/ javax/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/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/swiftshader/src/OpenGL/libGL/
DlibGL.cpp1611 case GL_LIGHT0: context->setLightEnabled(0, false); break; in glDisable()
1761 case GL_LIGHT0: context->setLightEnabled(0, true); break; in glEnable()
6560 …case GL_AMBIENT: device->setLightAmbient(light - GL_LIGHT0, sw::Color<float>(params[0], params[1]… in glLightfv()
6561 …case GL_DIFFUSE: device->setLightDiffuse(light - GL_LIGHT0, sw::Color<float>(params[0], params[1]… in glLightfv()
6562 …case GL_SPECULAR: device->setLightSpecular(light - GL_LIGHT0, sw::Color<float>(params[0], params[1… in glLightfv()
6568 …device->setLightPosition(light - GL_LIGHT0, sw::Point(params[0] / max * 1e10f, params[1] / max * 1… in glLightfv()
6572 …device->setLightPosition(light - GL_LIGHT0, sw::Point(params[0] / params[3], params[1] / params[3]… in glLightfv()
/external/swiftshader/include/GLES/
Dgl.h495 #define GL_LIGHT0 0x4000 macro
/external/mesa3d/include/GLES/
Dgl.h495 #define GL_LIGHT0 0x4000 macro
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES/
Dgl.h495 #define GL_LIGHT0 0x4000 macro
/external/mesa3d/include/GL/
Dgl.h310 #define GL_LIGHT0 0x4000 macro
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12