PiRSquared17 / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
0 stars 0 forks source link

Too many System.Drawing.Region objects created #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In Paint method of class PCamera, PushClip and PopClip methods are called. 
This results in creation of lot of System.Drawing.Region objects. Whenever 
Garbage Collector runs, it takes lot of time to cleanup the objects.
2. Also, shouldn't we call Dispose on Region objects when the job its done?
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
WinCE 5.0, >Net Compack Framework 2.0.

Please provide any additional information below.
Since the GC latency time is high, the camera application pauses for a while 
and then starts working normally. This happens when, the GC runs.

Original issue reported on code.google.com by sandeep....@gmail.com on 21 Mar 2011 at 10:25

GoogleCodeExporter commented 9 years ago
We are using PocketPiccolo assembly v1.0.4097.28264

Original comment by sandeep....@gmail.com on 21 Mar 2011 at 10:26