/frameworks/base/libs/hwui/ |
D | TessellationCache.cpp | 167 const Vector3& lightCenter, float lightRadius) in ShadowTask() argument 174 , lightCenter(lightCenter) in ShadowTask() 198 const Vector3 lightCenter; member in android::uirenderer::ShadowTask 214 const Vector3& lightCenter, float lightRadius, in tessellateShadows() argument 271 *drawTransform, lightCenter, lightRadius, casterBounds, *localClip, in tessellateShadows() 288 &t->transformXY, &t->transformZ, t->lightCenter, t->lightRadius, in onProcess() 380 const Vector3& lightCenter, float lightRadius) { in precacheShadows() argument 384 casterPerimeter, transformXY, transformZ, lightCenter, lightRadius); in precacheShadows() 397 const Vector3& lightCenter, float lightRadius, vertexBuffer_pair_t& outBuffers) { in getShadowBuffers() argument 402 transformXY, transformZ, lightCenter, lightRadius); in getShadowBuffers()
|
D | SpotShadow.h | 29 static void createSpotShadow(bool isCasterOpaque, const Vector3& lightCenter, 37 const Vector3& lightCenter, const Vector3& polyVertex); 39 static void computeLightPolygon(int points, const Vector3& lightCenter,
|
D | SpotShadow.cpp | 367 void SpotShadow::computeLightPolygon(int points, const Vector3& lightCenter, in computeLightPolygon() argument 372 ret[i].x = cosf(angle) * size + lightCenter.x; in computeLightPolygon() 373 ret[i].y = sinf(angle) * size + lightCenter.y; in computeLightPolygon() 374 ret[i].z = lightCenter.z; in computeLightPolygon() 388 const Vector3& lightCenter, const Vector3& polyVertex) { in projectCasterToOutline() argument 389 float lightToPolyZ = lightCenter.z - polyVertex.z; in projectCasterToOutline() 397 outline.x = polyVertex.x - ratioZ * (lightCenter.x - polyVertex.x); in projectCasterToOutline() 398 outline.y = polyVertex.y - ratioZ * (lightCenter.y - polyVertex.y); in projectCasterToOutline() 413 void SpotShadow::createSpotShadow(bool isCasterOpaque, const Vector3& lightCenter, in createSpotShadow() argument 416 if (CC_UNLIKELY(lightCenter.z <= 0)) { in createSpotShadow() [all …]
|
D | Snapshot.h | 166 void setRelativeLightCenter(const Vector3& lightCenter) { mRelativeLightCenter = lightCenter; } in setRelativeLightCenter() argument
|
D | TessellationCache.h | 134 const Vector3& lightCenter, float lightRadius); 139 const Vector3& lightCenter, float lightRadius,
|
D | ShadowTessellator.h | 76 const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius,
|
D | StatefulBaseRenderer.cpp | 38 float clipRight, float clipBottom, const Vector3& lightCenter) { in initializeSaveStack() argument 43 mSnapshot->setRelativeLightCenter(lightCenter); in initializeSaveStack()
|
D | ShadowTessellator.cpp | 65 const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius, in tessellateSpotShadow() argument 71 Vector3 adjustedLightCenter(lightCenter); in tessellateSpotShadow()
|
D | StatefulBaseRenderer.h | 56 const Vector3& lightCenter);
|
D | OpenGLRenderer.h | 132 void initLight(const Vector3& lightCenter, float lightRadius,
|
D | OpenGLRenderer.cpp | 167 void OpenGLRenderer::initLight(const Vector3& lightCenter, float lightRadius, in initLight() argument 169 mLightCenter = lightCenter; in initLight()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.cpp | 170 Vector3 lightCenter, float lightRadius, in CREATE_BRIDGE7() argument 172 args->context->setup(args->width, args->height, args->lightCenter, args->lightRadius, in CREATE_BRIDGE7() 177 void RenderProxy::setup(int width, int height, const Vector3& lightCenter, float lightRadius, in setup() argument 183 args->lightCenter = lightCenter; in setup()
|
D | CanvasContext.h | 73 void setup(int width, int height, const Vector3& lightCenter, float lightRadius,
|
D | RenderProxy.h | 73 ANDROID_API void setup(int width, int height, const Vector3& lightCenter, float lightRadius,
|
D | CanvasContext.cpp | 131 void CanvasContext::setup(int width, int height, const Vector3& lightCenter, float lightRadius, in setup() argument 134 mCanvas->initLight(lightCenter, lightRadius, ambientShadowAlpha, spotShadowAlpha); in setup()
|