Home
last modified time | relevance | path

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

/frameworks/native/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/native/opengl/libagl/
Dstate.cpp138 if ((cap >= GL_LIGHT0) && (cap<GL_LIGHT0+OGLES_MAX_LIGHTS)) { in enable_disable()
139 c->lighting.lights[cap-GL_LIGHT0].enable = enabled; in enable_disable()
140 c->lighting.enabledLights &= ~(1<<(cap-GL_LIGHT0)); in enable_disable()
141 c->lighting.enabledLights |= (enabled<<(cap-GL_LIGHT0)); in enable_disable()
Dlight.cpp464 if (ggl_unlikely(uint32_t(i-GL_LIGHT0) >= OGLES_MAX_LIGHTS)) { in lightx()
469 light_t& light = c->lighting.lights[i-GL_LIGHT0]; in lightx()
518 if (ggl_unlikely(uint32_t(i-GL_LIGHT0) >= OGLES_MAX_LIGHTS)) { in lightxv()
524 light_t& light = c->lighting.lights[i-GL_LIGHT0]; in lightxv()
/frameworks/native/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/native/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/native/opengl/tests/angeles/include/GLES/
Dgl.h461 #define GL_LIGHT0 0x4000 macro
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DGLES10Header.java-if99 public static final int GL_LIGHT0 = 0x4000;
/frameworks/native/opengl/include/GLES/
Dgl.h495 #define GL_LIGHT0 0x4000 macro
/frameworks/native/opengl/libs/
Denums.in278 GL_ENUM(0x4000,GL_LIGHT0)
/frameworks/base/api/
Dcurrent.txt20311 field public static final int GL_LIGHT0 = 16384; // 0x4000
54765 field public static final int GL_LIGHT0 = 16384; // 0x4000
Dsystem-current.txt22255 field public static final int GL_LIGHT0 = 16384; // 0x4000
57371 field public static final int GL_LIGHT0 = 16384; // 0x4000