Commit Graph

644 Commits

Author SHA1 Message Date
Vincent Torri 9329338984 too much _
SVN revision: 44453
2009-12-14 21:45:33 +00:00
Vincent Torri 03851b3791 rename evas_glew_main.c to evas_glew__win32_main.c
SVN revision: 44452
2009-12-14 21:34:04 +00:00
Carsten Haitzler 9ab9065669 clip maps in gl enigne.
SVN revision: 44424
2009-12-13 14:28:07 +00:00
Carsten Haitzler a6dea7be9b find gl symbols runtime - some gl's support the feature but havent
standardised symbols! (bad gl! bad!)



SVN revision: 43857
2009-11-21 10:51:51 +00:00
Carsten Haitzler 16764f7d61 fix font alloc bug!
SVN revision: 43686
2009-11-14 05:08:00 +00:00
Carsten Haitzler de44d8682a fix gles symbols
SVN revision: 43662
2009-11-13 12:31:31 +00:00
Carsten Haitzler 39913889b3 fix gles defs
SVN revision: 43660
2009-11-13 11:30:28 +00:00
Carsten Haitzler 267c9bce6c on paper.. go gles2 too... that should work.. in theory. need to test.
SVN revision: 43659
2009-11-13 08:43:50 +00:00
Carsten Haitzler fcc8e2ec47 fix color stuff.. next.. need to fix z stuff.
SVN revision: 43658
2009-11-13 08:38:12 +00:00
Carsten Haitzler b5d5817a88 fix some valgrind issues
SVN revision: 43657
2009-11-13 08:28:47 +00:00
Carsten Haitzler 7999691b9f and now complex stuff works..... woot!
SVN revision: 43656
2009-11-13 08:19:13 +00:00
Carsten Haitzler fccd2db126 fix disabling of blendipoos!
SVN revision: 43655
2009-11-13 07:30:03 +00:00
Carsten Haitzler 2df6cb92bb del fbo as well if it exists
SVN revision: 43654
2009-11-13 07:25:08 +00:00
Carsten Haitzler e3fcdd8b48 render-to-texture now is used for evas maps... but only simple cases seem to
work. (in ello) elementary stuff seems... less happy. will work on it! also
havent done the gles bits. just desktop gl (first port of call for
doing/testing). the #ifdefs are ther waiting with fixme's



SVN revision: 43653
2009-11-13 07:22:31 +00:00
Lars Munch 3b3872fed2 Fix WinCE engine build
SVN revision: 43628
2009-11-12 13:49:46 +00:00
Carsten Haitzler 6e22b36451 step 1. some map support! images only right now. next. render-to-texture.
invasive change right now.



SVN revision: 43611
2009-11-11 11:39:25 +00:00
Vincent Torri 43fb7ca168 fix compilation of glew engine.
Unfortunately, the computer on which i compile does not
support OpenGL 2.0, so i can't test the engine.

SVN revision: 43610
2009-11-11 11:17:11 +00:00
Cedric BAIL 3450e0aaea * evas: Add support for async callback in Quartz backend.
TODO: Add map support.


SVN revision: 43582
2009-11-09 13:04:41 +00:00
Carsten Haitzler 402103b40b 2 more!
SVN revision: 43490
2009-11-06 15:15:12 +00:00
Carsten Haitzler 09554e67fb remove 2 more types
SVN revision: 43489
2009-11-06 15:14:34 +00:00
Carsten Haitzler 7ecfc00965 fix - remove typedefs of gl stuff. not needed.
SVN revision: 43488
2009-11-06 15:13:29 +00:00
Carsten Haitzler 3fa1906514 better text perf - less geometry data for complex text drawing.
simpler yuv with matrix.



SVN revision: 43487
2009-11-06 11:32:23 +00:00
Carsten Haitzler 7526d0751e add a new npot extn string
SVN revision: 43430
2009-11-03 10:33:37 +00:00
Carsten Haitzler 1545cc226e more map work. now only re-render map surface if size changed or any contents
changed. still renders all, but better now. keeps map surfacer around for
shits and giggles until map unset or object deleted. als be able to set
smooth map and disable alpha (for smart objects)



SVN revision: 43362
2009-10-31 09:08:01 +00:00
Carsten Haitzler 5cc7803ef9 the start of other objects being able to map! text objects work.. tested.
SVN revision: 43323
2009-10-28 08:59:01 +00:00
Mike Frysinger e204104de3 fix typo in previous change -- EVAS_DEFAULT_LOG_COLOR, not EVAS_DEFAULT_COLOR
SVN revision: 43300
2009-10-26 20:42:24 +00:00
Vincent Torri 56f784dacd fix+++
SVN revision: 43250
2009-10-24 17:00:34 +00:00
Vincent Torri d8c4555c36 eng_setup must return 1 on success and 0 on failure
SVN revision: 43248
2009-10-24 15:24:11 +00:00
Carsten Haitzler 4a6609c55f fix copy & paste bug.
SVN revision: 43225
2009-10-23 13:11:23 +00:00
Vincent Torri f60b381333 Fix some warnings. I don't touch gl engines for now
SVN revision: 43221
2009-10-22 22:33:06 +00:00
Gustavo Sverzut Barbieri 4b95e6b078 oops, it's eina_log_domain_unregister... domain, not dom!
SVN revision: 43213
2009-10-22 20:14:05 +00:00
Cedric BAIL 9af68d80da * evas: Add map to SDL also.
SVN revision: 43206
2009-10-22 17:06:06 +00:00
Cedric BAIL 8984a75799 * evas: Cleanup move to eina log.
Patch from Mathieu Taillefumier.


