Searched refs:dirtySlots (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_drawable.cpp | 509 std::unordered_set<RSDrawableSlot>& dirtySlots) in MarkAffectedSlots() argument 513 dirtySlots.emplace(slot); in MarkAffectedSlots() 523 std::unordered_set<RSDrawableSlot> dirtySlots; in CalculateDirtySlots() local 530 dirtySlots.emplace(dirtySlot); in CalculateDirtySlots() 543 dirtySlots.emplace(RSDrawableSlot::SHADOW); in CalculateDirtySlots() 548 dirtySlots.emplace(RSDrawableSlot::CONTENT_STYLE); in CalculateDirtySlots() 553 if (dirtySlots.count(RSDrawableSlot::FRAME_OFFSET)) { in CalculateDirtySlots() 558 if (dirtySlots.count(RSDrawableSlot::BORDER)) { in CalculateDirtySlots() 568 if (dirtySlots.count(RSDrawableSlot::PIXEL_STRETCH)) { in CalculateDirtySlots() 576 return dirtySlots; in CalculateDirtySlots() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_property_drawable_test.cpp | 97 std::unordered_set<RSPropertyDrawableSlot> dirtySlots; variable 98 RSPropertyDrawable::UpdateDrawableVec(content, drawableVec, dirtySlots); 99 EXPECT_EQ(dirtySlots.empty(), true); 125 dirtySlots.emplace(slot); 127 RSPropertyDrawable::UpdateDrawableVec(content, drawableVec, dirtySlots); 128 EXPECT_EQ(dirtySlots.empty(), false); 130 dirtySlots.clear(); 131 dirtySlots.emplace(RSPropertyDrawableSlot::BG_RESTORE_BOUNDS); 133 EXPECT_EQ(dirtySlots.empty(), false); 135 dirtySlots.emplace(RSPropertyDrawableSlot::CLIP_TO_BOUNDS); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_property_drawable.cpp | 270 std::unordered_set<RSPropertyDrawableSlot> dirtySlots; in GenerateDirtySlots() local 277 dirtySlots.emplace(it->second); in GenerateDirtySlots() 284 dirtySlots.emplace(RSPropertyDrawableSlot::PIXEL_STRETCH); in GenerateDirtySlots() 287 dirtySlots.emplace(RSPropertyDrawableSlot::BORDER); in GenerateDirtySlots() 290 dirtySlots.emplace(RSPropertyDrawableSlot::OUTLINE); in GenerateDirtySlots() 297 dirtySlots.emplace(RSPropertyDrawableSlot::BORDER); in GenerateDirtySlots() 301 dirtySlots.emplace(RSPropertyDrawableSlot::OUTLINE); in GenerateDirtySlots() 304 if (dirtySlots.count(RSPropertyDrawableSlot::BLEND_MODE)) { in GenerateDirtySlots() 313 return dirtySlots; in GenerateDirtySlots() 319 if (dirtySlots.empty()) { in UpdateDrawableVec() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/ |
H A D | rs_drawable_test.cpp | 79 …std::unordered_set<RSDrawableSlot> dirtySlots = RSDrawable::CalculateDirtySlots(dirtyTypes, drawab… variable 86 ASSERT_FALSE(RSDrawable::UpdateDirtySlots(node, drawableVec, dirtySlots)); 88 ASSERT_TRUE(RSDrawable::UpdateDirtySlots(node, drawableVec, dirtySlots));
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/ |
H A D | rs_drawable.h | 154 const RSRenderNode& node, Vec& drawableVec, std::unordered_set<RSDrawableSlot>& dirtySlots);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_property_drawable.h | 130 std::unordered_set<RSPropertyDrawableSlot>& dirtySlots);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_node.cpp | 2518 auto dirtySlots = RSPropertyDrawable::GenerateDirtySlots(GetRenderProperties(), dirtyTypes_); in UpdateDrawableVec() local 2520 UpdateDrawableVecInternal(dirtySlots); in UpdateDrawableVec() 2522 context->PostTask([weakPtr = weak_from_this(), dirtySlots]() { in UpdateDrawableVec() 2524 node->UpdateDrawableVecInternal(dirtySlots); in UpdateDrawableVec() 2533 auto dirtySlots = RSDrawable::CalculateDirtySlots(dirtyTypes_, drawableVec_); in UpdateDrawableVecV2() local 2534 if (dirtySlots.empty()) { in UpdateDrawableVecV2() 2539 bool drawableChanged = RSDrawable::UpdateDirtySlots(*this, drawableVec_, dirtySlots); in UpdateDrawableVecV2() 2546 if (drawableChanged || dirtySlots.count(RSDrawableSlot::CLIP_TO_BOUNDS)) { in UpdateDrawableVecV2() 2560 dirtySlots_ = std::move(dirtySlots); in UpdateDrawableVecV2() 2562 dirtySlots_.insert(dirtySlots.begin(), dirtySlots.end()); in UpdateDrawableVecV2() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_base_render_node_test.cpp | 343 std::unordered_set<RSPropertyDrawableSlot> dirtySlots; variable 344 node->UpdateDrawableVecInternal(dirtySlots); 347 dirtySlots.insert(RSPropertyDrawableSlot::BOUNDS_MATRIX); 349 node->UpdateDrawableVecInternal(dirtySlots);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_render_node.h | 1079 void UpdateDrawableVecInternal(std::unordered_set<RSPropertyDrawableSlot> dirtySlots);
|