Home
last modified time | relevance | path

Searched refs:RSShader (Results 1 – 25 of 38) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_shader.h25 class RSB_EXPORT RSShader {
27 RSShader() = default;
28 ~RSShader() = default;
29 static std::shared_ptr<RSShader> CreateRSShader();
30 …static std::shared_ptr<RSShader> CreateRSShader(const std::shared_ptr<Drawing::ShaderEffect>& drSh…
36 RSShader(const RSShader&) = delete;
37 RSShader(const RSShader&&) = delete;
38 RSShader& operator=(const RSShader&) = delete;
39 RSShader& operator=(const RSShader&&) = delete;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_shader.cpp20 std::shared_ptr<RSShader> RSShader::CreateRSShader() in CreateRSShader()
22 return std::make_shared<RSShader>(); in CreateRSShader()
25 std::shared_ptr<RSShader> RSShader::CreateRSShader(const std::shared_ptr<Drawing::ShaderEffect>& dr… in CreateRSShader()
27 auto rsShader = std::make_shared<RSShader>(); in CreateRSShader()
32 void RSShader::SetDrawingShader(const std::shared_ptr<Drawing::ShaderEffect>& drShader) in SetDrawingShader()
37 const std::shared_ptr<Drawing::ShaderEffect>& RSShader::GetDrawingShader() const in GetDrawingShader()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_shader_test.cpp44 auto rsShader = RSShader::CreateRSShader();
56 EXPECT_NE(RSShader::CreateRSShader(drShader), nullptr);
66 std::shared_ptr<RSShader> shaderPtr = RSShader::CreateRSShader();
79 auto rsShader = RSShader::CreateRSShader();
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsshader_fuzzer/
H A Drsshader_fuzzer.cpp65 auto rsShader = std::make_shared<RSShader>(); in DoCreateRSShader()
82 auto rsShader = std::make_shared<RSShader>(); in DoSetDrawingShader()
98 auto rsShader = std::make_shared<RSShader>(); in DoGetDrawingShader()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_properties_def.h30 class RSShader; variable
175 std::shared_ptr<RSShader> bgShader_ = nullptr;
H A Drs_properties.h198 void SetBackgroundShader(const std::shared_ptr<RSShader>& shader);
199 std::shared_ptr<RSShader> GetBackgroundShader() const;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsnode_fuzzer/
H A Drsnode_fuzzer.cpp165 std::shared_ptr<RSShader> shader = RSShader::CreateRSShader(); in RSNodeFuzzTestInner02()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_marshalling_helper.cpp135 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const std::shared_ptr<RSShader>& val) in Marshalling()
140 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<RSShader>& val) in Unmarshalling()
470 EXPLICIT_INSTANTIATION(TEMPLATE, std::shared_ptr<RSShader>) \
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_marshalling_helper.cpp139 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const std::shared_ptr<RSShader>& val) in Marshalling()
144 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<RSShader>& val) in Unmarshalling()
472 EXPLICIT_INSTANTIATION(TEMPLATE, std::shared_ptr<RSShader>) \
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/
H A Drs_drawable_test.cpp80 std::shared_ptr<RSShader> shader = RSShader::CreateRSShader();
H A Drs_property_drawable_background_test.cpp196 std::shared_ptr<RSShader> shader = RSShader::CreateRSShader();
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier_extractor.h57 std::shared_ptr<RSShader> GetBackgroundShader() const;
H A Drs_property.cpp287 void RSProperty<std::shared_ptr<RSShader>>::UpdateToRender( in UpdateToRender()
288 const std::shared_ptr<RSShader>& value, PropertyUpdateType type) const in UpdateToRender()
H A Drs_modifier_extractor.cpp171 std::shared_ptr<RSShader> RSModifierExtractor::GetBackgroundShader() const in GetBackgroundShader()
173 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(std::shared_ptr<RSShader>, BACKGROUND_SHADER, nullptr, =); in GetBackgroundShader()
H A Drs_property.h733 RSC_EXPORT void RSProperty<std::shared_ptr<RSShader>>::UpdateToRender(
734 const std::shared_ptr<RSShader>& value, PropertyUpdateType type) const;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderimage_fuzzer/
H A Drsrenderimage_fuzzer.cpp313 std::shared_ptr<RSShader> shaderPtr = RSShader::CreateRSShader(); in RSShaderFuzzTest()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dgradient_style_modifier.cpp58 renderContext->SetBackgroundShader(Rosen::RSShader::CreateRSShader(shader)); in PaintGradient()
73 renderContext->SetBackgroundShader(Rosen::RSShader::CreateRSShader(shader)); in PaintGradient()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsproperty_fuzzer/
H A Drsproperty_fuzzer.cpp156 std::shared_ptr<RSShader> shader = RSShader::CreateRSShader(); in RSPropertiesFuzzTestInner02()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/command/
H A Drs_node_command.h232 …S_NODE, UPDATE_MODIFIER_SHADER_PTR, RSNodeCommandHelper::UpdateModifier<std::shared_ptr<RSShader>>,
233 NodeId, std::shared_ptr<RSShader>, PropertyId, PropertyUpdateType))
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_marshalling_helper.h79 class RSShader; variable
243 DECLARE_FUNCTION_OVERLOAD(std::shared_ptr<RSShader>)
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsmarshallinghelper_fuzzer/
H A Drsmarshallinghelper_fuzzer.cpp387 std::shared_ptr<RSShader> shader = RSShader::CreateRSShader(shaderEffect); in DoMarshallingHelper009()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_marshalling_helper_test.cpp294 std::shared_ptr<RSShader> val;
296 val = RSShader::CreateRSShader();
312 std::shared_ptr<RSShader> val;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/
H A Drs_marshalling_test.cpp175 std::shared_ptr<RSShader> rsShader;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/
H A Drs_modifier_test.cpp887 auto value = RSShader::CreateRSShader();
888 auto prop = std::make_shared<RSProperty<std::shared_ptr<RSShader>>>(value);
908 std::shared_ptr<RSShader> value = nullptr;
909 auto prop = std::make_shared<RSProperty<std::shared_ptr<RSShader>>>(value);
917 value = RSShader::CreateRSShader();
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/modifier/
H A Drs_modifiers_def.in67 DECLARE_NOANIMATABLE_MODIFIER(BackgroundShader, std::shared_ptr<RSShader>, BACKGROUND_SHADER, Backg…

12