* FEATURES:
a) Implement Hardware acceleration for critical function like DrawAlpha {Blend},
DrawSub and DrawAdd for both way DXIMAGELIST and DIRECTDRAWSURFACE with rotation too.
b) Automatic adjustement for texture size different 2^n.
c) Minimum current source code change, all accelerated code added into:
DXDraw.BeginScene;
//code here
DXDraw.EndScene;
d) DelphiX facade continue using still.
* HOW TO USE
a) Design code like as DelphiX and drawing routine put into
DXDraw.BeginScene;
//code here
DXDraw.EndScene;
b) setup options in code or property for turn-on acceleration like
if NOT (doDirectX7Mode in DXDraw1.Options) Then
DXDraw1.Options := DXDraw1.Options + [doDirectX7Mode];
if NOT (doHardware in DXDraw1.Options) then
DXDraw1.Options := DXDraw1.Options + [doHardware];
if NOT (do3D in DXDraw1.Options) then
DXDraw1.Options := DXDraw1.Options + [do3D];
if doSystemMemory in DXDraw1.Options then
DXDraw1.Options := DXDraw1.Options - [doSystemMemory];
* KNOWN BUGS:
1/ On some adapteurs no good shows transparent area when DIRECTDRAWSURFACE is
called in 16<-32 bit color deepth (16 bitcount typical).
2/ Functions Fill- and WaveX- are unsupported now.
Bookmarks