Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/gl/
DGLSkiaShadowPort.cpp232 Mesh::VertexArray<vec3>& shadowParams) { in fillInCircleVerts() argument
251 shadowParams[vertexCount] = vec3(-octOffset, -1, distanceCorrection); in fillInCircleVerts()
256 shadowParams[vertexCount] = vec3(octOffset, -1, distanceCorrection); in fillInCircleVerts()
261 shadowParams[vertexCount] = vec3(1, -octOffset, distanceCorrection); in fillInCircleVerts()
266 shadowParams[vertexCount] = vec3(1, octOffset, distanceCorrection); in fillInCircleVerts()
271 shadowParams[vertexCount] = vec3(octOffset, 1, distanceCorrection); in fillInCircleVerts()
276 shadowParams[vertexCount] = vec3(-octOffset, 1, distanceCorrection); in fillInCircleVerts()
281 shadowParams[vertexCount] = vec3(-1, octOffset, distanceCorrection); in fillInCircleVerts()
286 shadowParams[vertexCount] = vec3(-1, -octOffset, distanceCorrection); in fillInCircleVerts()
299 shadowParams[vertexCount] = vec3(-s * innerRadius, -c * innerRadius, distanceCorrection); in fillInCircleVerts()
[all …]
DProgram.h53 shadowParams = 4, enumerator
DGLSkiaShadowPort.h75 Mesh::VertexArray<vec3> shadowParams);
DProgram.cpp41 glBindAttribLocation(programId, shadowParams, "shadowParams"); in Program()
DGLESRenderEngine.cpp1315 glEnableVertexAttribArray(Program::shadowParams); in drawMesh()
1316 glVertexAttribPointer(Program::shadowParams, mesh.getShadowParamsSize(), GL_FLOAT, GL_FALSE, in drawMesh()
1446 glDisableVertexAttribArray(Program::shadowParams); in drawMesh()
1701 Mesh::VertexArray<vec3> shadowParams = mesh.getShadowParamsArray<vec3>(); in handleShadow() local
1702 shadows.fillVertices(position, shadowColor, shadowParams); in handleShadow()