Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DShadowTessellator.cpp63 const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius, in tessellateSpotShadow() argument
77 adjustedLightCenter.x, adjustedLightCenter.y, adjustedLightCenter.z, lightRadius); in tessellateSpotShadow()
92 lightRadius = Properties::overrideLightRadius; in tessellateSpotShadow()
97 Rect lightRect = Rect(adjustedLightCenter.x - lightRadius, adjustedLightCenter.y - lightRadius, in tessellateSpotShadow()
98 adjustedLightCenter.x + lightRadius, adjustedLightCenter.y + lightRadius); in tessellateSpotShadow()
107 SpotShadow::createSpotShadow(isCasterOpaque, adjustedLightCenter, lightRadius, in tessellateSpotShadow()
DTessellationCache.h95 const Vector3& lightCenter, float lightRadius) in ShadowTask() argument
103 , lightRadius(lightRadius) { in ShadowTask()
120 const float lightRadius; variable
168 const Vector3& lightCenter, float lightRadius);
172 const Vector3& lightCenter, float lightRadius,
178 const Vector3& lightCenter, float lightRadius);
230 const Vector3& lightCenter, float lightRadius,
DTessellationCache.cpp211 const Vector3& lightCenter, float lightRadius, in tessellateShadows() argument
267 *drawTransform, lightCenter, lightRadius, casterBounds, *localClip, in tessellateShadows()
282 &t->transformXY, &t->transformZ, t->lightCenter, t->lightRadius, in onProcess()
358 const Vector3& lightCenter, float lightRadius) { in precacheShadows() argument
363 casterPerimeter, transformXY, transformZ, lightCenter, lightRadius); in precacheShadows()
375 const Vector3& lightCenter, float lightRadius, vertexBuffer_pair_t& outBuffers) { in getShadowBuffers() argument
380 transformXY, transformZ, lightCenter, lightRadius); in getShadowBuffers()
391 const Vector3& lightCenter, float lightRadius) { in getShadowTask() argument
396 transformXY, transformZ, lightCenter, lightRadius); in getShadowTask()
DShadowTessellator.h78 const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius,
DOpenGLRenderer.h123 void initLight(float lightRadius, uint8_t ambientShadowAlpha,
DOpenGLRenderer.cpp98 void OpenGLRenderer::initLight(float lightRadius, uint8_t ambientShadowAlpha, in initLight() argument
100 mLightRadius = lightRadius; in initLight()
/frameworks/base/libs/hwui/tests/microbench/
DShadowBench.cpp38 float lightRadius; member
69 out->lightRadius = SAMPLE_LIGHT_RADIUS; in createShadowTestData()
77 testData.lightRadius, *ambient, *spot); in tessellateShadows()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp184 float lightRadius, uint8_t ambientShadowAlpha, uint8_t spotShadowAlpha) { in CREATE_BRIDGE6() argument
185 args->context->setup(args->width, args->height, args->lightRadius, in CREATE_BRIDGE6()
190 void RenderProxy::setup(int width, int height, float lightRadius, in setup() argument
196 args->lightRadius = lightRadius; in setup()
DRenderProxy.h83 ANDROID_API void setup(int width, int height, float lightRadius,
DCanvasContext.cpp159 void CanvasContext::setup(int width, int height, float lightRadius, in setup() argument
162 mLightGeometry.radius = lightRadius; in setup()
167 mCanvas->initLight(lightRadius, ambientShadowAlpha, spotShadowAlpha); in setup()
DCanvasContext.h88 void setup(int width, int height, float lightRadius,
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp487 … jint width, jint height, jfloat lightRadius, jint ambientShadowAlpha, jint spotShadowAlpha) { in android_view_ThreadedRenderer_setup() argument
489 proxy->setup(width, height, lightRadius, ambientShadowAlpha, spotShadowAlpha); in android_view_ThreadedRenderer_setup()
/frameworks/base/core/java/android/view/
DThreadedRenderer.java988 float lightRadius, int ambientShadowAlpha, int spotShadowAlpha); in nSetup() argument
/frameworks/base/libs/hwui/tests/unit/
DFrameBuilderTests.cpp1847 EXPECT_FLOAT_EQ(30, op.shadowTask->lightRadius); in RENDERTHREAD_TEST()