Commit Graph

90 Commits

Author SHA1 Message Date
doursse 219831980f * Remove Windows code in evas_module.c and use evilness instead
* Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc


SVN revision: 34024
2008-03-14 16:49:49 +00:00
doursse d84ab190e6 disable the creation and installation of the static lib of
the modules by passing the disable-static tag to libtool


SVN revision: 33739
2008-02-13 07:55:24 +00:00
Gustavo Sverzut Barbieri e6db6ad10b Fix bug with out-of-screen paiting in software_16
Things like expedite's "Image Qualit Scale" that blited with x,y
negative were giving incorrect clip rectangle.


SVN revision: 33326
2008-01-02 20:58:29 +00:00
Gustavo Sverzut Barbieri 3a64b46646 Fix possible memory leak with software_16.
If image data is not loaded at all, engine must free associated 32 bit
structure.


SVN revision: 32781
2007-11-19 22:27:02 +00:00
doursse e21fb0f122 autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32337
2007-11-04 09:21:50 +00:00
Gustavo Sverzut Barbieri 46cf9a5921 Be lighter on 'inline'
SVN revision: 32219
2007-10-30 21:06:08 +00:00
Gustavo Sverzut Barbieri a807f3805b Missing rename.
SVN revision: 32213
2007-10-30 13:48:44 +00:00
Gustavo Sverzut Barbieri cf13e7ffc3 Fix access of unaligned memory.
SVN revision: 32211
2007-10-29 22:16:41 +00:00
Gustavo Sverzut Barbieri 56bd752741 Damn typo...
SVN revision: 32209
2007-10-29 21:03:08 +00:00
Gustavo Sverzut Barbieri f553a7fab5 Minor cleanup on software_16, evas_soft16_rectangle.c
SVN revision: 32175
2007-10-27 21:06:58 +00:00
Gustavo Sverzut Barbieri 55f6c5f046 Add software_16 cache.
SVN revision: 32169
2007-10-26 18:53:39 +00:00
Gustavo Sverzut Barbieri 3209b5f4e8 Fix image alpha_set() and fix compiler warning, minor fixes.
SVN revision: 32165
2007-10-25 22:09:49 +00:00
Gustavo Sverzut Barbieri 8ee9f51f5b Revert last patch (Simplify image alpha usage.), it was producing nasty artifacts.
SVN revision: 32164
2007-10-25 20:18:02 +00:00
Gustavo Sverzut Barbieri 00cd7a6404 Simplify image alpha usage.
Values are now in 0-32 (inclusive), so we must check for 32 as the
opaque value. Now it's more consistent.


SVN revision: 32163
2007-10-25 18:56:23 +00:00
Gustavo Sverzut Barbieri e12c298619 Line, Polygon and minor fixes for software_16.
Line is a complete rewrite based on my university works. It's much
cleaner than the engine/common and works better (the later is
producing weird results, I still have to debug why), but I don't
provide anti-aliased drawings.

Polygon is almost the same code, with minor changes to draw the spans
as soon as possible and then no malloc/free is required for each of
them.

Minor fixes to remove unused variables, gotos...


SVN revision: 32161
2007-10-25 16:17:19 +00:00
Gustavo Sverzut Barbieri dfcde9bcaa Major rework of blit operations to use pre-multiplied colors.
I wrote the first version thinking on regular, non-pre multiplied
colors, but raster pointed out that all color data is pre-multiplied
inside Evas. I was blaming 16bpp for low quality graphics, but it
turned out that was an error with my usage.

If you experienced grayish colors when using transparency, or white
turning into black while fading out, then these should be fixed now.

Now everything looks better, brighter! :-)  Expedite shows no
performance regressions, but I'd like to see more tests on
that. Please report any issue.


SVN revision: 32037
2007-10-10 19:22:26 +00:00
doursse 2898660d8a 16 bits software directdraw engine. Mainly for win ce users, I guess
SVN revision: 32020
2007-10-08 19:08:42 +00:00
Gustavo Sverzut Barbieri c7c3586c9e Damn, wrong copy&paste fix.
SVN revision: 31750
2007-09-17 21:11:43 +00:00
Gustavo Sverzut Barbieri 06c6b24a3e Implement extra operations for image.
I tried to get those right, but I'd like someone else to review these.


