D GUI Framework (responsive grid teaser)
turkeyman at gmail.com
Wed May 22 17:01:39 UTC 2019
On Tue, May 21, 2019 at 12:55 PM Robert M. Münch via
Digitalmars-d-announce <digitalmars-d-announce at puremagic.com> wrote:
> On 2019-05-21 16:51:43 +0000, Manu said:
> >> The screencast shows a responsive 40x40 grid. Layouting the grid takes
> >> about 230ms, drawing it about 10ms.
> > O_o ... I feel like 230 *microseconds* feels about the right time, and
> > ~100 microseconds for rendering.
> I don't think that's fast enough :-)
It probably is :P
> >> So this gives us 36 FPS which is IMO pretty good for a desktop app target
> > Umm, no. I would expect 240fps is the modern MINIMUM for a desktop
> > app, you can easily make it that fast.
> ;-) Well, they key is to layout & render only changes. A responsive
> grid is an evil test-case as this requires a full cylce on every frame.
The worst case defines your application performance, and grids are
You can make a UI run realtime ;)
I mean, there are video games that render a complete screen full of
zillions of high-detail things every frame!
More information about the Digitalmars-d-announce