[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XAAES slow?



Hi! :)

Odd Skancke wrote:
all. If, however, you need to reformat the content of the window, like a
browser or documentprocessor, you can have XaAES send redraws for the
whole window by using wind_set(handle, WF_OPTS).

Not an option as the actual redraw is also slow on Atari HW and that is why I always make sure to minimize redrawn areas.

> This saves the overhead of you having to send yourself WM_REDRAWS.

Might have this effect some time...

 I still dont get why wind_calc() is needed here. What does wind_calc()
provide that wind_get(handle, WF_CURRXYWH/WF_WORKXYWH) doesnt? I think
all the API's you need to do the above is already there.

The problem is that you need to do wind_set( CURR ) before you do wind_get( WORK ). Now it would not be a problem when the wind_set() would not have immediate visual effect so that I could go back simply without noticing anything.

You know, sometimes one need to do computations based on WORK even in function that get CURR (event handlers) before it actually does wind_set( ...) /if it is designed to ever do/.

Best Regards

Standa

PS: On my way out at this moment... talk to you in July.