Searched refs:lightIntensityArray (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_foreground.cpp | 540 std::array<float, MAX_LIGHT_SOURCES> lightIntensityArray = { 0 }; in DrawLight() local 555 lightIntensityArray[cnt] = lightIntensity; in DrawLight() 568 DrawContentLight(*canvas, phongShaderBuilder, brush, lightIntensityArray); in DrawLight() 569 DrawBorderLight(*canvas, phongShaderBuilder, pen, lightIntensityArray); in DrawLight() 571 DrawContentLight(*canvas, phongShaderBuilder, brush, lightIntensityArray); in DrawLight() 573 DrawBorderLight(*canvas, phongShaderBuilder, pen, lightIntensityArray); in DrawLight() 631 const std::array<float, MAX_LIGHT_SOURCES>& lightIntensityArray) const in DrawContentLight() 636 specularStrengthArr[i] = lightIntensityArray[i] * contentIntensityCoefficient; in DrawContentLight() 648 const std::array<float, MAX_LIGHT_SOURCES>& lightIntensityArray) const in DrawBorderLight() 652 specularStrengthArr[i] = lightIntensityArray[i]; in DrawBorderLight()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties_painter.h | 120 const std::array<float, MAX_LIGHT_SOURCES>& lightIntensityArray); 123 const std::array<float, MAX_LIGHT_SOURCES>& lightIntensityArray);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/ |
H A D | rs_property_drawable_foreground.h | 180 … Drawing::Brush& brush, const std::array<float, MAX_LIGHT_SOURCES>& lightIntensityArray) const; 182 Drawing::Pen& pen, const std::array<float, MAX_LIGHT_SOURCES>& lightIntensityArray) const;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_properties_painter.cpp | 1230 std::array<float, MAX_LIGHT_SOURCES> lightIntensityArray = { 0 }; in DrawLightInner() local 1244 lightIntensityArray[cnt] = lightIntensity; in DrawLightInner() 1258 DrawContentLight(properties, canvas, lightBuilder, brush, lightIntensityArray); in DrawLightInner() 1260 DrawBorderLight(properties, canvas, lightBuilder, pen, lightIntensityArray); in DrawLightInner() 1262 DrawContentLight(properties, canvas, lightBuilder, brush, lightIntensityArray); in DrawLightInner() 1263 DrawBorderLight(properties, canvas, lightBuilder, pen, lightIntensityArray); in DrawLightInner() 1269 const std::array<float, MAX_LIGHT_SOURCES>& lightIntensityArray) in DrawContentLight() argument 1276 specularStrengthArr[i] = lightIntensityArray[i] * contentIntensityCoefficient; in DrawContentLight() 1288 const std::array<float, MAX_LIGHT_SOURCES>& lightIntensityArray) in DrawBorderLight() argument 1294 specularStrengthArr[i] = lightIntensityArray[i]; in DrawBorderLight()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_painter_test.cpp | 645 …std::array<float, MAX_LIGHT_SOURCES> lightIntensityArray = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f }; // fo… variable 646 …SPropertiesPainter::DrawContentLight(properties, canvas, lightBuilder, brush, lightIntensityArray);
|