Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DLightsTest.cpp84 EXPECT_GL_FALSE(glIsEnabled(GL_LIGHT0 + i)); in TEST_P()
92 glGetLightfv(GL_LIGHT0 + i, GL_AMBIENT, &actualColor.R); in TEST_P()
96 glGetLightfv(GL_LIGHT0 + i, GL_DIFFUSE, &actualColor.R); in TEST_P()
100 glGetLightfv(GL_LIGHT0 + i, GL_SPECULAR, &actualColor.R); in TEST_P()
104 glGetLightfv(GL_LIGHT0 + i, GL_POSITION, actualPosition.data()); in TEST_P()
108 glGetLightfv(GL_LIGHT0 + i, GL_SPOT_DIRECTION, actualDirection.data()); in TEST_P()
112 glGetLightfv(GL_LIGHT0 + i, GL_SPOT_EXPONENT, &actualFloatValue); in TEST_P()
116 glGetLightfv(GL_LIGHT0 + i, GL_SPOT_CUTOFF, &actualFloatValue); in TEST_P()
120 glGetLightfv(GL_LIGHT0 + i, GL_CONSTANT_ATTENUATION, &actualFloatValue); in TEST_P()
124 glGetLightfv(GL_LIGHT0 + i, GL_LINEAR_ATTENUATION, &actualFloatValue); in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DLightsTest.cpp84 EXPECT_GL_FALSE(glIsEnabled(GL_LIGHT0 + i)); in TEST_P()
92 glGetLightfv(GL_LIGHT0 + i, GL_AMBIENT, &actualColor.R); in TEST_P()
96 glGetLightfv(GL_LIGHT0 + i, GL_DIFFUSE, &actualColor.R); in TEST_P()
100 glGetLightfv(GL_LIGHT0 + i, GL_SPECULAR, &actualColor.R); in TEST_P()
104 glGetLightfv(GL_LIGHT0 + i, GL_POSITION, actualPosition.data()); in TEST_P()
108 glGetLightfv(GL_LIGHT0 + i, GL_SPOT_DIRECTION, actualDirection.data()); in TEST_P()
112 glGetLightfv(GL_LIGHT0 + i, GL_SPOT_EXPONENT, &actualFloatValue); in TEST_P()
116 glGetLightfv(GL_LIGHT0 + i, GL_SPOT_CUTOFF, &actualFloatValue); in TEST_P()
120 glGetLightfv(GL_LIGHT0 + i, GL_CONSTANT_ATTENUATION, &actualFloatValue); in TEST_P()
124 glGetLightfv(GL_LIGHT0 + i, GL_LINEAR_ATTENUATION, &actualFloatValue); in TEST_P()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglfilterreflectedscreen.c422 glLightfv (GL_LIGHT0, GL_AMBIENT, LightAmb); in gst_gl_filter_reflected_screen_callback()
423 glLightfv (GL_LIGHT0, GL_DIFFUSE, LightDif); in gst_gl_filter_reflected_screen_callback()
424 glLightfv (GL_LIGHT0, GL_POSITION, LightPos); in gst_gl_filter_reflected_screen_callback()
427 glEnable (GL_LIGHT0); in gst_gl_filter_reflected_screen_callback()
456 glLightfv (GL_LIGHT0, GL_POSITION, LightPos); in gst_gl_filter_reflected_screen_callback()
Dgstglbumper.c482 gl->Lightfv (GL_LIGHT0, GL_POSITION, light_direction0); in gst_gl_bumper_callback()
483 gl->Lightfv (GL_LIGHT0, GL_DIFFUSE, light_diffuse0); in gst_gl_bumper_callback()
490 gl->Enable (GL_LIGHT0); in gst_gl_bumper_callback()
541 gl->Disable (GL_LIGHT0); in gst_gl_bumper_callback()
/third_party/flutter/skia/third_party/externals/angle2/samples/gles1/
DSimpleLighting.cpp78 glEnable(GL_LIGHT0); in draw()
79 glLightfv(GL_LIGHT0, GL_POSITION, lightpos); in draw()
/third_party/skia/third_party/externals/angle2/samples/gles1/
DSimpleLighting.cpp78 glEnable(GL_LIGHT0); in draw()
79 glLightfv(GL_LIGHT0, GL_POSITION, lightpos); in draw()
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/
DTorusLightingES1.cpp32 glEnable(GL_LIGHT0); in initialize()
34 glLightfv(GL_LIGHT0, GL_POSITION, lightDir); in initialize()
/third_party/flutter/glfw/examples/
Dgears.c272 glLightfv(GL_LIGHT0, GL_POSITION, pos); in init()
275 glEnable(GL_LIGHT0); in init()
/third_party/mesa3d/src/mesa/main/
Denable.c535 case GL_LIGHT0: in _mesa_set_enable()
545 if (ctx->Light.Light[cap-GL_LIGHT0].Enabled == state) in _mesa_set_enable()
549 ctx->Light.Light[cap-GL_LIGHT0].Enabled = state; in _mesa_set_enable()
551 ctx->Light._EnabledLights |= 1u << (cap - GL_LIGHT0); in _mesa_set_enable()
554 ctx->Light._EnabledLights &= ~(1u << (cap - GL_LIGHT0)); in _mesa_set_enable()
1587 case GL_LIGHT0: in _mesa_IsEnabled()
1597 return ctx->Light.Light[cap-GL_LIGHT0].Enabled; in _mesa_IsEnabled()
Des1_conversion.c217 if (light < GL_LIGHT0 || light > GL_LIGHT7) { in _mesa_GetLightxv()
500 if (light < GL_LIGHT0 || light > GL_LIGHT7) { in _mesa_Lightxv()
Dlight.c267 GLint i = (GLint) (light - GL_LIGHT0); in _mesa_Lightfv()
380 GLint l = (GLint) (light - GL_LIGHT0); in _mesa_GetLightfv()
429 GLint l = (GLint) (light - GL_LIGHT0); in _mesa_GetLightiv()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DState.cpp954 case GL_LIGHT0: in setEnableFeature()
962 mGLES1State.mLights[feature - GL_LIGHT0].enabled = enabled; in setEnableFeature()
1067 case GL_LIGHT0: in getEnableFeature()
1075 return mGLES1State.mLights[feature - GL_LIGHT0].enabled; in getEnableFeature()
DvalidationES1.cpp159 if (light < GL_LIGHT0 || light >= GL_LIGHT0 + context->getCaps().maxLights) in ValidateLightCaps()
/third_party/openGLES/api/GLSC/1.0.1/
Dgl.h103 #define GL_LIGHT0 0x4000 macro
/third_party/skia/third_party/externals/opengl-registry/api/GLES/1.0/
Dgl.h461 #define GL_LIGHT0 0x4000 macro
/third_party/openGLES/api/GLSC/1.0/
Dgl.h107 #define GL_LIGHT0 0x4000 macro
/third_party/skia/third_party/externals/opengl-registry/api/GLSC/1.0.1/
Dgl.h103 #define GL_LIGHT0 0x4000 macro
/third_party/openGLES/api/GLES/1.0/
Dgl.h461 #define GL_LIGHT0 0x4000 macro
/third_party/skia/third_party/externals/opengl-registry/api/GLSC/1.0/
Dgl.h107 #define GL_LIGHT0 0x4000 macro
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DState.cpp1357 case GL_LIGHT0: in setEnableFeature()
1365 mGLES1State.mLights[feature - GL_LIGHT0].enabled = enabled; in setEnableFeature()
1507 case GL_LIGHT0: in getEnableFeature()
1515 return mGLES1State.mLights[feature - GL_LIGHT0].enabled; in getEnableFeature()
DvalidationES1.cpp173 if (light < GL_LIGHT0 || light >= GL_LIGHT0 + context->getCaps().maxLights) in ValidateLightCaps()
/third_party/openGLES/api/GLES/
Dgl.h340 #define GL_LIGHT0 0x4000 macro
/third_party/mesa3d/include/GLES/
Dgl.h359 #define GL_LIGHT0 0x4000 macro
/third_party/skia/third_party/externals/swiftshader/include/GLES/
Dgl.h359 #define GL_LIGHT0 0x4000 macro
/third_party/skia/third_party/externals/opengl-registry/api/GLES/
Dgl.h359 #define GL_LIGHT0 0x4000 macro

12