> From: Ralph Versteegen <[email protected]>
> Sent: Saturday, January 09, 2010 12:09 PM
> 
> 2010/1/8  <[email protected]>:
> > jay
> > 2010-01-07 18:56:04 -0800 (Thu, 07 Jan 2010)
> > 195
> > Adjusted backend test gfx_getversion() to require a bitwise OR-ing with 1 
> > as the supported version. Added new function gfx_LoadDllBackendProcs() as a 
> > generalization of gfx_directx_setprocptrs().
> > ---
> > U   wip/backends.bas
> 
> But that scheme we limit us to changing the version 32 times :)

I'm hoping we don't need to change interfaces more than once (in which case we 
have version 1 and 2). What else is the backend supposed to do besides render 
an ohr-rendered image to the screen? Besides, with each revision aligned with a 
release, I don't think it'll matter in 32+ years.

> The new interface is an exception; generally it won't be possible to
> support two versions at once. We could do:
> 
> 1: current interface
> 2: supports both current and new
> 3: new interface
> 4: next revision

For the next complete release (not a "Ypsiliform + tourniquet" in the event of 
an emergency bug fix), version 2 should be the accepted interface, not version 
1.

You're right, though. There's no need to support both old and new interfaces in 
the same backend. Perhaps the backend test should just test for 1, not a 
bitwise OR with 1 after all.

Then we can allow the integer to register 4billion interface revisions, lol.



_______________________________________________________
Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting
              http://www.doteasy.com 
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to