Hello everyone, I created a simple project that uses Camera and Effects with FMX
unfortunately this project is generating some unknown runtime errors
I can't find the root of the problem
I added in the DPR file all FMX options
1. Slow processing when GlobalUseGPUCanvas = false 2. When I use the effects after a while it crashes, it does not allow to stop the camera and etc.
To generate the different errors you can uncomment the lines of the DPR file. 1. Activate the camera. 2. Click on effects. 3. Use the effects options. 4. Disable the camera. 5. Repeat steps 1 through 4.
DPR file lines to uncomment.
// GlobalUseHWEffects := False;
// GlobalDisableFocusEffect := True;
// GlobalUseDX := False;
// GlobalUseDXInDX9Mode := True;
// GlobalUseDXSoftware := True;
// GlobalUseDirect2D := False;
// GlobalUseGDIPlusClearType := False;
// GlobalUseGPUCanvas := True;
// GlobalUseDX10 := False;
// GlobalUseDX10Software := False;
I added FastMM4 is commented in the DPR file
// FastMM4,
As you use the effects combining with DPR file options uncomment the different lines kinds of problems appear.
I noticed that the amount of camera FPS gets smaller at times as well.
I am using Windows 7 SP1 and Delphi 10.3.2, errors appear in Win 32/64 Debug and Release environment.
Could someone help me locate these errors for me to create a ticket in the quality portal of embarcadero?
Thank you all.
[Download]
Camera.zip