[Bug 421] Implement a DIB engine

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 24 16:36:14 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=421


max at veneto.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17317|0                           |1
        is obsolete|                            |




--- Comment #99 from max at veneto.com  2009-01-24 16:36:11 ---
Created an attachment (id=18965)
 --> (http://bugs.winehq.org/attachment.cgi?id=18965)
Starting DIB engine - patch over 24/01/2009 git tree

Updated DIB Engine, for testing purposes.
Just fetch current git tree (I made it on 24/01/2009  git tree), patch it
(unzip the attached file, then  patch -p1 < DIBENGINE.patch), configure and
make.

Some notes :

1) The engine is DISABLED by default. It can be enabled with environment
variable or registry entry.

Environment var :

export WINEDIB=ON  (or TRUE  or ENABLE  or ENABLED)   enables it
export WINEDIB=OFF (or FALSE or DISABLE or DISABLED)  disables it

Registry entry :

HKCU/Software/Wine/DIB Engine/Enable = Y  enables it
HKCU/Software/Wine/DIB Engine/Enable = N  disables it

Environment variable takes precedence over registry entry.

2) Text support is still trivial, but it can show the speed improvement on
autocad truetype fonts. On 2005 it works quite well, on 2008 it has some
strange behaviour, but still usable to some extents

3) Blitting is only partial implemented, as it doesn't do ROP and StretchBlt is
forwarded to BitBlt. Also, the algorithm is trivial and absolutely not
optimized.

4) Most of graphics primitives are just stubbed, as they aren't needed in
Autocad I haven't implemented them. It should be trivial, anyways.

5) I'm not sure about many other stuffs.... I'll look at them when problems
will arise :-)

Ciao

Max


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list