[AD] [WIN] Page flipping code rewrite (1/2) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
I just applied the following big patch for the Windows port:
http://www.multimania.com/ebotcazou/dev/win_ddraw.zip
It completely revamps the DirectDraw-based graphics subsystem: instead of
dealing with a mix of Allegro BITMAPs and raw DirectDraw surfaces, it
defines an intermediate data structure (struct DDRAW_SURFACE) on which the
internal routines work. This has the nice side-effect of greatly simplifying
the page flipping/triple buffering code for the three graphics drivers, and
ensures that the 'screen' bitmap always points to the... screen when page
flipping/triple buffering (this was not the case before).
It doesn't modify the current (broken) logic of the pf/tb code at all.
- Eric