[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] GSoC #07 VBE double buffering (vs r1885)
From: |
Andy Goth |
Subject: |
Re: [PATCH] GSoC #07 VBE double buffering (vs r1885) |
Date: |
Sun, 5 Oct 2008 14:57:20 -0500 (CDT) |
"Colin D Bennett" <address@hidden> wrote:
> First make it work, then make it rock.
I certainly do appreciate that, but...
> my plan is to avoid complicated dirty-region repaint strategies
> at first.
Requiring full-screen repaints is an architectural design that might need
rework to undo later. Or might not, depending on how you implement it. The
interim approach you choose now should be informed by foresight.
Full-screen repaint approach that will require rework later:
- One function draws everything in sequence. It gets called every frame.
Full-screen repaint approach that will be easy to integrate into a partial
update scheme:
- A separate function exists for drawing each logical unit of the screen.
- Every frame, one function calls all the separate functions in sequence.
Or something like that.
--
Andy Goth | http://andy.junkdrome.org/
address@hidden,openverse.com}