Home
last modified time | relevance | path

Searched refs:ambientColor (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/av/media/libstagefright/renderfright/gl/
DGLShadowVertexGenerator.cpp32 bool casterIsTranslucent, const vec4& ambientColor, in GLShadowVertexGenerator() argument
35 mDrawAmbientShadow = ambientColor.a > 0.f; in GLShadowVertexGenerator()
41 casterIsTranslucent, ambientColor); in GLShadowVertexGenerator()
DGLShadowVertexGenerator.h41 bool casterIsTranslucent, const vec4& ambientColor,
DGLSkiaShadowPort.h67 const vec4& ambientColor);
DGLSkiaShadowPort.cpp551 const vec4& ambientColor) { in getAmbientShadowGeometry() argument
570 return getShadowGeometry(ambientColor, outsetRect, std::abs(outsetRad), devSpaceAmbientBlur, in getAmbientShadowGeometry()
DGLESRenderEngine.cpp1739 settings.casterIsTranslucent, settings.ambientColor, in handleShadow()
/frameworks/native/libs/renderengine/gl/
DGLShadowVertexGenerator.cpp32 bool casterIsTranslucent, const vec4& ambientColor, in GLShadowVertexGenerator() argument
35 mDrawAmbientShadow = ambientColor.a > 0.f; in GLShadowVertexGenerator()
41 casterIsTranslucent, ambientColor); in GLShadowVertexGenerator()
DGLShadowVertexGenerator.h41 bool casterIsTranslucent, const vec4& ambientColor,
DGLSkiaShadowPort.h67 const vec4& ambientColor);
DGLSkiaShadowPort.cpp551 const vec4& ambientColor) { in getAmbientShadowGeometry() argument
570 return getShadowGeometry(ambientColor, outsetRect, std::abs(outsetRad), devSpaceAmbientBlur, in getAmbientShadowGeometry()
DGLESRenderEngine.cpp1839 settings.casterIsTranslucent, settings.ambientColor, in handleShadow()
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DLayerSettings.h109 vec4 ambientColor = vec4(); member
180 return lhs.ambientColor == rhs.ambientColor && lhs.spotColor == rhs.spotColor &&
231 *os << "\n .ambientColor = " << settings.ambientColor; in PrintTo()
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h116 vec4 ambientColor = vec4(); member
207 return lhs.boundaries == rhs.boundaries && lhs.ambientColor == rhs.ambientColor &&
284 *os << "\n .ambientColor = " << settings.ambientColor; in PrintTo()
/frameworks/base/libs/hwui/pipeline/skia/
DReorderBarrierDrawables.cpp206 SkColor ambientColor = multiplyAlpha(casterProperties.getAmbientShadowColor(), ambientAlpha); in drawShadow() local
210 ambientColor, spotColor, in drawShadow()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp833 status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor, in setGlobalShadowSettings() argument
842 std::vector<float> shadowConfig = {ambientColor.r, ambientColor.g, ambientColor.b, in setGlobalShadowSettings()
843 ambientColor.a, spotColor.r, spotColor.g, in setGlobalShadowSettings()
1593 half4 ambientColor = {shadowConfig[0], shadowConfig[1], shadowConfig[2], in onTransact() local
1599 return setGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, in onTransact()
DSurfaceComposerClient.cpp2422 status_t SurfaceComposerClient::setGlobalShadowSettings(const half4& ambientColor, in setGlobalShadowSettings() argument
2425 return ComposerService::getComposerService()->setGlobalShadowSettings(ambientColor, spotColor, in setGlobalShadowSettings()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h361 virtual status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
DSurfaceComposerClient.h292 static status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
/frameworks/native/libs/renderengine/skia/
DCache.cpp75 .ambientColor = vec4(0, 0, 0, 0.00935997f), in drawShadowLayers()
DSkiaGLRenderEngine.cpp1421 getSkColor(settings.ambientColor), getSkColor(settings.spotColor), in drawShadow()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_fuzzers_utils.h416 const half4 ambientColor{fdp->ConsumeFloatingPoint<float>(), in setGlobalShadowSettings()
427 mFlinger->setGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, in setGlobalShadowSettings()
/frameworks/base/core/java/android/view/
DSurfaceControl.java245 private static native void nativeSetGlobalShadowSettings(@Size(4) float[] ambientColor, in nativeSetGlobalShadowSettings() argument
2712 public static void setGlobalShadowSettings(@Size(4) float[] ambientColor, in setGlobalShadowSettings() argument
2714 validateColorArg(ambientColor); in setGlobalShadowSettings()
2716 nativeSetGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, lightRadius); in setGlobalShadowSettings()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1977 state.ambientColor *= casterAlpha; in prepareShadowClientComposition()
1980 if (state.ambientColor.a > 0.f && state.spotColor.a > 0.f) { in prepareShadowClientComposition()
DSurfaceFlinger.h632 status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp1879 half4 ambientColor = half4(floatAmbientColor[0], floatAmbientColor[1], floatAmbientColor[2], in nativeSetGlobalShadowSettings() local
1888 client->setGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, lightRadius); in nativeSetGlobalShadowSettings()
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineTest.cpp233 shadow.ambientColor = {0.0f, 0.0f, 0.0f, 0.039f}; in getShadowSettings()

12