D GUI Framework (responsive grid teaser)
Robert M. Münch
robert.muench at saphirion.com
Tue May 21 14:04:29 UTC 2019
On 2019-05-19 21:21:55 +0000, Ola Fosheim Grøstad said:
> Interesting, is each cell a separate item then?
>
> So assuming 3GHz cpu, we get 0.23*3e9/1600 = 431250 cycles per cell?
>
> That's a lot of work.
Here is a new screencast:
https://www.dropbox.com/s/ywywr7dp5v8rfoz/Bildschirmaufnahme%202019-05-21%20um%2015.20.59.mov?dl=0
I optimized the whole thing a bit, so now a complete screen with
layouting, hittesting, drawing takes about 28ms, that's 8x faster than
before. Drawing is still around 10ms, layouting around 16ms, spatial
index handling 2ms.
So this gives us 36 FPS which is IMO pretty good for a desktop app
target. There might be some 2-3ms speed-up still possible but not worth
the effort yet.
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
More information about the Digitalmars-d-announce
mailing list