home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!rrz.uni-koeln.de!not-for-mail
- From: aeg03@rrz.uni-koeln.de (Jan T. Kim)
- Newsgroups: comp.sys.atari.st.tech
- Subject: Lazy AES (wase: Sending objc_draw to a memory buffer)
- Date: 16 Dec 1992 11:41:25 +0100
- Organization: Regional Computing Center, University of Cologne
- Lines: 48
- Message-ID: <1gn14lINN1095@rs1.rrz.Uni-Koeln.DE>
- References: <memo.812189@cix.compulink.co.uk>
- Reply-To: kim@vax.mpiz-koeln.mpg.dbp.de
- NNTP-Posting-Host: rs1.rrz.uni-koeln.de
-
- In <memo.812189@cix.compulink.co.uk> apelled@cix.compulink.co.uk (Adam Pelled) writes:
-
- > Incidentally. Has anyone else noticed that when a window is moved back
- >into full view that the redaw is for all the work area. A bit lazy of the
- >AES methinks.
-
- Yes, I noted that, and it bothers me quite a lot. I'm not that
- brilliant a programmer that I can redraw rectangles in a split
- second (which could have to do with the stuff I'm drawing, too
- -- should I start bitching about having no clean way of drawing
- VDI output to a virtual screen from which I then could blit),
- therefore it sometimes can really drive me crazy. The solution
- I've done for myself is making redraw routines interruptible by
- pressing <Esc>, which is, of course, a kludge...
- But what's even more foolish about the AES, if there's a window,
- and only a fraction of a slider is overlapped by another window,
- and now the first window is topped, the AES will send the redraw
- event for the full workspace of that window, although no part of
- it needs to be redrawn. I'd really appreciate if this could be
- optimized.
-
- > Also the rectangle list is not exactly optimum. i realise it must be
- >recursive and that there must be some kind of inheritance, but it seems a
- >shame that it couldn't be merged by the OS and save the overhead for all the
- >apps having to redraw too many rectangles. With losts of windows this gets to
- >be quite drastic. Try an experiment and draw a box outline in a multi window
- >environment you'll see what i mean.
-
- Do you mean by this that the AES should automatically restore
- window parts that become uncovered again? It seems to me that
- there is a justification for having the programm redrawing
- windows rather than the AES, because the algorithms and
- information for redrawing the windows must be buried somewhere in
- the program anyway, while the best the AES could do is to create
- a bitmap somewhere containing the whole contents of the window
- and blitting the visible parts from there to the appropriate
- rectangles of the window. If VDI output redirection was possible,
- one could redirect stuff to there and write a library for
- displaying such a virtual screen in a window once, which would,
- from then on, be just as good as if the AES maintained that
- screen and took care of the redrawing.
-
- Greetinx, Jan
-
- +- Jan Kim -- X.400: S=kim;OU=vax;O=mpiz-koeln;P=mpg;A=dbp;C=de -+
- | Internet: kim@vax.mpiz-koeln.mpg.dbp.de |
- | |
- *----=< hierarchical systems are for files, not for humans >=-----*
-