Home
last modified time | relevance | path

Searched refs:shadowParams (Results 1 – 10 of 10) 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.cpp1436 glEnableVertexAttribArray(Program::shadowParams); in drawMesh()
1437 glVertexAttribPointer(Program::shadowParams, mesh.getShadowParamsSize(), GL_FLOAT, GL_FALSE, in drawMesh()
1567 glDisableVertexAttribArray(Program::shadowParams); in drawMesh()
1847 Mesh::VertexArray<vec3> shadowParams = mesh.getShadowParamsArray<vec3>(); in handleShadow() local
1848 shadows.fillVertices(position, shadowColor, shadowParams); in handleShadow()
/frameworks/av/media/libstagefright/renderfright/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.cpp1357 glEnableVertexAttribArray(Program::shadowParams); in drawMesh()
1358 glVertexAttribPointer(Program::shadowParams, mesh.getShadowParamsSize(), GL_FLOAT, GL_FALSE, in drawMesh()
1488 glDisableVertexAttribArray(Program::shadowParams); in drawMesh()
1753 Mesh::VertexArray<vec3> shadowParams = mesh.getShadowParamsArray<vec3>(); in handleShadow() local
1754 shadows.fillVertices(position, shadowColor, shadowParams); in handleShadow()