Searched refs:distanceCorrection (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | GLSkiaShadowPort.cpp | 237 float distanceCorrection = outerRadius / blurRadius; in fillInCircleVerts() local 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 …]
|