I am having a problem with my GUI. My GUI has several parts. The first is for an image (from 500x500 to 3000x3000, and it should be updated up to 4 times per second). The second is the main menu. The third has buttons with settings for the image. I don’t show everyone at once, I look through several menus and I show only those who are visible. (An example of otpions is the pixelation of an image) I display an image inside a viewport with a size of 800x800 pixels. I am stretching the image inside the box using Stretch="{Binding Path=StretchMode}"
The image I get is a kind of stream. I get several images every second.
Now, when I show the image, the first part of the GUI works fine (regardless of image size), but others sometimes have a heavy frame. I will give some examples:
Example 1:
Image size of 500x500 pixels. I can work without framedrop, and all gui is updated correctly.
Example 2:
Image size of 1500x1500 pixels. I can work without Framedrop and all gui updates are correct.
Example 3:
Image size 2500x2500 pixels. The image updates quickly, but the rest of the GUI has framedrop from 60 frames per second to fps, and sometimes even up to 1 frame per second.
My thoughts on this issue:
- Hardware is at its limit. But a look at the analysis of Taskmanager and CPU / RAM with Visual Studios says that everything is in order.
- , 3000x3000 4 . ( hdd-drive) 3000x3000 (Same Datatype) .
- . 5 . - .
- Microsoft Prism . , , . ( , , Change , )
- . , . (BitmapSource, BitmapImage WriteableBitmap)
- . .
, , GUI .
, .
.
64- Windows 7 64- Windows 8.1 ( Windows 10)
. (Intel i7-4702MQ @2,2 , 8 DDR, Intel ) workpc ( : Intel Xeon 3,5 , 128 DDR4 Titan X 4k)