Home
last modified time | relevance | path

Searched refs:RSContext (Results 1 – 25 of 123) sorted by relevance

12345

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/command/
H A Drs_surface_node_command.h70 static void Create(RSContext& context, NodeId nodeId,
73 RSContext& context, NodeId nodeId, std::string name, uint8_t type,
76 const RSSurfaceRenderNodeConfig& config, RSContext& context);
78 static void SetContextAlpha(RSContext& context, NodeId nodeId, float alpha);
86 static void ConnectToNodeInRenderService(RSContext& context, NodeId id);
88 static void SetContextBounds(RSContext& context, NodeId id, Vector4f bounds);
90 static void SetAbilityBGAlpha(RSContext& context, NodeId id, uint8_t alpha);
92 static void MarkUIHidden(RSContext& context, NodeId nodeId, bool isHidden);
95 static void SetAnimationFinished(RSContext& context, NodeId nodeId);
106 static void SetAncoFlags(RSContext& context, NodeId nodeId, uint32_t flags);
[all …]
H A Drs_display_node_command.h42 static void Create(RSContext&, NodeId, const RSDisplayNodeConfig&);
44 static void SetScreenId(RSContext&, NodeId, uint64_t);
45 static void SetDisplayOffset(RSContext&, NodeId, int32_t, int32_t);
46 static void SetSecurityDisplay(RSContext&, NodeId, bool);
47 static void SetDisplayMode(RSContext&, NodeId, const RSDisplayNodeConfig&);
48 static void SetScreenRotation(RSContext&, NodeId, const ScreenRotation&);
49 static void SetBootAnimation(RSContext& context, NodeId nodeId, bool isBootAnimation);
50 static void SetRogSize(RSContext&, NodeId, uint32_t, uint32_t);
51 static void AddDisplayNodeToTree(RSContext&, NodeId);
52 static void RemoveDisplayNodeFromTree(RSContext&, NodeId);
[all …]
H A Drs_animation_command.h76 static void AnimOp(RSContext& context, NodeId nodeId, AnimationId animId) in AnimOp()
89 static void AnimOpReg(RSContext& context, NodeId nodeId, AnimationId animId) in AnimOpReg()
104 static void AnimOp(RSContext& context, NodeId nodeId, AnimationId animId, T param) in AnimOp()
117 RSContext& context, NodeId targetId, const std::shared_ptr<RSRenderAnimation>& animation);
118 static void CreateParticleAnimation(RSContext& context, NodeId targetId,
122 static void AnimationCallback(RSContext& context,
125 static void CancelAnimation(RSContext& context, NodeId targetId, PropertyId propertyId);
127 static void CreateInteractiveAnimator(RSContext& context,
131 static void InteractiveAnimatorAddAnimations(RSContext& context,
135 static void FinishInteractiveAnimator(RSContext& context,
[all …]
H A Drs_base_node_command.h38 static void Destroy(RSContext& context, NodeId nodeId);
39 static void AddChild(RSContext& context, NodeId nodeId, NodeId childNodeId, int32_t index);
40 static void MoveChild(RSContext& context, NodeId nodeId, NodeId childNodeId, int32_t index);
41 static void RemoveChild(RSContext& context, NodeId nodeId, NodeId childNodeId);
42 …static void AddCrossParentChild(RSContext& context, NodeId nodeId, NodeId childNodeId, int32_t ind…
43 …static void RemoveCrossParentChild(RSContext& context, NodeId nodeId, NodeId childNodeId, NodeId n…
44 static void RemoveFromTree(RSContext& context, NodeId nodeId);
45 static void ClearChildren(RSContext& context, NodeId nodeId);
H A Drs_node_command.h85 static void RemoveModifier(RSContext& context, NodeId nodeId, PropertyId propertyId);
86 static void RemoveAllModifiers(RSContext& context, NodeId nodeId);
117RSContext& context, NodeId nodeId, Drawing::DrawCmdListPtr value, PropertyId id, bool isDelta) in UpdateModifierDrawCmdList()
136 static void SetFreeze(RSContext& context, NodeId nodeId, bool isFreeze);
137 static void SetNodeName(RSContext& context, NodeId nodeId, std::string& nodeName);
138 static void MarkNodeGroup(RSContext& context, NodeId nodeId, bool isNodeGroup, bool isForced,
143 static void MarkUifirstNode(RSContext& context, NodeId nodeId, bool isUifirstNode);
145 static void SetDrawRegion(RSContext& context, NodeId nodeId, std::shared_ptr<RectF> rect);
146 static void SetOutOfParent(RSContext& context, NodeId nodeId, OutOfParentType outOfParent);
152 static void DumpClientNodeTree(RSContext& context, NodeId nodeId, pid_t pid, uint32_t taskId);
[all …]
H A Drs_root_node_command.h35 static void Create(RSContext& context, NodeId id, bool isTextureExportNode = false);
36 static void AttachRSSurfaceNode(RSContext& context, NodeId id, NodeId surfaceNodeId);
37 static void AttachToUniSurfaceNode(RSContext& context, NodeId id, NodeId surfaceNodeId);
38 static void SetEnableRender(RSContext& context, NodeId id, bool flag);
39 static void UpdateSuggestedBufferSize(RSContext& context, NodeId id, float width, float height);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_surface_node_command_test.cpp45 RSContext context;
61 RSContext context;
78 RSContext context;
95 RSContext context;
112 RSContext context;
130 RSContext context;
146 RSContext context;
162 RSContext context;
179 RSContext context;
196 RSContext context;
[all …]
H A Drs_node_command_test.cpp44 RSContext context;
58 RSContext context;
72 RSContext context;
85 RSContext context;
99 RSContext context;
113 RSContext context;
128 RSContext context;
146 RSContext context;
165 RSContext context;
191 RSContext context;
[all …]
H A Drs_base_node_command_test.cpp43 RSContext context;
56 RSContext context;
71 RSContext context;
86 RSContext context;
101 RSContext context;
116 RSContext context;
129 RSContext context;
143 RSContext context;
161 RSContext context;
189 RSContext context;
[all …]
H A Drs_display_node_command_test.cpp43 RSContext context;
61 RSContext context;
79 RSContext context;
96 RSContext context;
110 RSContext context;
131 RSContext context;
147 RSContext context;
164 RSContext context;
180 RSContext context;
196 RSContext context;
[all …]
H A Drs_canvas_node_command_test.cpp45 RSContext context;
60 RSContext context;
73 RSContext context;
86 RSContext context;
99 RSContext context;
131 RSContext context;
155 RSContext context;
H A Drs_root_node_command_test.cpp45 RSContext context;
60 RSContext context;
75 RSContext context;
91 RSContext context;
108 RSContext context;
H A Drs_animation_command_test.cpp45 RSContext context;
61 RSContext context;
67 RSContext context2;
88 RSContext context;
110 RSContext context;
145 RSContext context;
168 RSContext context;
187 RSContext context;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_surface_node_command.cpp48 RSContext& context, NodeId nodeId, std::string name, uint8_t type, in CreateWithConfig()
66 const RSSurfaceRenderNodeConfig& config, RSContext& context) in CreateWithConfigInRS()
79 RSContext& context, NodeId id, const std::optional<Drawing::Matrix>& matrix) in SetContextMatrix()
86 void SurfaceNodeCommandHelper::SetContextAlpha(RSContext& context, NodeId id, float alpha) in SetContextAlpha()
94 RSContext& context, NodeId id, const std::optional<Drawing::Rect>& clipRect) in SetContextClipRegion()
158 RSContext& context, NodeId id, bool isRefresh) in SetCallbackForRenderThreadRefresh()
188 void SurfaceNodeCommandHelper::MarkUIHidden(RSContext& context, NodeId id, bool isHidden) in MarkUIHidden()
204 RSContext& context, NodeId nodeId, bool hasContainerWindow, float density) in SetContainerWindow()
211 void SurfaceNodeCommandHelper::SetAnimationFinished(RSContext& context, NodeId nodeId) in SetAnimationFinished()
260 void SurfaceNodeCommandHelper::CreateSurfaceExt(RSContext& context, NodeId id, in CreateSurfaceExt()
[all …]
H A Drs_node_command.cpp26 void RSNodeCommandHelper::AddModifier(RSContext& context, NodeId nodeId, in AddModifier()
36 void RSNodeCommandHelper::RemoveModifier(RSContext& context, NodeId nodeId, PropertyId propertyId) in RemoveModifier()
45 void RSNodeCommandHelper::RemoveAllModifiers(RSContext& context, NodeId nodeId) in RemoveAllModifiers()
54 void RSNodeCommandHelper::SetFreeze(RSContext& context, NodeId nodeId, bool isFreeze) in SetFreeze()
63 void RSNodeCommandHelper::SetNodeName(RSContext& context, NodeId nodeId, std::string& nodeName) in SetNodeName()
82 void RSNodeCommandHelper::MarkNodeSingleFrameComposer(RSContext& context, in MarkNodeSingleFrameComposer()
92 void RSNodeCommandHelper::MarkSuggestOpincNode(RSContext& context, NodeId nodeId, in MarkSuggestOpincNode()
101 void RSNodeCommandHelper::MarkUifirstNode(RSContext& context, NodeId nodeId, bool isUifirstNode) in MarkUifirstNode()
109 void RSNodeCommandHelper::ForceUifirstNode(RSContext& context, NodeId nodeId, bool isForceFlag, in ForceUifirstNode()
118 void RSNodeCommandHelper::SetDrawRegion(RSContext& context, NodeId nodeId, std::shared_ptr<RectF> r… in SetDrawRegion()
[all …]
H A Drs_display_node_command.cpp25 void DisplayNodeCommandHelper::Create(RSContext& context, NodeId id, const RSDisplayNodeConfig& con… in Create()
47 RSContext& context, NodeId id, const RSDisplayNodeConfig& config) in CreateWithConfigInRS()
54 void DisplayNodeCommandHelper::AddDisplayNodeToTree(RSContext& context, NodeId id) in AddDisplayNodeToTree()
63 void DisplayNodeCommandHelper::RemoveDisplayNodeFromTree(RSContext& context, NodeId id) in RemoveDisplayNodeFromTree()
72 void DisplayNodeCommandHelper::SetScreenId(RSContext& context, NodeId id, uint64_t screenId) in SetScreenId()
79 void DisplayNodeCommandHelper::SetRogSize(RSContext& context, NodeId id, uint32_t rogWidth, uint32_… in SetRogSize()
86 void DisplayNodeCommandHelper::SetDisplayOffset(RSContext& context, NodeId id, int32_t offsetX, int… in SetDisplayOffset()
100 void DisplayNodeCommandHelper::SetSecurityDisplay(RSContext& context, NodeId id, bool isSecurityDis… in SetSecurityDisplay()
107 void DisplayNodeCommandHelper::SetDisplayMode(RSContext& context, NodeId id, const RSDisplayNodeCon… in SetDisplayMode()
128 void DisplayNodeCommandHelper::SetBootAnimation(RSContext& context, NodeId nodeId, bool isBootAnima… in SetBootAnimation()
[all …]
H A Drs_animation_command.cpp37 RSContext& context, NodeId targetId, AnimationId animId, AnimationCallbackEvent event) in AnimationCallback()
50 RSContext& context, NodeId targetId, const std::shared_ptr<RSRenderAnimation>& animation) in CreateAnimation()
77RSContext& context, NodeId targetId, const std::shared_ptr<RSRenderParticleAnimation>& animation) in CreateParticleAnimation()
102 void AnimationCommandHelper::CancelAnimation(RSContext& context, NodeId targetId, PropertyId proper… in CancelAnimation()
113 void AnimationCommandHelper::CreateInteractiveAnimator(RSContext& context, in CreateInteractiveAnimator()
128 void AnimationCommandHelper::DestoryInteractiveAnimator(RSContext& context, InteractiveImplictAnima… in DestoryInteractiveAnimator()
137 void AnimationCommandHelper::InteractiveAnimatorAddAnimations(RSContext& context, in InteractiveAnimatorAddAnimations()
147 void AnimationCommandHelper::PauseInteractiveAnimator(RSContext& context, InteractiveImplictAnimato… in PauseInteractiveAnimator()
165 void AnimationCommandHelper::FinishInteractiveAnimator(RSContext& context, in FinishInteractiveAnimator()
175 void AnimationCommandHelper::ReverseInteractiveAnimator(RSContext& context, InteractiveImplictAnima… in ReverseInteractiveAnimator()
[all …]
H A Drs_base_node_command.cpp24 void BaseNodeCommandHelper::Destroy(RSContext& context, NodeId nodeId) in Destroy()
40 void BaseNodeCommandHelper::AddChild(RSContext& context, NodeId nodeId, NodeId childNodeId, int32_t… in AddChild()
52 void BaseNodeCommandHelper::MoveChild(RSContext& context, NodeId nodeId, NodeId childNodeId, int32_… in MoveChild()
62 void BaseNodeCommandHelper::RemoveChild(RSContext& context, NodeId nodeId, NodeId childNodeId) in RemoveChild()
72 void BaseNodeCommandHelper::AddCrossParentChild(RSContext& context, NodeId id, NodeId childId, int3… in AddCrossParentChild()
82 void BaseNodeCommandHelper::RemoveCrossParentChild(RSContext& context, NodeId nodeId, NodeId childN… in RemoveCrossParentChild()
94 void BaseNodeCommandHelper::RemoveFromTree(RSContext& context, NodeId nodeId) in RemoveFromTree()
104 void BaseNodeCommandHelper::ClearChildren(RSContext& context, NodeId nodeId) in ClearChildren()
H A Drs_root_node_command.cpp32 void RootNodeCommandHelper::Create(RSContext& context, NodeId id, bool isTextureExportNode) in Create()
39 void RootNodeCommandHelper::AttachRSSurfaceNode(RSContext& context, NodeId id, NodeId surfaceNodeId) in AttachRSSurfaceNode()
47 void RootNodeCommandHelper::SetEnableRender(RSContext& context, NodeId id, bool flag) in SetEnableRender()
54 void RootNodeCommandHelper::AttachToUniSurfaceNode(RSContext& context, NodeId id, NodeId surfaceNod… in AttachToUniSurfaceNode()
69 void RootNodeCommandHelper::UpdateSuggestedBufferSize(RSContext& context, NodeId id, float width, f… in UpdateSuggestedBufferSize()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_context.cpp22 void RSContext::RegisterAnimatingRenderNode(const std::shared_ptr<RSRenderNode>& nodePtr) in RegisterAnimatingRenderNode()
30 void RSContext::UnregisterAnimatingRenderNode(NodeId id) in UnregisterAnimatingRenderNode()
36 void RSContext::AddActiveNode(const std::shared_ptr<RSRenderNode>& node) in AddActiveNode()
46 bool RSContext::HasActiveNode(const std::shared_ptr<RSRenderNode>& node) in HasActiveNode()
56 void RSContext::AddPendingSyncNode(const std::shared_ptr<RSRenderNode> node) in AddPendingSyncNode()
64 void RSContext::MarkNeedPurge(ClearMemoryMoment moment, PurgeType purgeType) in MarkNeedPurge()
70 void RSContext::SetClearMoment(ClearMemoryMoment moment) in SetClearMoment()
75 ClearMemoryMoment RSContext::GetClearMoment() const in GetClearMoment()
80 void RSContext::Initialize() in Initialize()
86 void RSContext::AddSyncFinishAnimationList(NodeId nodeId, AnimationId animationId) in AddSyncFinishAnimationList()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_context.h42 class RSB_EXPORT RSContext : public std::enable_shared_from_this<RSContext> {
44 RSContext() = default;
45 ~RSContext() = default;
46 RSContext(const RSContext&) = delete;
47 RSContext(const RSContext&&) = delete;
48 RSContext& operator=(const RSContext&) = delete;
49 RSContext& operator=(const RSContext&&) = delete;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_canvas_render_node_test.cpp93 std::weak_ptr<RSContext> context;
112 std::weak_ptr<RSContext> context;
206 std::weak_ptr<RSContext> context;
221 std::weak_ptr<RSContext> context;
240 std::weak_ptr<RSContext> context;
255 std::weak_ptr<RSContext> context;
270 std::weak_ptr<RSContext> context;
278 RSContext* rsContext = new RSContext();
295 std::weak_ptr<RSContext> context;
330 std::weak_ptr<RSContext> context;
[all …]
H A Drs_context_test.cpp46 RSContext rSContext;
60 RSContext rSContext;
88 RSContext rSContext;
113 RSContext rSContext;
136 RSContext rSContext;
149 RSContext rSContext;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_interactive_implict_animator_test.cpp54 RSContext context;
87 auto context = std::make_shared<RSContext>();
105 RSContext context;
132 auto context = std::make_shared<RSContext>();
148 RSContext context;
175 auto context = std::make_shared<RSContext>();
191 RSContext context;
218 auto context = std::make_shared<RSContext>();
234 RSContext context;
261 auto context = std::make_shared<RSContext>();
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_render_interactive_implict_animator.h27 class RSContext; variable
33 (InteractiveImplictAnimatorId id, const std::weak_ptr<RSContext>& context = {});
50 std::weak_ptr<RSContext> context_ = {};
53 friend class RSContext; variable

12345