SVN revision: 31150
2007-08-03 23:11:56 +00:00
Carsten Haitzler d6f9cc797e adrunko's precise event patch
SVN revision: 30939
2007-07-23 14:22:57 +00:00
Gustavo Sverzut Barbieri f2c60125f1 Fix CPP warnings about DM_* macros, do loop unrolling for dither mask processing.
SVN revision: 30918
2007-07-20 17:29:31 +00:00
Gustavo Sverzut Barbieri 81ebda3087 Use dither mask when importing images.
SVN revision: 30913
2007-07-20 00:18:07 +00:00
Carsten Haitzler 6c167c3a6d cedric's sdl patch.
SVN revision: 30845
2007-07-16 07:25:35 +00:00
Gustavo Sverzut Barbieri 7643c66325 Fix compile time CPU detection on ARM
SVN revision: 30795
2007-07-13 15:19:08 +00:00
Gustavo Sverzut Barbieri c204c6cad0 Ensure data is loaded when data_get() is called.
SVN revision: 30784
2007-07-12 21:51:36 +00:00
Gustavo Sverzut Barbieri 06b389a9e3 fix evas software 16 engine build and to add the missing image_data_get method.
By Andre Magalhaes <andrunko/gmail.com>


SVN revision: 30705
2007-07-10 15:01:52 +00:00
ningerso 47b408af54 Initialize the error code before returning.
SVN revision: 30483
2007-06-28 14:36:50 +00:00
ningerso fb53f7e913 Prevent a segv when setting a image path to NULL.
SVN revision: 30479
2007-06-28 03:32:58 +00:00
Gustavo Sverzut Barbieri ac04de0ffd Name clip structure, make it simple to save and restore clip info.
SVN revision: 30423
2007-06-21 20:10:13 +00:00
Gustavo Sverzut Barbieri 10258eaf02 Clean up structure, split image operations into files.
SVN revision: 30420
2007-06-21 19:57:56 +00:00
Gustavo Sverzut Barbieri 807b2d1912 Implement image scale.
SVN revision: 30419
2007-06-21 19:56:32 +00:00
Gustavo Sverzut Barbieri b14f445960 Cleanup, remove macros and replace with static inline functions, this also provides soft16_pt_*() functions to paint individual pixels.
SVN revision: 30414
2007-06-20 20:50:34 +00:00
Gustavo Sverzut Barbieri ca8f71f595 Clean up structure, split into files.
SVN revision: 30413
2007-06-20 19:10:15 +00:00
Gustavo Sverzut Barbieri 0cf249a46f Add font/text support for software_16.
SVN revision: 30408
2007-06-19 22:52:12 +00:00
Gustavo Sverzut Barbieri 4f1b4fb1aa Improve _soft16_scanline_fill_transp_solid(), with bugfix.
Author: Gustavo Sverzut Barbieri <barbieri@gmail.com>


SVN revision: 30407
2007-06-19 22:51:39 +00:00
Gustavo Sverzut Barbieri 02dbcb720a More image blend and rectangle.
Image blend not supports alpha and colorization.
Rectangle operations are now implemented.


SVN revision: 30394
2007-06-18 16:50:37 +00:00
Gustavo Sverzut Barbieri f70b4e9dcf Clean up and optimize, step 1: unscaled operations.
SVN revision: 30391
2007-06-18 16:48:34 +00:00
Carsten Haitzler c303f04048 add an engine idle flush
SVN revision: 30355
2007-06-17 02:56:59 +00:00
Sebastian Dransfeld 7b3c84b267 ignore++
SVN revision: 29887
2007-05-06 15:50:31 +00:00
Carsten Haitzler 16df9e0047 add in the work I did for a 16bit engine - for now, a dormant project until i
can be convinced it provides real and significant speedups that warrant the
significant effort.


SVN revision: 29770
2007-04-29 15:45:40 +00:00