Home
last modified time | relevance | path

Searched refs:lightCenter (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/hwui/
DTessellationCache.cpp167 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()
DSpotShadow.h29 static void createSpotShadow(bool isCasterOpaque, const Vector3& lightCenter,
37 const Vector3& lightCenter, const Vector3& polyVertex);
39 static void computeLightPolygon(int points, const Vector3& lightCenter,
DSpotShadow.cpp367 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 …]
DSnapshot.h166 void setRelativeLightCenter(const Vector3& lightCenter) { mRelativeLightCenter = lightCenter; } in setRelativeLightCenter() argument
DTessellationCache.h134 const Vector3& lightCenter, float lightRadius);
139 const Vector3& lightCenter, float lightRadius,
DShadowTessellator.h76 const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius,
DStatefulBaseRenderer.cpp38 float clipRight, float clipBottom, const Vector3& lightCenter) { in initializeSaveStack() argument
43 mSnapshot->setRelativeLightCenter(lightCenter); in initializeSaveStack()
DShadowTessellator.cpp65 const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius, in tessellateSpotShadow() argument
71 Vector3 adjustedLightCenter(lightCenter); in tessellateSpotShadow()
DStatefulBaseRenderer.h56 const Vector3& lightCenter);
DOpenGLRenderer.h132 void initLight(const Vector3& lightCenter, float lightRadius,
DOpenGLRenderer.cpp167 void OpenGLRenderer::initLight(const Vector3& lightCenter, float lightRadius, in initLight() argument
169 mLightCenter = lightCenter; in initLight()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp170 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()
DCanvasContext.h73 void setup(int width, int height, const Vector3& lightCenter, float lightRadius,
DRenderProxy.h73 ANDROID_API void setup(int width, int height, const Vector3& lightCenter, float lightRadius,
DCanvasContext.cpp131 void CanvasContext::setup(int width, int height, const Vector3& lightCenter, float lightRadius, in setup() argument
134 mCanvas->initLight(lightCenter, lightRadius, ambientShadowAlpha, spotShadowAlpha); in setup()