[cp-patches] RFC: java2d benchmarking continued

Francis Kung fkung at redhat.com
Tue Jun 20 16:09:02 UTC 2006


Hi,

Attached is a patch for a GUI to the java2d benchmarker.

Francis

2006-06-20  Francis Kung  <fkung at redhat.com>

        * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
        Changed many members to be protected.
	(J2dBenchmark): moved to init() instead.
	(init): New method.
	(main): Call init() after creating object
	(testComplete): New method.
	(test_drawArc): Use maxTests varialbe instead of constant.
	(test_drawCubicCurve): Likewise.
	(test_drawEllipse): Likewise.
	(test_drawGeneralPath): Likewise.
	(test_drawImage): Likewise.
	(test_drawLine): Likewise.
	(test_drawQuadCurve): Likewise.
	(test_drawRectangle): Likewise.
	(test_drawRoundRectangle): Likewise.
	(test_drawTransparentImage): Likewise.
	(test_fillArc): Likewise.
	(test_fillEllipse): Likewise.
	(test_fillGeneralPath): Likewise.
	(test_fillRectangle): Likewise.
	(test_fillRoundRectangle): Likewise.
	(GraphicsTest.runSetNoClipping): Added runCount parameter.
	(GraphicsTest.runSetWithClipping): Likewise.
	(GraphicsTest.runSetZeroClipping): Likewise.
	(GraphicsTest.run): Added checks for more option flags.
        * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
        New file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: benchmark.diff
Type: text/x-patch
Size: 34747 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060620/e300a518/benchmark-0001.bin


More information about the Classpath-patches mailing list