Searched refs:RSDrawableSlot (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_drawable.cpp | 283 const RSDrawable::Vec& drawableVec, RSDrawableSlot begin, RSDrawableSlot end) noexcept in HasPropertyDrawableInRange() 307 drawableVec, RSDrawableSlot::CONTENT_BEGIN, RSDrawableSlot::CONTENT_END)) { in CalculateDrawableVecStatus() 313 drawableVec, RSDrawableSlot::BG_PROPERTIES_BEGIN, RSDrawableSlot::BG_PROPERTIES_END)) { in CalculateDrawableVecStatus() 318 drawableVec, RSDrawableSlot::FG_PROPERTIES_BEGIN, RSDrawableSlot::FG_PROPERTIES_END)) { in CalculateDrawableVecStatus() 463 SaveRestoreHelper(drawableVec, RSDrawableSlot::SAVE_ALL, RSDrawableSlot::RESTORE_ALL, in OptimizeGlobalSaveRestore() 468 RSDrawableSlot::MASK, 469 RSDrawableSlot::SHADOW, 470 RSDrawableSlot::OUTLINE, 480 RSDrawableSlot::POINT_LIGHT, 481 RSDrawableSlot::BORDER, [all …]
|
H A D | rs_render_node_drawable_adapter.cpp | 343 renderNode->drawableVec_[static_cast<int32_t>(RSDrawableSlot::CHILDREN)]); in DumpDrawableTree()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/ |
H A D | rs_drawable_test.cpp | 96 for (int8_t i = 0; i < static_cast<int8_t>(RSDrawableSlot::MAX); i++) { 122 drawableVec[static_cast<size_t>(RSDrawableSlot::BACKGROUND_FILTER)] = bgDrawable; 124 drawableVec[static_cast<size_t>(RSDrawableSlot::PIXEL_STRETCH)] = stretchDrawable; 170 drawableVec[static_cast<size_t>(RSDrawableSlot::CONTENT_BEGIN)] = drawable; 171 drawableVec[static_cast<size_t>(RSDrawableSlot::BG_PROPERTIES_BEGIN)] = drawable; 172 drawableVec[static_cast<size_t>(RSDrawableSlot::FG_PROPERTIES_BEGIN)] = drawable; 205 drawableVec[static_cast<size_t>(RSDrawableSlot::CONTENT_BEGIN)] = drawable; 208 drawableVec[static_cast<size_t>(RSDrawableSlot::CONTENT_BEGIN)] = nullptr; 212 drawableVec[static_cast<size_t>(RSDrawableSlot::BG_PROPERTIES_BEGIN)] = nullptr; 216 drawableVec[static_cast<size_t>(RSDrawableSlot::FG_PROPERTIES_BEGIN)] = nullptr; [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/ |
H A D | rs_drawable.h | 34 enum class RSDrawableSlot : int8_t { enum 127 using Vec = std::array<Ptr, static_cast<size_t>(RSDrawableSlot::MAX)>; 150 static std::unordered_set<RSDrawableSlot> CalculateDirtySlots( 154 const RSRenderNode& node, Vec& drawableVec, std::unordered_set<RSDrawableSlot>& dirtySlots);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_node.cpp | 1990 … auto slot = isForeground ? RSDrawableSlot::COMPOSITING_FILTER : RSDrawableSlot::BACKGROUND_FILTER; in GetFilterDrawable() 2552 std::unordered_set<RSDrawableSlot> dirtySlotShadow; in UpdateDrawableVecV2() 2553 dirtySlotShadow.emplace(RSDrawableSlot::SHADOW); in UpdateDrawableVecV2() 2620 auto AppendDrawFunc = [&](RSDrawableSlot end) -> int8_t { in UpdateDisplayList() 2636 AppendDrawFunc(RSDrawableSlot::OUTLINE); in UpdateDisplayList() 2652 AppendDrawFunc(RSDrawableSlot::BG_RESTORE_BOUNDS); in UpdateDisplayList() 2666 AppendDrawFunc(RSDrawableSlot::RESTORE_FRAME); in UpdateDisplayList() 2677 AppendDrawFunc(RSDrawableSlot::RESTORE_BLENDER); in UpdateDisplayList() 2679 AppendDrawFunc(RSDrawableSlot::RESTORE_ALL); in UpdateDisplayList() 4187 std::vector<RSDrawableSlot> todele; in OnSync() [all …]
|
H A D | rs_effect_render_node.cpp | 246 UpdateDirtySlotsAndPendingNodes(RSDrawableSlot::BACKGROUND_FILTER); in MarkFilterHasEffectChildren()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_render_node_test2.cpp | 243 RSDrawableSlot slot = RSDrawableSlot::SHADOW; 259 RSDrawableSlot slot = RSDrawableSlot::OUTLINE; 275 RSDrawableSlot slot = RSDrawableSlot::PIXEL_STRETCH; 1040 node.drawableVec_[static_cast<uint32_t>(RSDrawableSlot::BACKGROUND_FILTER)] = filterDrawable; 1070 RSDrawableSlot slot = RSDrawableSlot::SHADOW; 1110 RSDrawableSlot slot = RSDrawableSlot::BACKGROUND_FILTER;
|
H A D | rs_render_node_test.cpp | 1107 node->dirtySlots_.emplace(RSDrawableSlot::BACKGROUND_FILTER); 1111 node->drawableVec_[static_cast<uint32_t>(RSDrawableSlot::BACKGROUND_FILTER)] = drawableFilter; 1153 node.UpdateDirtySlotsAndPendingNodes(RSDrawableSlot::MASK); 2505 RSDrawableSlot slot = RSDrawableSlot::SHADOW;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_render_node_drawable_adapter_test.cpp | 203 renderNode->drawableVec_[static_cast<int32_t>(RSDrawableSlot::CHILDREN)] = childDrawable; 243 …renderNode->drawableVec_[static_cast<int32_t>(RSDrawableSlot::CHILDREN)] = std::move(rSChildrenDra… 245 …renderNode->drawableVec_[static_cast<int32_t>(RSDrawableSlot::FOREGROUND_STYLE)] = std::move(foreg…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_render_node.h | 540 std::shared_ptr<DrawableV2::RSFilterDrawable>& filterDrawable, RSDrawableSlot slot); 866 void UpdateDirtySlotsAndPendingNodes(RSDrawableSlot slot); 1103 std::unordered_set<RSDrawableSlot> dirtySlots_;
|