--
Hi Laurent,I noticed that in marlin-graphics v0.2.2 all graphics operations are redirected to Marlin, even clearRect and fillRect. Since marlin does not support drawing without antialiasing, it has to be turned on, causing a slight performance degradation. I did some quick-and-dirty benchmarks and it turned out that both clearRect and fillRect are performed about 20% slower in v0.2.2 than in v0.2.1.
It would be nice if MarlinGraphics2D delegated all operations to the underlying graphics when AA is turned off. There are some use-cases when drawing without AA would definitely pay off (e.g. we are drawing a full-screen heat map consisting of tiny squares of different color).
Changes: