Searched refs:GL_LIGHT0 (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/opengl/tests/lighting1709/src/com/android/lightingtest/ |
D | ClearActivity.java | 115 gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_AMBIENT, lightAmbient, 0); in onDrawFrame() 116 gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_DIFFUSE, lightDiffuse, 0); in onDrawFrame() 117 gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_SPECULAR, lightOff, 0); in onDrawFrame() 118 gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_POSITION, lightPosSpot, 0); in onDrawFrame() 119 gl.glEnable(GL10.GL_LIGHT0); in onDrawFrame()
|
/frameworks/base/libs/rs/ |
D | rsLight.cpp | 63 glLightfv(GL_LIGHT0 + num, GL_DIFFUSE, mColor); in setupGL() 64 glLightfv(GL_LIGHT0 + num, GL_SPECULAR, mColor); in setupGL() 65 glLightfv(GL_LIGHT0 + num, GL_POSITION, mPosition); in setupGL()
|
D | rsProgramVertex.cpp | 89 glEnable(GL_LIGHT0 + ct); in setupGL() 93 glDisable(GL_LIGHT0 + ct); in setupGL()
|
/frameworks/base/opengl/libagl/ |
D | state.cpp | 137 if ((cap >= GL_LIGHT0) && (cap<GL_LIGHT0+OGLES_MAX_LIGHTS)) { in enable_disable() 138 c->lighting.lights[cap-GL_LIGHT0].enable = enabled; in enable_disable() 139 c->lighting.enabledLights &= ~(1<<(cap-GL_LIGHT0)); in enable_disable() 140 c->lighting.enabledLights |= (enabled<<(cap-GL_LIGHT0)); in enable_disable()
|
D | light.cpp | 457 if (ggl_unlikely(uint32_t(i-GL_LIGHT0) >= OGLES_MAX_LIGHTS)) { in lightx() 462 light_t& light = c->lighting.lights[i-GL_LIGHT0]; in lightx() 511 if (ggl_unlikely(uint32_t(i-GL_LIGHT0) >= OGLES_MAX_LIGHTS)) { in lightxv() 517 light_t& light = c->lighting.lights[i-GL_LIGHT0]; in lightxv()
|
/frameworks/base/opengl/tests/angeles/ |
D | demo.c | 473 glEnable(GL_LIGHT0); in appInit() 547 glLightxv(GL_LIGHT0, GL_POSITION, light0Position); in configureLightAndMaterial() 548 glLightxv(GL_LIGHT0, GL_DIFFUSE, light0Diffuse); in configureLightAndMaterial()
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
D | GL10.java | 97 int GL_LIGHT0 = 0x4000; field
|
/frameworks/base/opengl/tools/glgen/stubs/jsr239/ |
D | GL10Header.java-if | 96 int GL_LIGHT0 = 0x4000;
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES10.java | 99 public static final int GL_LIGHT0 = 0x4000; field in GLES10
|
D | GLLogWrapper.java | 457 case GL_LIGHT0: in getCap() 831 if (light >= GL_LIGHT0 && light <= GL_LIGHT7) { in getLightName()
|
/frameworks/base/opengl/tests/angeles/include/GLES/ |
D | gl.h | 461 #define GL_LIGHT0 0x4000 macro
|
/frameworks/base/opengl/tools/glgen/stubs/gles11/ |
D | GLES10Header.java-if | 98 public static final int GL_LIGHT0 = 0x4000;
|
/frameworks/base/opengl/include/GLES/ |
D | gl.h | 495 #define GL_LIGHT0 0x4000 macro
|