Home
last modified time | relevance | path

Searched refs:currentNormal (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/opengl/libagl/
Dvertex.cpp41 c->currentNormal.z = 0x10000; in ogles_init_vertex()
216 c->currentNormal.x = gglFloatToFixed(x); in glNormal3f()
217 c->currentNormal.y = gglFloatToFixed(y); in glNormal3f()
218 c->currentNormal.z = gglFloatToFixed(z); in glNormal3f()
224 c->currentNormal.x = x; in glNormal3x()
225 c->currentNormal.y = y; in glNormal3x()
226 c->currentNormal.z = z; in glNormal3x()
Darray.cpp142 static void currentNormal(ogles_context_t* c, GLfixed* v, const GLvoid*) { in currentNormal() function
143 memcpy(v, c->currentNormal.v, sizeof(vec3_t)); in currentNormal()
1155 am.normal.fetch = currentNormal; in validate_arrays()
Dcontext.h622 vec3_t currentNormal; member
/frameworks/base/libs/hwui/
DAmbientShadow.cpp196 Vector2 currentNormal = getNormalFromVertices(casterVertices, i, in createAmbientShadow() local
199 int extraVerticesNumber = ShadowTessellator::getExtraVertexNumber(currentNormal, in createAmbientShadow()
229 previousNormal * (cornerSlicesNumber - j) + currentNormal * j; in createAmbientShadow()
247 previousNormal = currentNormal; in createAmbientShadow()
256 outerNext.x = innerNext.x + currentNormal.x * expansionDist; in createAmbientShadow()
257 outerNext.y = innerNext.y + currentNormal.y * expansionDist; in createAmbientShadow()
DSpotShadow.cpp469 const Vector2& currentNormal = outlineData[i].normal; in createSpotShadow() local
475 previousNormal, currentNormal, SPOT_CORNER_RADIANS_DIVISOR); in createSpotShadow()
489 (previousNormal * (currentCornerSliceNumber - k) + currentNormal * k) / in createSpotShadow()