dotnet / dotnet/wpf

WPF DropShaddowEffect consumes a lot of GPU resources

Open
#9,300 1 comment 1 reaction 0 assignees View on GitHub
Investigate
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/WPF-DropShaddowEffect-consumes-a-lot-of-/10572000)._

---
I'm using an animation effect in my WPF window. GPU usage reaches 25%, sometimes reaching 50%-60%
![image](https://github.com/dotnet/wpf/assets/105205215/52419d69-7a39-45f7-9e1c-ded60cdc1861)

When I delete the DropShadowEffect in the code and run it again, the GPU usage is as follows

![image](https://github.com/dotnet/wpf/assets/105205215/d69c506c-aaaf-4bdc-a708-7be60fd0ffe2)
![image](https://github.com/dotnet/wpf/assets/105205215/ce58e798-cd3e-4f17-8375-6dddb2822ca7)

**Does anyone know how to solve it? Thank you.**

---
### Original Comments

#### Feedback Bot on 1/26/2024, 11:20 AM:

(private comment, text removed)
#### Feedback Bot on 5/7/2024, 11:38 AM:

(private comment, text removed)

---
### Original Solutions
(no solutions)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.