Home
last modified time | relevance | path

Searched refs:casterCornerRadius (Results 1 – 14 of 14) sorted by relevance

/aosp12/frameworks/native/libs/renderengine/gl/
H A DGLShadowVertexGenerator.cpp31 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 DGLSkiaShadowPort.h60 float casterCornerRadius, float casterZ,
65 float casterCornerRadius, float casterZ,
H A DGLSkiaShadowPort.cpp549 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 DGLShadowVertexGenerator.h40 GLShadowVertexGenerator(const FloatRect& casterRect, float casterCornerRadius, float casterZ,
H A DGLESRenderEngine.h172 void handleShadow(const FloatRect& casterRect, float casterCornerRadius,
H A DGLESRenderEngine.cpp1828 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 DGLShadowVertexGenerator.cpp31 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 DGLSkiaShadowPort.h60 float casterCornerRadius, float casterZ,
65 float casterCornerRadius, float casterZ,
H A DGLSkiaShadowPort.cpp549 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 DGLShadowVertexGenerator.h40 GLShadowVertexGenerator(const FloatRect& casterRect, float casterCornerRadius, float casterZ,
H A DGLESRenderEngine.h161 void handleShadow(const FloatRect& casterRect, float casterCornerRadius,
H A DGLESRenderEngine.cpp1734 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 DRenderEngineTest.cpp196 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 DRenderEngineTest.cpp342 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()