mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 09:10:54 +00:00
蓝黄同步
Signed-off-by: qiaoning <qiaoning8@h-partners.com>
This commit is contained in:
parent
4e1bf02be9
commit
c1ecc25c3e
@ -923,7 +923,12 @@ void RSPropertiesPainter::GetPixelStretchDirtyRect(RectI& dirtyPixelStretch,
|
||||
void RSPropertiesPainter::GetForegroundEffectDirtyRect(RectI& dirtyForegroundEffect,
|
||||
const RSProperties& properties, const bool isAbsCoordinate)
|
||||
{
|
||||
auto& foregroundFilter = properties.GetForegroundFilterCache();
|
||||
std::shared_ptr<RSFilter> foregroundFilter = nullptr;
|
||||
if (RSProperties::IS_UNI_RENDER) {
|
||||
foregroundFilter = properties.GetForegroundFilterCache();
|
||||
} else {
|
||||
foregroundFilter = properties.GetForegroundFilter();
|
||||
}
|
||||
if (!foregroundFilter || foregroundFilter->GetFilterType() != RSFilter::FOREGROUND_EFFECT) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user