Home
last modified time | relevance | path

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

/frameworks/base/opengl/tests/lighting1709/src/com/android/lightingtest/
DClearActivity.java115 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/
DrsLight.cpp63 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()
DrsProgramVertex.cpp89 glEnable(GL_LIGHT0 + ct); in setupGL()
93 glDisable(GL_LIGHT0 + ct); in setupGL()
/frameworks/base/opengl/libagl/
Dstate.cpp137 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()
Dlight.cpp457 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/
Ddemo.c473 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/
DGL10.java97 int GL_LIGHT0 = 0x4000; field
/frameworks/base/opengl/tools/glgen/stubs/jsr239/
DGL10Header.java-if96 int GL_LIGHT0 = 0x4000;
/frameworks/base/opengl/java/android/opengl/
DGLES10.java99 public static final int GL_LIGHT0 = 0x4000; field in GLES10
DGLLogWrapper.java457 case GL_LIGHT0: in getCap()
831 if (light >= GL_LIGHT0 && light <= GL_LIGHT7) { in getLightName()
/frameworks/base/opengl/tests/angeles/include/GLES/
Dgl.h461 #define GL_LIGHT0 0x4000 macro
/frameworks/base/opengl/tools/glgen/stubs/gles11/
DGLES10Header.java-if98 public static final int GL_LIGHT0 = 0x4000;
/frameworks/base/opengl/include/GLES/
Dgl.h495 #define GL_LIGHT0 0x4000 macro