{\r
class Method4 : IBench\r
{\r
- public int fillAreaSize { get { return bmpSize.Width * bmpSize.Height * Form1.ExecuteCountPerOneset; } }\r
+ public int fillAreaSize { get { return bmpSize.Width * bmpSize.Height * this.loopCount; } }\r
public string methodName { get { return "D2DBitBlt"; } }\r
+ public int loopCount { get; set; }\r
\r
D2D1.Factory Factory2D;\r
DW.Factory FactoryDWrite;\r
public void Exec()\r
{\r
render.BeginDraw();\r
- for (int i = 0; i < Form1.ExecuteCountPerOneset; i++)\r
+ for (int i = 0; i < this.loopCount; i++)\r
{\r
SharpDX.RectangleF rect = new SharpDX.RectangleF();\r
rect.Left = rnd.Next(ClientSize.Width);\r