/aosp12/frameworks/native/libs/renderengine/gl/ |
H A D | GLShadowVertexGenerator.cpp | 31 float casterCornerRadius, float casterZ, in GLShadowVertexGenerator() argument 40 mAmbientShadowGeometry = getAmbientShadowGeometry(casterRect, casterCornerRadius, casterZ, in GLShadowVertexGenerator() 51 getSpotShadowGeometry(casterRect, casterCornerRadius, casterZ, casterIsTranslucent, in GLShadowVertexGenerator()
|
H A D | GLSkiaShadowPort.h | 60 float casterCornerRadius, float casterZ, 65 float casterCornerRadius, float casterZ,
|
H A D | GLSkiaShadowPort.cpp | 549 float casterCornerRadius, float casterZ, in getAmbientShadowGeometry() argument 564 float outsetRad = casterCornerRadius + ambientPathOutset; in getAmbientShadowGeometry() 575 float casterCornerRadius, float casterZ, in getSpotShadowGeometry() argument 595 float spotShadowRadius = casterCornerRadius * spotScale; in getSpotShadowGeometry() 617 if (casterCornerRadius <= 0.f) { in getSpotShadowGeometry() 624 float dr = spotShadowRadius - casterCornerRadius; in getSpotShadowGeometry()
|
H A D | GLShadowVertexGenerator.h | 40 GLShadowVertexGenerator(const FloatRect& casterRect, float casterCornerRadius, float casterZ,
|
H A D | GLESRenderEngine.h | 172 void handleShadow(const FloatRect& casterRect, float casterCornerRadius,
|
H A D | GLESRenderEngine.cpp | 1828 void GLESRenderEngine::handleShadow(const FloatRect& casterRect, float casterCornerRadius, in handleShadow() argument 1832 const GLShadowVertexGenerator shadows(casterRect, casterCornerRadius, casterZ, in handleShadow()
|
/aosp12/frameworks/av/media/libstagefright/renderfright/gl/ |
H A D | GLShadowVertexGenerator.cpp | 31 float casterCornerRadius, float casterZ, in GLShadowVertexGenerator() argument 40 mAmbientShadowGeometry = getAmbientShadowGeometry(casterRect, casterCornerRadius, casterZ, in GLShadowVertexGenerator() 51 getSpotShadowGeometry(casterRect, casterCornerRadius, casterZ, casterIsTranslucent, in GLShadowVertexGenerator()
|
H A D | GLSkiaShadowPort.h | 60 float casterCornerRadius, float casterZ, 65 float casterCornerRadius, float casterZ,
|
H A D | GLSkiaShadowPort.cpp | 549 float casterCornerRadius, float casterZ, in getAmbientShadowGeometry() argument 564 float outsetRad = casterCornerRadius + ambientPathOutset; in getAmbientShadowGeometry() 575 float casterCornerRadius, float casterZ, in getSpotShadowGeometry() argument 595 float spotShadowRadius = casterCornerRadius * spotScale; in getSpotShadowGeometry() 617 if (casterCornerRadius <= 0.f) { in getSpotShadowGeometry() 624 float dr = spotShadowRadius - casterCornerRadius; in getSpotShadowGeometry()
|
H A D | GLShadowVertexGenerator.h | 40 GLShadowVertexGenerator(const FloatRect& casterRect, float casterCornerRadius, float casterZ,
|
H A D | GLESRenderEngine.h | 161 void handleShadow(const FloatRect& casterRect, float casterCornerRadius,
|
H A D | GLESRenderEngine.cpp | 1734 void GLESRenderEngine::handleShadow(const FloatRect& casterRect, float casterCornerRadius, in handleShadow() argument 1738 const GLShadowVertexGenerator shadows(casterRect, casterCornerRadius, casterZ, in handleShadow()
|
/aosp12/frameworks/av/media/libstagefright/renderfright/tests/ |
H A D | RenderEngineTest.cpp | 196 const float casterCornerRadius = castingLayer.geometry.roundedCornersRadius; in expectShadowColor() local 197 if (casterCornerRadius > 0.0f) { in expectShadowColor() 199 Rect cornerRect(casterCornerRadius, casterCornerRadius); in expectShadowColor() 202 cornerRect.offsetTo(casterRect.right - casterCornerRadius, casterRect.top)); in expectShadowColor() 204 cornerRect.offsetTo(casterRect.left, casterRect.bottom - casterCornerRadius)); in expectShadowColor() 205 casterRegion.subtractSelf(cornerRect.offsetTo(casterRect.right - casterCornerRadius, in expectShadowColor() 206 casterRect.bottom - casterCornerRadius)); in expectShadowColor()
|
/aosp12/frameworks/native/libs/renderengine/tests/ |
H A D | RenderEngineTest.cpp | 342 const float casterCornerRadius = castingLayer.geometry.roundedCornersRadius; in expectShadowColor() local 343 if (casterCornerRadius > 0.0f) { in expectShadowColor() 345 Rect cornerRect(casterCornerRadius, casterCornerRadius); in expectShadowColor() 348 cornerRect.offsetTo(casterRect.right - casterCornerRadius, casterRect.top)); in expectShadowColor() 350 cornerRect.offsetTo(casterRect.left, casterRect.bottom - casterCornerRadius)); in expectShadowColor() 351 casterRegion.subtractSelf(cornerRect.offsetTo(casterRect.right - casterCornerRadius, in expectShadowColor() 352 casterRect.bottom - casterCornerRadius)); in expectShadowColor()
|