SVN revision: 43200
2009-10-22 15:22:22 +00:00
Carsten Haitzler 6f4b45e296 re-enable yuv shader for 6410.
SVN revision: 43195
2009-10-22 08:55:07 +00:00
Carsten Haitzler c1b3587659 enable npot textures
SVN revision: 43194
2009-10-22 08:53:25 +00:00
Cedric BAIL 4d083a6627 * evas: Make quartz engine compile again.
SVN revision: 43180
2009-10-21 13:09:04 +00:00
Carsten Haitzler 8bf3f50b2c map code... works.. with bugs... but works. visually...
SVN revision: 43163
2009-10-20 16:03:57 +00:00
Carsten Haitzler 8cf88e6b18 and flush there too
SVN revision: 43091
2009-10-15 03:25:22 +00:00
Carsten Haitzler 40f23d3708 flush queu at context change time (use win) just in case
SVN revision: 43090
2009-10-15 01:39:22 +00:00
Vincent Torri ebdf658cfd use fprintf for messages
SVN revision: 43056
2009-10-13 17:31:18 +00:00
Vincent Torri 3414279848 fix compilation on Windows CE
SVN revision: 43055
2009-10-13 17:27:49 +00:00
Carsten Haitzler 017e26b4e0 fix font aligned tex.
SVN revision: 43049
2009-10-13 10:42:03 +00:00
Carsten Haitzler 0b3d755ce9 more work putting shared bits in shared. but context seems to be a big problem.
:(



SVN revision: 43048
2009-10-13 09:40:39 +00:00
Carsten Haitzler 022dc0cb6e disable yuv for 6410 - seems theres a bug., use img shader instead just as a
placeholder.



SVN revision: 43047
2009-10-13 03:12:32 +00:00
Carsten Haitzler 6b1d31e5bc free up stuff on context free. still need to do programs
SVN revision: 43046
2009-10-13 01:44:46 +00:00
Carsten Haitzler f62f738c7e add level 0 as request. dont want overlay.
SVN revision: 43045
2009-10-13 01:30:04 +00:00
Carsten Haitzler e31d7799ee set tex min/mag filter always
SVN revision: 43044
2009-10-13 00:37:16 +00:00
Carsten Haitzler 8da2320695 dont eed these params here
SVN revision: 43038
2009-10-12 18:02:33 +00:00
Carsten Haitzler 46996c95d3 mini-speedups!
SVN revision: 43037
2009-10-12 15:22:38 +00:00
Carsten Haitzler c0c9f60751 more work on the gles + gl engine.
SVN revision: 43036
2009-10-12 13:19:55 +00:00
Carsten Haitzler 09ba2ed738 and one more untested fix
SVN revision: 43033
2009-10-12 03:52:23 +00:00
Carsten Haitzler a08e1d6793 and fix more bits not tested yet
SVN revision: 43032
2009-10-12 03:43:00 +00:00
Carsten Haitzler bcf85c7225 remove _dends. old code.
SVN revision: 43031
2009-10-12 03:35:32 +00:00
Carsten Haitzler 8bd109e8ce update build for gles on s3c6410 testing
SVN revision: 43030
2009-10-12 03:31:24 +00:00
Carsten Haitzler a60f577446 some infra for starting to handle dest-alpha (rgba) windows in gl engine.
not sure shaped windows will ever be sanely possible.



SVN revision: 43015
2009-10-11 06:59:47 +00:00
Carsten Haitzler 00486440c0 fix autofoo make and included files etc. produce shader binaries for systems
that dont have runtime compilers using offline tools. binary blobs will need
to be provided in src trees as the shader_type_bin_target.h files



SVN revision: 43004
2009-10-10 15:03:41 +00:00
Carsten Haitzler a6b2cfd52a and delete u and v textures too
SVN revision: 43002
2009-10-10 14:55:10 +00:00
Carsten Haitzler 1046b6339a fix yuv shader. right now.
SVN revision: 43001
2009-10-10 14:48:34 +00:00
Carsten Haitzler 43420a5df3 yuv support is back now.
SVN revision: 43000
2009-10-10 13:24:15 +00:00
Carsten Haitzler daa0573ceb oops missed file.
SVN revision: 42983
2009-10-09 15:17:27 +00:00
Carsten Haitzler 37b66e806b new gl engine. no one uses it anyway. not 100% complete, but much better than
the old. and it ALSO does GLES2.0 as well asn GL.



SVN revision: 42982
2009-10-09 12:10:27 +00:00
Cedric BAIL ef2d2ddfda * evas: Remove some llvm warning.
SVN revision: 42938
2009-10-07 12:47:01 +00:00
Vincent Torri de7282e68b use Eina macro for default log color
SVN revision: 42855
2009-10-02 04:47:34 +00:00
Vincent Torri 0a775ef90d fix eina logging in software_ddraw
SVN revision: 42829
2009-10-01 07:44:39 +00:00
Tom 39b6c9148c From: Tom <tom@stosb.com> (tasn)
Hey raster,

Here is the non intrusive patch I talked to you about. Please apply it as it
introduces some fixes, some improvements and mostly and underlying
infrastructure for future RTL improvements.

(note hebrew & yiddish seem fine, but things expedite test seems to show are
wrong (why i don't know as i dont speak the langs- just comparing to pango /
gtk output):

arabic seems lsightl wrong (maybe composition chars not working?)
gujarati - also seems wrong
malayam - also looks wrong
persian - looks wrong
sinhala - looks wrong
tamil - looks wrong

these are what, appear to me, to look wrong. why they look wrong, i don't
know. i'm guessing its compositiong not being handled. but i dont's peak,
read or write any of these languages so i am unsure of what it really should
be like, why and how to fix it.

anyone want to put up a hand? (everything else is displaying fine as best i
can tell - the langauges i read/speak/somewhat understand are working fine).



SVN revision: 42814
2009-09-30 04:23:21 +00:00
Vincent Torri e50c003031 last auto-import symbols
SVN revision: 42631
2009-09-22 23:07:29 +00:00
Vincent Torri ef825fc3c1 more auto-import symbols
SVN revision: 42630
2009-09-22 23:05:51 +00:00
Vincent Torri e359ac2161 auto-import symbols
SVN revision: 42628
2009-09-22 22:51:15 +00:00
Cedric BAIL c259d8addd * evas: Use eina_log.
Patch from Matthieu.


SVN revision: 42598
2009-09-21 16:08:51 +00:00
Vincent Torri ea9c39e2f7 masks should be correctly rotated in the xcb engine, now
remove a few unused parameters and unused variables


SVN revision: 41975
2009-08-25 16:21:09 +00:00
Vincent Torri 86dab3bef7 we should try if shm is available
SVN revision: 41974
2009-08-25 15:23:15 +00:00
Rafael Antognolli af554298cd Bugfix on directfb engine:
* cleaning dirty rectangles on dfb surfaces now is done correctly.



SVN revision: 41777
2009-08-14 20:36:49 +00:00
Cedric BAIL 443fe5fc8e * evas: gl_x11 window can't support alpha, as drawing rect with
alpha=0 is not possible.


SVN revision: 41769
2009-08-14 17:11:08 +00:00
Cedric BAIL e4d68c7fbe * evas: gl_common now use Eina_Rectangle_Pool.
SVN revision: 41607
2009-08-05 14:47:12 +00:00
Cedric BAIL 5784d74daa * eina: Add eina_cpu_count.
SVN revision: 41543
2009-07-30 16:45:15 +00:00
Vincent Torri 39809967cb clean dist rule
SVN revision: 41526
2009-07-28 11:50:22 +00:00
Vincent Torri 12751954d1 remove uneeded declaration (to be symetric with xcb code)
SVN revision: 41523
2009-07-28 09:55:08 +00:00
Vincent Torri da292c1f29 * rename 'x11' to 'xlib' when it makes sense
* allow the build of evas without xlib installed (for OpenInkpot guys)
 * add big fat warning when at least a module is linked statically (try it !)

more patches will follow now (ecore, e, rage and ewl)
I let pyton and c++ bindings maintainer to do the rename


SVN revision: 41329
2009-07-14 21:16:08 +00:00
Vincent Torri 7e475a152c missing ;
SVN revision: 41259
2009-07-06 21:48:11 +00:00
Vincent Torri c803ed44d3 fix++
SVN revision: 41222
2009-06-29 06:44:35 +00:00
Vincent Torri 19b6892b94 remove useless Windows CE stuff, as it must be done on the
executable, and not the library.


SVN revision: 41214
2009-06-27 07:00:39 +00:00
Cedric BAIL a7f2974e13 * evas: break engine API !!!
Improvements: Now evas rendering loop is the one responsible to
	initialize the surface to 0 correctly (taking into account surface
	alpha and object opacity). This will reduce the number of memset
	we do.

	Note: Current software_x11 (xlib and xcb) are buggy. They are
	copying too much data when the surface use a mask. That's why
	two memset are left in their code. They could be removed, but
	we should fix the surface we copy on change (look at mxob user
	and evas_software_xlib_x_output_buffer_paste).


SVN revision: 41206
2009-06-26 13:26:52 +00:00
Cedric BAIL 0c9aead634 Evas_Rectangle are gone. We now use Eina_Rectangle and memory pool is
shared accross the application.


SVN revision: 41170
2009-06-23 13:57:27 +00:00
Vincent Torri 324fd7b2ca do not segv when no pallete in xcb engine too.
SVN revision: 41122
2009-06-20 06:53:48 +00:00
Gustavo Sverzut Barbieri 728b003fee do not segv when no pallete.
spotted this bug when I disabled all converters in a config mistake :-)



SVN revision: 41116
2009-06-20 05:55:37 +00:00
Cedric BAIL eb488748c6 * evas: Fix a few typo preventing a full static build.
SVN revision: 41114
2009-06-19 16:40:21 +00:00
Lars Munch f850d6cb0d Fix wince engine module name
SVN revision: 41099
2009-06-18 10:21:09 +00:00
Cedric BAIL 6d0ee81526 * evas: Remove Evas_Bool.
SVN revision: 41067
2009-06-17 10:01:52 +00:00
Gustavo Sverzut Barbieri 3c6e35dd10 be explicit about SUBDIRS and DIST_SUBDIRS, fix maintainer-clean.
automake was "smart enough" to include in DIST_SUBDIRS even when 'if'
clause didn't add it to SUBDIRS, that was causing modules like XPM be
added twice, resulting maintainer-clean to double-clean the directory
(one from src/modules/loaders and other from src/lib), failing on the
second time.



SVN revision: 41060
2009-06-16 19:03:28 +00:00
Cedric BAIL 575b0579cd * evas: Move to Eina module and make it possible to build a libevas with
everything in it.

	Note: This patch break the module API, so make sure you recompile and install
	every thing.


SVN revision: 41055
2009-06-16 13:01:36 +00:00
Vincent Torri e61101a4a4 fix object size when rotation is 90 or 270 degree
SVN revision: 40907
2009-06-05 18:58:16 +00:00
Vincent Torri 6842103267 revert the patch for RTL text rendering in software_16 engine
SVN revision: 40789
2009-05-23 09:23:01 +00:00
Carsten Haitzler adab71dcfd fix engines to match engine func changes with font stuff (R to L)
SVN revision: 40782
2009-05-22 21:11:45 +00:00
Vincent Torri cad3471bfb update 16 bits engine for rtl support
SVN revision: 40728
2009-05-18 17:31:52 +00:00
Carsten Haitzler e999c88e80 tasn's rtl pathes and improvements... continued!
SVN revision: 40715
2009-05-18 06:08:15 +00:00
Vincent Torri 024dc3c51e Remove eoftware_win32_gdi directory. It is empty (old
gdi engine written by raster and removed because of
IP, iirc) and of no use (another gdi engine is there)


SVN revision: 40673
2009-05-15 14:27:53 +00:00
Carsten Haitzler 85bff718d6 1. scale cache now allows you to hint at the object if its dynamic, static or
none (ie default) and the engines actually understand it and use it.
2. fixes to scalecache and cserver too. more toto's done and its now been
stress tested by me - and i think cserve is ready to go gold. just enable it
with export EVAS_CSERVE=1 in your env for any eflapps - and run evas_cserve
(cmd-line options avalable plus cmd-line tol to query settings change on the
fly and query statsitics and state)



SVN revision: 40536
2009-05-07 13:29:56 +00:00
Carsten Haitzler 63e4b4e564 fix softwared x11 xlib engine to generate masks when rotated too
SVN revision: 40523
2009-05-06 12:35:38 +00:00
Vincent Torri 899b8d13dc * better fix for -no-undefined
* remove test with icl


SVN revision: 40313
2009-04-23 03:47:28 +00:00
Vincent Torri 7f98415206 add GDI engine.
todo: fullscreen and shape support


SVN revision: 40310
2009-04-23 03:20:51 +00:00
booleanlabel b0d7b37388 From: booleanlabel@gmail.com
cygwin fixes.



SVN revision: 40303
2009-04-23 01:15:11 +00:00
Vincent Torri 5d41223450 eng_setup returns now an int
SVN revision: 39916
2009-04-10 08:23:34 +00:00
Carsten Haitzler b0b043f443 scalecache tracks normal cache size etc. etc. etc.
SVN revision: 39907
2009-04-09 13:20:00 +00:00
Carsten Haitzler f8dc6a31ea wtf was it freeing right after setup? comment out lines.
SVN revision: 39765
2009-03-28 01:45:59 +00:00
Carsten Haitzler 66cc98b0f4 also be able to free orig data now (and reload)
SVN revision: 39743
2009-03-27 06:06:45 +00:00
Carsten Haitzler e0a8a97b6d now enough logic to know when to unload original... now just need to make
unloaidng possible without instant-reload.



SVN revision: 39742
2009-03-27 03:50:03 +00:00
Carsten Haitzler 1a224311d6 make pipe renderer separate to thread support - off by default.
SVN revision: 39740
2009-03-27 01:48:58 +00:00
Carsten Haitzler a3f68ea9d9 1. a bunch of neon asm infra and some asm, but only the neon that works is
enabled. the blending is not working/complete. the neon for fills and copies
isnt actually faster though currently :(
2. scalecache infra - disabled for now. working on it.



SVN revision: 39723
2009-03-26 07:14:08 +00:00
Vincent Torri 98e76f6280 use unsigned int for bit fields, as suggested by Gustavo
SVN revision: 39677
2009-03-24 11:44:19 +00:00
Vincent Torri 96a8e95ec4 disable cairo and qtopia engines for the release.
the code is not removed, only commented


SVN revision: 39676
2009-03-24 10:47:39 +00:00
Vincent Torri d4ea61023e guard the xcb function declarations
SVN revision: 39673
2009-03-24 10:26:14 +00:00
Vincent Torri 5953f89d21 remove the gliz engine:
* it never really worked
 * glitz is not maintained anymore (latest snapshot in january 2005)


SVN revision: 39672
2009-03-24 10:21:34 +00:00
Vincent Torri b61328192f API break (well, kind of...)
* evas_engine_info_set() returns now an int, to inform if
   an error occured or not when setting the info of the engine.
 * in the Evas_Func structure, the setup() method returns an int
 * all the engines are updated

I'll fix ecore_evas and ewl later (the compilation is still fine).

Gustavo: should I add EINA_WARN_UNUSED_RESULT at the end of the
evas_engine_info_set() function ?



SVN revision: 39670
2009-03-24 09:05:32 +00:00
Vincent Torri 9a074ec131 remove xrender xcb directory (useless since the merge)
SVN revision: 39669
2009-03-24 08:11:25 +00:00
Vincent Torri 26a85d87f5 merge of the xrender Xlib and XCB engines
SVN revision: 39665
2009-03-24 07:44:54 +00:00
Vincent Torri 8b7a4fd16e Use an enum for the backend
SVN revision: 39664
2009-03-24 07:36:46 +00:00
Gustavo Sverzut Barbieri 74ece51f0b warnings--
SVN revision: 39593
2009-03-19 19:29:05 +00:00
Vincent Torri a11c52735f initialize correctly psize, so that the cache is used.
small speed up.


SVN revision: 39554
2009-03-18 17:05:30 +00:00
Gustavo Sverzut Barbieri 1213744f42 fix image_data_put on software 16 bits engine.
SVN revision: 39537
2009-03-17 20:57:02 +00:00
Vincent Torri 4dedbe0bb7 release the clipper only it has been created, that is in windowed mode
SVN revision: 39434
2009-03-10 17:55:43 +00:00
Vincent Torri 9ed772fd35 mask is a pixmap, not a drawable
SVN revision: 39404
2009-03-07 07:45:05 +00:00
Vincent Torri 5b5282ec3e remove trailing spaces
SVN revision: 39403
2009-03-07 07:00:29 +00:00
Vincent Torri fd3ec295bd remove hack about unused parameter and use __UNUSED__ instead
SVN revision: 39402
2009-03-07 06:56:42 +00:00
Vincent Torri 5a8ce91119 fix warning when using some extensions defined in glext.h
SVN revision: 39341
2009-03-03 06:07:08 +00:00
Vincent Torri 3616db9aa6 optimize ddraw engine : when locking a surface, don't allow Windows
to suspend operations. expedite runs with around 7 points more than
without those flags on my computer


SVN revision: 39316
2009-03-01 21:09:39 +00:00
Vincent Torri c5e64e50b7 fix comment
SVN revision: 39280
2009-02-28 13:02:17 +00:00
Vincent Torri 6696a9c87b * remove 'unused parameter' warnings
* i didn't touch glitz engine as it will certainly be disabled later
 * i'll update windows engines later


SVN revision: 39274
2009-02-28 10:08:45 +00:00
Vincent Torri 725d8b4bfb use pm instead of PAL_MODE_RGB666 when allocating colors
SVN revision: 39188
2009-02-25 07:24:53 +00:00
Gustavo Sverzut Barbieri adab85b566 directfb: Oops, don't give bogus data to image_data.
This fixes changing image subareas with directfb engine and
eve/webkit-efl works fine.

Thanks to Gustavo Lima Chaves.



SVN revision: 39185
2009-02-24 22:46:45 +00:00
Vincent Torri 0af29b19d6 sync when needed
SVN revision: 39171
2009-02-24 07:06:14 +00:00
Vincent Torri fe8b378c87 fix xrender xcb engine
SVN revision: 39135
2009-02-22 11:24:08 +00:00
Vincent Torri 373d55b48e remove trailing spaces
SVN revision: 39117
2009-02-21 08:19:58 +00:00
Vincent Torri a005e1000a make gl engine able to use cutouts - in some cases its faster, some
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm. (synchronize with gl_x11 code)


SVN revision: 39116
2009-02-21 08:18:53 +00:00
Carsten Haitzler 7a74942b41 1. make software font draw code actually use cutouts.
2. make gl engine able to use cutouts - in some cases its faster, some
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm.



SVN revision: 39114
2009-02-21 03:13:49 +00:00
Vincent Torri 860fc287c2 free correctly each buffer in XCB engine
The xcb_image dependency should be removed and replaced
by direct calls of the request XPutImage


SVN revision: 39024
2009-02-15 11:14:12 +00:00
Vincent Torri 76853a3e6c make the direct3d engine working with d3dx9 header files
from Microsoft SDK (november 2008)

Patch by Roberto Huelga (modified + minor improvements)


SVN revision: 38850
2009-01-29 21:32:26 +00:00
Carsten Haitzler 7b370535a0 extra fragment shader prog to 0 call. remove. useless.
SVN revision: 38820
2009-01-27 23:57:21 +00:00
Gustavo Sverzut Barbieri b814a5e2be buffer: reorder destroy-recreate sequence to avoid cache to be destroyed.
users of buffer engine (ie: e_thumb_main.c) were broken since when
they resize the canvas they would implicitly call engine->setup()
again, which would destroy output and create it again. However the
cache could be destroyed and images using it would be bogus.

This does not happen if the process have other cache users, but
e_thumb is just one canvas live at time.

By reordering, we have the cache reference to go to 2 and then back to
1, not destroying it.



SVN revision: 38739
2009-01-23 15:28:43 +00:00
Vincent Torri c141b1c636 __stdcall must also be used in the definition of the callbacks
SVN revision: 38705
2009-01-23 06:24:12 +00:00
Jorge Luis Zapata Muga f26e6dddc0 Missing #else for non win32
SVN revision: 38681
2009-01-21 09:46:02 +00:00
Vincent Torri fe52686976 Avoid the stack to be screwed up in the callbacks on Windows.
Fix the seg fault in the polygon test in expedite on Windows.


SVN revision: 38679
2009-01-21 07:44:20 +00:00
Cedric BAIL 5621e47f1c Correctly cancel each image object and not all at once.
SVN revision: 38658
2009-01-20 14:56:37 +00:00
Vincent Torri a1d61c71c2 add error message in the win ce gdi engine
SVN revision: 38646
2009-01-19 17:53:30 +00:00
Vincent Torri a5695ae333 add windowed and fullscreen support to the gdi backend. Other backend are only fullscreen.
SVN revision: 38539
2009-01-10 17:33:19 +00:00
Carsten Haitzler 4959d816f6 fix formatting and use dither for adopting with format and add comments for
tmpo buf fmt



SVN revision: 38459
2009-01-05 04:06:19 +00:00
Vincent Torri 4f96f46169 useless file
SVN revision: 38245
2008-12-20 13:24:27 +00:00
Vincent Torri c989841ab6 * src/modules/engines/direct3d/:
fast direct3d engine written by Dmitriy Mazovka. You rock !

 * m4/evas_check_engine.m:
 * m4/evas_check_loader.m4:
   use m4_popdef for each macro (otherwise, fail if aclocal is too old)

 * src/lib/canvas/evas_font_dir.c:
   include evas_common.h and evas_private.h after Eet.h and Evil.h
   so that EAPI is correctly defined



SVN revision: 38244
2008-12-20 13:22:46 +00:00
Carsten Haitzler 53c9394d3b dont need xcb engine code anymore
SVN revision: 38176
2008-12-17 08:18:13 +00:00
Carsten Haitzler fb85d912b6 vtorri's merge of xcb and x11 software engines.
SVN revision: 38173
2008-12-17 08:13:49 +00:00
Sebastian Dransfeld 804b284419 Fix hash foreach cb.
SVN revision: 38155
2008-12-15 20:49:59 +00:00
Cedric BAIL 2b278b9419 Remove use of evas_hash from evas and use directly eina.
SVN revision: 38066
2008-12-09 17:56:31 +00:00
Vincent Torri 7dfff8ac98 fix software_16_ddraw engine compilation
SVN revision: 37966
2008-12-06 20:30:15 +00:00
Carsten Haitzler a2cd677cdc ok - revert scalecache until leak fixed.
SVN revision: 37899
2008-12-02 02:33:09 +00:00
Carsten Haitzler 72c25fd2fc quick - evas scalecache put this in svn do i dont lose my patch. i'll revert
and work on gettign the leak fixed.



SVN revision: 37898
2008-12-02 02:32:22 +00:00
Vincent Torri 6a06a92ac8 add fullscreen support in software directdraw engine (win xp)
SVN revision: 37887
2008-12-01 20:38:05 +00:00
Samuel F. Baggen 04d7bd940b typo fixed: added x11 to glitz name (glitz_x11) in makefile
SVN revision: 37816
2008-11-27 02:13:35 +00:00
Vincent Torri a659951ced * use the m4 macro EVAS_CHECK_ENGINE to check if an engine is available or not
* group the want_* variables related to engines and loaders at the beginning
   of configure.ac
 * use -no-undefined directly instead of a flag checked wrt the host
 * some clean up in Makefile.am files

Please report any problem


SVN revision: 37784
2008-11-24 06:18:31 +00:00
Vincent Torri a8387b1087 remove trailing spaces
SVN revision: 37771
2008-11-23 14:49:55 +00:00
Vincent Torri b5170a3e63 * formatting
* use a negative height for the biHeight member of the
   bitmap info (topdown bitmap)


SVN revision: 37712
2008-11-19 08:48:00 +00:00
Vincent Torri 5a93b3731e create the bitmap only once. Increased speed :)
SVN revision: 37711
2008-11-19 07:52:05 +00:00
Vincent Torri b8ae972c6c mem leak --
SVN revision: 37710
2008-11-19 07:29:27 +00:00
Vincent Torri ccf5e40899 add gdi backend to the win ce engine. Not working yet
but some other people can help me now with that code in svn

 * expedite is working but sometimes crashes. Maybe a big mem leak ?
 * maybe moving the creation of the bitmap in
   evas_software_wince_gdi_output_buffer_paste()
   to
   evas_software_wince_gdi_output_buffer_new()
   so that the memcpy is not necessary anymore   


SVN revision: 37709
2008-11-19 07:08:18 +00:00
Carsten Haitzler 9705e3c741 hmmm after some talking - for now put the transform patch on hold - we need
tyo fix up some of these breaks first and there isn't a lot of time devoted
to this. so revert this. it's in svn history so we can dig it out any time we
like.



SVN revision: 37453
2008-11-04 09:19:35 +00:00
Carsten Haitzler 3e984fee34 jose's transform patches. some things to note:
1. nearest scaling is now broken - it's always linear interpolation. this
will lead to slowdowns. i need to fix this - a must.
2. i think it's time i put in a transformed image cache that can cache an
image object at a transform (and share it) automatically.
3. transforms in non-software-engines will not work - broken. need to at
least do xrender and gl engines.

any volunteers to help?



SVN revision: 37447
2008-11-03 22:50:54 +00:00
Vincent Torri 611850f0a6 Use stdio instead of iostream to output error messages
Large parts of the stdc++ library are statically linked into the dll.
The size of the generated DLL decrease from ~500KB to ~24KB



SVN revision: 37428
2008-11-03 05:25:56 +00:00
Vincent Torri b7d5746e0d * remove module_la_DEPENDENCIES useless variable
* add -fno-rtti and -fno-exceptions when c++ is used (in Windows engines)
 * fix glew engine compilation
 * minor formatting


SVN revision: 37369
2008-11-01 09:46:51 +00:00
Vincent Torri 5be63df7c0 fix constness and wrong type parameters
SVN revision: 37368
2008-11-01 07:55:33 +00:00
Cedric BAIL cdf08d5696 Fix bug when shutting down all engine and still have some font in the cache.
Draw back: When we are destroying an Evas canvas, we loose all cached font
that are not used anymore.

A correct fix would be to link Fndat to the Evas that provide and use them.
And only delete them when no more Evas reference them.


SVN revision: 37353
2008-10-31 10:46:46 +00:00
Vincent Torri 3c4a699d6d enable auto import
SVN revision: 37297
2008-10-29 08:35:36 +00:00
Sebastian Dransfeld fc6e85ea96 Remove signal.h, doesn't seem to be used.
SVN revision: 37044
2008-10-24 06:57:23 +00:00
Cedric BAIL 465b76a017 Remove Evas_List from Evas.
SVN revision: 36942
2008-10-21 16:31:05 +00:00
Cedric BAIL 68d377afe6 Rename EINA_INLIST_ITER_NEXT/EINA_INLIST_ITER_LAST to EINA_INLIST_FOREACH/
EINA_INLIST_REVERSE_FOREACH so it best match is behaviour. Asked by Gustavo.



SVN revision: 36928
2008-10-21 12:19:57 +00:00
Cedric BAIL c99824328f Move from Evas_Object_List to Eina_Inlist and completly remove Evas_Object_List.
SVN revision: 36750
2008-10-17 11:23:18 +00:00
Cedric BAIL 1cec65e922 Switch evas internal use of evas_stringshare to eina_stringshare.
SVN revision: 36674
2008-10-15 14:38:34 +00:00
Cedric BAIL ad1525e5f9 Make evas depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36621
2008-10-13 15:58:56 +00:00
Carsten Haitzler fab81faa86 tim horton's quartz engine for evas.
SVN revision: 36107
2008-09-20 02:03:22 +00:00
Cedric BAIL bd2c5d6648 Add image preloading support.
This should work without performance impact for all engine.


SVN revision: 36018
2008-09-16 14:52:57 +00:00
Gustavo Sverzut Barbieri ddad2bf152 Fix usage of DirectFB FillSpans().
SVN revision: 35909
2008-09-10 00:47:33 +00:00
Gustavo Sverzut Barbieri c1c8a18b54 Brand new DirectFB engine.
ProFUSION funded the rework of DirectFB engine, it works quite well,
please report problems with it and be sure to try to uncomment the
following lines to see if it helps:

evas_engine.c: (uncomment if you notice problems)
    //#define DFB_USE_EVAS_IMAGE_DRAW 1
    //#define DFB_USE_EVAS_RECT_DRAW 1
    //#define DFB_USE_EVAS_POLYGON_DRAW 1
    //#define DFB_UPDATE_INDIVIDUAL_RECTS 1

polygon.c: (comment if you notice slowdowns, but may lead to visual problems)
    #define USE_SPAN_RECTS 1

You can also turn on debug by uncommenting in evas_engine.c:
    //#define DFB_DEBUG_IMAGE 1
    //#define DFB_DEBUG_FLAGS 1
    //#define DFB_DEBUG_ACCELERATION 1

Thanks to Denis Oliver Kropp (dok) for review and patches!



SVN revision: 35904
2008-09-09 20:27:58 +00:00
Carsten Haitzler 55711fffca fix 16bit engine with new grad 2
SVN revision: 35727
2008-08-29 06:28:05 +00:00
Carsten Haitzler c1fe72d7e4 jose has some new gradient work - these are his patches. nice work joseg! yes
- some enignes break as they dont have the stubbed out functions, and
xrender/gl engines dont even implement the drawing and need to (but are
stubbed out).



SVN revision: 35677
2008-08-26 05:45:04 +00:00
doursse 28d3ff0e8a missing file
SVN revision: 35151
2008-07-18 09:19:29 +00:00
doursse 92a8967501 * request the size in the engine info
* add a ressource file that set the video management
   as non legacy. It forces device that are in vga to
   run in vga and not in qvga with gapi
 * use c++ calls to display error messages in evas_wince_ddraw.cpp.
   It removes a problem during linking with some versions of cegcc
 * minor fixing / formatting


SVN revision: 35148
2008-07-17 23:08:29 +00:00
doursse 72803ae3e7 update software xcb engine to use the latest cache system
SVN revision: 35019
2008-07-07 19:22:20 +00:00
doursse 448faf03a5 speed up glew engine compilation
SVN revision: 34945
2008-06-29 14:09:26 +00:00
doursse cf5d5718e2 put initialisation of glew in the engine, update the engine so that it uses the cache system
SVN revision: 34912
2008-06-26 08:29:25 +00:00
doursse 23488e9a60 put directdraw initialisation in the engine. use the evas cache
SVN revision: 34903
2008-06-25 06:40:10 +00:00
Cedric BAIL c5ecd8819e Remove unused file.
SVN revision: 34844
2008-06-17 13:31:13 +00:00
Cedric BAIL 0de14ee3ef Use display list for OpenGL polygons implementation. This improve speed on
my computer in expedite test bench from 400 to 650.


SVN revision: 34795
2008-06-10 12:18:54 +00:00
Cedric BAIL 7711f12d8e Use directly Image_Entry when possible.
SVN revision: 34792
2008-06-10 09:22:27 +00:00
doursse 4e78b97de8 Fix engine wrt the latest changes in evas. Add error messages
SVN revision: 34757
2008-06-06 12:14:01 +00:00
Cedric BAIL 9feac9ef8b Fix common 16bpp engine use of alpha.
SVN revision: 34729
2008-06-03 14:45:39 +00:00
Cedric BAIL d102e3db82 * Make RGBA_IMAGE_HAS_ALPHA and RGBA_IMAGE_ALPHA_SPARSE part of
Image_Entry flag structure. This fix a bug with 16 bpp software engine.

        * Change image loader module API to take any Image_Entry. Same goes
        for evas_common_image_premul and evas_common_image_set_alpha_sparse.

        * Use new eet API: eet_data_image_read_to_surface.


SVN revision: 34728
2008-06-03 09:09:39 +00:00
doursse 03109fff6c add cvsignore
SVN revision: 34724
2008-06-02 06:40:26 +00:00
Carsten Haitzler 43821d36e4 * add efreet garbage data check
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now


SVN revision: 34689
2008-05-29 02:00:04 +00:00
Gustavo Sverzut Barbieri 41e5ba66b6 Mark as dirty, fixes emotion usage.
SVN revision: 34687
2008-05-28 19:27:41 +00:00
doursse b9ac050dd2 add DirectDraw backend. Seems faster on pda's that have it
SVN revision: 34668
2008-05-25 17:39:48 +00:00
doursse 51e193610d remove debug printf
SVN revision: 34652
2008-05-23 18:57:40 +00:00
doursse 0f071fe71d * put key management outside the engine. It's not its place in it
* make Ipaq H38xx and H39xx work with the framebuffer


SVN revision: 34650
2008-05-23 18:26:41 +00:00
doursse a1e64a5e9c fix framebuffer address on Ipaq H38xx and H39xx. GAPI is really really broken on these devices
SVN revision: 34642
2008-05-22 11:00:01 +00:00
doursse 4d7eac659d fix keys on Ipaq H38xx and H39xx
SVN revision: 34641
2008-05-22 10:40:40 +00:00
Peter Wehrfritz bb1f257f5f build again
SVN revision: 34565
2008-05-14 11:26:29 +00:00
Gustavo Sverzut Barbieri 782e77d9ae Remove DirectFB, will add a new one based on SDL code.
Remove DirectFB, will create a new one based on SDL.


SVN revision: 34559
2008-05-13 19:32:00 +00:00
doursse d7e2cb5163 Ipaq H38** and H39** are considered as landscape device because of their uglyness
SVN revision: 34517
2008-05-09 23:12:00 +00:00
doursse 340d0ed554 remove a possible seg fault when DestroyWindow() is called
SVN revision: 34507
2008-05-08 06:46:26 +00:00
Carsten Haitzler 5b10356d45 endif++!
SVN revision: 34407
2008-04-30 07:24:10 +00:00
doursse 39f63d6690 wrong commit
SVN revision: 34404
2008-04-29 22:38:27 +00:00
doursse a6a3a2a9db the address returned by draw_begin can be NULL
SVN revision: 34373
2008-04-26 12:32:29 +00:00
Cedric BAIL 3938160157 Fix directfb engine with new Evas cache API.
NOTE: This engine should be rewritten and use the new engine cache api.


SVN revision: 34360
2008-04-24 14:37:14 +00:00
doursse 39289b21d5 forget to modify some calls. Now fb and gapi should work
SVN revision: 34359
2008-04-24 06:18:09 +00:00
doursse 208d20a30f * Add Windows CE engine (1st step)
The engine is not entirely working right now. Recent devices which
  supports the raw frame buffer should work though. But having it in
  cvs will help me as I'm coding it most of the time "blindly" (no
  device to test it)

 * minor formatting in the top evel Makefile.am too


SVN revision: 34354
2008-04-23 19:17:59 +00:00
doursse 56eacad43d Autotools cleaning (not complete)
* formatting
 * put WIN32_CFLAGS in AM_CFLAGS and not AM_CPPFLAGS, as it is where it belongs
 * rename create_shared_lib to lt_no_undefined
 * pass -Wl,--enable-auto-import to libtool when compiling with cegcc
 * add files to EXTRA_DIST only when they are not in _SOURCES or _include_HEADERS (they
   are added anyway)


SVN revision: 34353
2008-04-23 06:55:10 +00:00
Carsten Haitzler 35b8f22752 add missing files.
SVN revision: 34254
2008-04-12 02:11:07 +00:00
Carsten Haitzler ae1977a214 cedric's cache changes patch
SVN revision: 34253
2008-04-12 00:32:30 +00:00
Carsten Haitzler 87f4bedb81 if xrender is on a 16bpp target - do some "faster" paths - i hope.
SVN revision: 34216
2008-04-07 23:07:23 +00:00
doursse 3ba03eab45 remove the explicit use of the DirectDraw interface by using the c++ API
SVN revision: 34153
2008-03-30 16:06:21 +00:00
doursse ebd938e4b1 remove the explicit use of the DirectDraw interface by using the c++ API
SVN revision: 34147
2008-03-30 09:16:53 +00:00
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 9f50836a12 update of the software xcb engine:
* use the pixman library for the region code (it is required, now). That
   libray can be found in the cairo ftp.
 * use the new xcb_image api that is in git repository. There is still a
   seg fault occuring because of xcb_image. I'll commit the fix in git
   next week.

The performance are not good at all. With expedite, 360 fps compared to
the 470 fps with xlib. I don't know why yet.


SVN revision: 33965
2008-03-09 13:21:16 +00:00
Carsten Haitzler c1fb45dcea poosible segv - but never gets run so it never happens
SVN revision: 33964
2008-03-09 09:35:12 +00:00
Carsten Haitzler e076a78519 cedric's eet and edje patches to use eet dictionaries for strings.
SVN revision: 33873
2008-03-01 06:38:09 +00:00
Gustavo Sverzut Barbieri a3ac3697ec Try to get DirectFB working.
This is an initial cleanup, basically I removed all the DirectFB
accelerated calls and moved it to software common. I do plan to
gradually bring these back later, probably blit, rectangle and line
will come first.


SVN revision: 33835
2008-02-25 06:13:53 +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 2f346db9a9 Partial fix to evas_hash_foreach() const change.
This fixes the prototype, however it still issues a warning about a
real bug: calling evas_hash_modify() during evas_hash_foreach()


SVN revision: 33710
2008-02-08 20:42:10 +00:00
Christopher Michael 865f8ada56 Comment out unused variable. Seems the functions that were supposed to use
it are commented out, but the variable was left. Fixed.


SVN revision: 33659
2008-02-01 01:50:56 +00:00
Carsten Haitzler d413c7c6b7 hrrm. 0x0 textures - libGL in new nvidia drivers is most unhappy with! fix.
SVN revision: 33548
2008-01-22 05:31:25 +00:00
Carsten Haitzler 23416631c1 only 0 on init if image has alpha
SVN revision: 33537
2008-01-20 04:15:31 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +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
moom 8a05a8d250 * [GL-engine] Do software YUV-conversion if GLSL is not supported. I
can't test it on a GLSL card, so I hope it didn't break anything. If
something is broken, feel free to revert! (but it would probably just be
related to the way it detects GLSL support at l.78 of evas_gl_context.c)


SVN revision: 33242
2007-12-25 11:12:39 +00:00
Carsten Haitzler 1c950e9cc6 missing -lXrender
where did that go?


SVN revision: 33168
2007-12-17 10:07:48 +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
Sebastian Dransfeld d4073fc07a Clean up configure.in file
SVN revision: 32358
2007-11-04 19:09:19 +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
Sebastian Dransfeld b3ee7373a7 ignore
SVN revision: 32329
2007-11-03 15:47:07 +00:00
doursse 53fe579d6d indentation
SVN revision: 32291
2007-11-02 07:38:18 +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 8108d0e8d6 XSync to avoid flicker
SVN revision: 32040
2007-10-11 14:43:05 +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 ecd108ba49 Revert SDL changes, I was already commited.
SVN revision: 31980
2007-10-05 14:35:39 +00:00