Commit Graph

939 Commits

Author SHA1 Message Date
Carsten Haitzler ccb4dbd91b fix gl stride
SVN revision: 52432
2010-09-19 00:28:58 +00:00
Vincent Torri 89038e3b0c free the main region (leak--)
SVN revision: 52429
2010-09-18 23:17:27 +00:00
Gustavo Sverzut Barbieri d89ebf341b cleanup: internal image information is now unsigned.
There is no meaning in negative values for image loading, marking as
dirty or size, so image internals (cache, entry) were changed to
unsigned, reducing possible errors, particularly with overflow.

engines were converted to the new way, but any 3rd party modules will
still work as they should be using values >= 0 only anyway.

please review.

new cases introduced by "comparison between signed and unsigned" were
fixed in the modules that used cache_entry or Image_Entry dimensions.



SVN revision: 52428
2010-09-18 23:16:25 +00:00
Gustavo Sverzut Barbieri 5dd0eeb7ab cleanup: fb uses unsigned to match linux/fb.h
this removes warnings and keep consistency between system and evas
value signs.



SVN revision: 52427
2010-09-18 23:11:01 +00:00
Gustavo Sverzut Barbieri 19f0eebd27 cleanup: simple clean of "comparison between signed and unsigned errors"
not much to see here, please review but these are simple changes.



SVN revision: 52426
2010-09-18 23:07:31 +00:00
Gustavo Sverzut Barbieri e37c1c7a0a cleanup: fix some "unused" errors from -Wextra.
As we're heading for a release we better remove as much errors as
possible and as the first step I'm removing warnings due unused
parameters, variables and functions. These tend to pollute real errors
spotted by -Wall and clang/llvm.

This does not fixes all, just the clear that could be set to
__UNUSED__, particularly to do (and I'd like some help from the
authors):

 * src/lib/engines/common/evas_font_{draw,query}.c (tasn):
   intl_props is just used while doing BIDI, but also used in other
   #ifdef blocks :-/

 * evas_map_* (raster):
   huge amount of warnings, code is quite confusing and thus I'm not
   touching it. I have no idea whenever the commented blocks or extra
   parameters are intended to be used or no.

 * src/modules/engines/fbevas_fb_main.c (raster?):
   is fb_setvt() to be used? If not do you mind removing it?

 * src/modules/engines/gl_{common,x11} (raster):
   huge amount of warnings, code is quite nested and full of #ifdefs
   that does not help to give a clear picture of what's going on.

 * src/bin/evas_cserve_main.c (raster):
   I could have ignored most of the errors, but is the code correct? I
   mean, there is no unload of images being applied. If you confirm
   none of those warnings are harmful I can flag them as unused.

 * src/lib/engines/common_8 (dottedmag):
   lots of unused functions that were acquired from common_16, they
   are unused and if they will not, then they should be removed.



SVN revision: 52421
2010-09-18 19:17:41 +00:00
Gustavo Sverzut Barbieri a22dac6ea3 Add missing evas_common prefix, avoid symbol redefinition.
soft16 was written as a single engine, thus it was all static/global
and had no EAPI in its functions, but then it was moved into
"src/lib/common_16" and got that, but got no prefix! That could cause
clash with other libraries, so adding such prefix.

soft8 was a copy of 16, thus had the same problems.

the engines were all based on software_x11, thus they defined the same
methods to deal with Xlib, however if you link them all in the same
binary (--enable-MODULE=static), the symbol would be redefined. Rename
symbols according to their module.



SVN revision: 52420
2010-09-18 17:43:13 +00:00
Vincent Torri d128fb54a0 remove debug messages
SVN revision: 52419
2010-09-18 17:31:00 +00:00
Vincent Torri 9acfb01811 Fix shaped windows on Windows. It uses regions.
Advantages:
 * it is the simplest method to implement

Disadvantages:
 * it's slow
 * it does not take into account transparency
 * it does not work with the composite manager (Windows >= Vista)

Layered windows should be used (all the disadvantaged above are
fixed), but i've never succeeded in making them work.

SVN revision: 52416
2010-09-18 17:19:11 +00:00
Carsten Haitzler 6f4d152810 fix actually supporting clip for maps in gl.
SVN revision: 52415
2010-09-18 14:23:20 +00:00
Carsten Haitzler 8df657a51a be less agressive performance-wise but clear up some gl sync issues
that have been lurking.



SVN revision: 52414
2010-09-18 13:49:56 +00:00
Lucas De Marchi 85815e306c Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
achive->achieve
beacuse->because
caluclate->calculate
cant->can't
carefull->careful
convertion->conversion
dependancy->dependency
dependant->dependent
doesnt->doesn't
existant->existent
extention->extension
fucntion->function
impliment->implement
inital->initial
lenght->length
occured->occurred
occuring->occurring
onyl->only
positon->position
possibilty->possibility
postion->position
proccessing->processing
proccess->process
propogate->propagate
recieve->receive
sucessive->successive
teh->the
ther->there
throught->through
thsi->this
wasnt->wasn't
whcih->which
wheras->whereas




SVN revision: 51965
2010-09-08 03:51:24 +00:00
Carsten Haitzler 47fbbe6196 well dldrawarrays doesnthave a limit according to the gl spec - but
drivers may implement one. as such add a check. but check and fix
seems to fail for some rendering. wonder why?



SVN revision: 51923
2010-09-06 13:36:32 +00:00
Carsten Haitzler c67a9ac86a and fix gl engine to actually do map for yuv images! :) fix fix.
SVN revision: 51893
2010-09-05 02:58:30 +00:00
Vincent Torri 4369e0f790 fix some declarations
SVN revision: 51763
2010-08-30 19:24:09 +00:00
Carsten Haitzler 428e35e5d3 make it an env var to enable/disable window unsurface/resurfacing.
SVN revision: 51742
2010-08-30 06:46:29 +00:00
Carsten Haitzler 2fdf9147c4 thanks jerome for picking up on header not being installed
SVN revision: 51738
2010-08-30 03:46:18 +00:00
Carsten Haitzler 1874321e33 and actually fix un/resurf. done.
SVN revision: 51675
2010-08-27 10:45:06 +00:00
Carsten Haitzler f713366e7d fix un/resurf for dump.
SVN revision: 51674
2010-08-27 10:38:41 +00:00
Carsten Haitzler 4a5adf358d tracing/info to check texture allocation/usage. no leaks that i see.
dump works perfectly. yay!



SVN revision: 51669
2010-08-27 02:02:38 +00:00
Carsten Haitzler 09d9dcc715 some minor cleanliness in the unsurf/resurf stuff.
SVN revision: 51668
2010-08-27 01:14:03 +00:00
Carsten Haitzler efb72afbc1 be able to free and alloc gl surface when asked to dump
SVN revision: 51654
2010-08-26 09:40:48 +00:00
Carsten Haitzler 7ccee2cfe9 aagh fix fix! works again.
SVN revision: 51652
2010-08-26 04:37:43 +00:00
Carsten Haitzler 9d7a3a2bfc silence gl enging output unless you set EVAS_GL_INFO in env. move some
fixed numbers into env vars for tuning purposes and debugging ... and
importantly - fix a smooth vs non-smooth texture mode thing.



SVN revision: 51651
2010-08-26 01:41:48 +00:00
Carsten Haitzler 7e896b081a and fail init of gl cleanly again... :)
SVN revision: 51644
2010-08-25 13:41:03 +00:00
Carsten Haitzler 86eb3374d4 remove segv in ghl engine with native surfaces if data is null!
SVN revision: 51635
2010-08-25 09:29:56 +00:00
Eduardo Felipe 7c94436ffc Fix header include
The current way of including directfb.h makes it hard for people with multiple
versions of DirectFB installed.

This is the correct way to include that header, and it's the way
ecore_directfb does it.

Patch by: Eduardo Felipe <eduardofelipe87@gmail.com>




SVN revision: 51610
2010-08-24 11:47:41 +00:00
Carsten Haitzler 8601258d3f leak--
SVN revision: 51555
2010-08-22 22:55:58 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Carsten Haitzler 8b35111094 fix free shutdown of gl common part of gl engine -> gl pipes badbess.
SVN revision: 51485
2010-08-21 05:59:27 +00:00
Carsten Haitzler fecdc23420 pass distcheck -> cedric! u br0ksed it!
SVN revision: 51458
2010-08-20 02:40:45 +00:00
Carsten Haitzler a0d8db000e and make dynamic hint actually work when we have zero-copy texture
support. fully ok now for argb8888.



SVN revision: 51380
2010-08-19 05:18:17 +00:00
Carsten Haitzler c398484812 fix stride and hint setting so any order works.
SVN revision: 51379
2010-08-19 05:03:37 +00:00
Carsten Haitzler 83b73046ed fix 2 unimplemented bits in dynamic texture stuff.
SVN revision: 51378
2010-08-19 03:30:47 +00:00
Christopher Michael b2b23358f4 Comment out some unused variables.
Fix some 'may be used uninitialized' warnings.



SVN revision: 51288
2010-08-18 16:08:30 +00:00
Christopher Michael 5d8d19dfeb Comment out unused variable (commented out instead of removed as I am
not sure if it has a future use or not).



SVN revision: 51287
2010-08-18 16:03:22 +00:00
Carsten Haitzler 5a35d48384 fix direct egl img rgba ordering.
SVN revision: 51273
2010-08-18 09:53:14 +00:00
Cedric BAIL 05e8154f8b * evas: remove gradient and gradient2.
SVN revision: 51219
2010-08-16 15:14:49 +00:00
Mike Blumenkrantz 77130795a9 fix compile
raster SPANK SPANK SPANK!!!


SVN revision: 51115
2010-08-14 14:36:40 +00:00
Alexander Kerner f265715c32 From: Alexander Kerner <alexander.kerner@googlemail.com>
Attached is a small patch to fix eng_font_draw in software_8.



SVN revision: 51112
2010-08-14 11:17:35 +00:00
Carsten Haitzler f7fab4ea6b more comments
SVN revision: 51074
2010-08-13 11:23:07 +00:00
Carsten Haitzler 66795125ae comments.
SVN revision: 51073
2010-08-13 11:13:45 +00:00
Carsten Haitzler 12beaa9f19 and make it work... yes. first time sec egl image works.
SVN revision: 51072
2010-08-13 11:08:57 +00:00
Carsten Haitzler 26911649be oopsie. fix.
SVN revision: 51071
2010-08-13 10:39:41 +00:00
Carsten Haitzler 2d3ea36109 more work on egl image direct access.
SVN revision: 51070
2010-08-13 10:34:51 +00:00
Carsten Haitzler 01b7216880 more glue/infra. glue evas api to engine together. gl engine gets stubs.
SVN revision: 51028
2010-08-12 06:11:13 +00:00
Carsten Haitzler 83f2ef6142 working on new gl engine feature. inactive right now.
SVN revision: 51027
2010-08-12 06:02:15 +00:00
Carsten Haitzler 2eb9af4c97 i->0
SVN revision: 51026
2010-08-11 23:12:03 +00:00
Lucas De Marchi 9415f7c5c9 Choose a style for comment
Be nice with simpler regex



SVN revision: 50972
2010-08-10 19:12:07 +00:00
Tom Hacohen 14932a769e evas: Fixed compilation warnings in xrender_x11 engine.
SVN revision: 50957
2010-08-10 08:17:06 +00:00
Tom Hacohen f7e902d3e7 evas: Fixed compilation warnings in software_16 engine.
SVN revision: 50955
2010-08-10 07:40:09 +00:00
Carsten Haitzler ccfd7f27fc 1. slightly optimise a get opaque call. (some tests get a 5-10% speedup)
2. gl - be stricter on gl-es texture formats.



SVN revision: 50950
2010-08-10 02:35:07 +00:00
Carsten Haitzler ca29063b28 magic numbers. :)
SVN revision: 50924
2010-08-09 08:38:28 +00:00
Carsten Haitzler a584de2a2c useless repeats... remove.
SVN revision: 50923
2010-08-09 07:13:58 +00:00
Carsten Haitzler 1b57456706 fix yuv with gl pipe stuff.
SVN revision: 50920
2010-08-09 04:59:14 +00:00
Carsten Haitzler 65b6845759 allow for debug checking of # of flushes per frame. checking to see if
this all works



SVN revision: 50919
2010-08-09 04:54:05 +00:00
Carsten Haitzler 6320a8db84 make new pipes have an env var for tuning, remove old comment code,
fix up yuv and maps to use pipes too. yes lines just flush it all - so
be it. :) who uses lines anyway?



SVN revision: 50918
2010-08-09 04:42:15 +00:00
Carsten Haitzler 66cace4f44 some major re-jig to get multiple render pipes in gl at once... some
chunky speedups to be had in real-life cases by avoiding more array
flushes.



SVN revision: 50917
2010-08-09 03:27:59 +00:00
Carsten Haitzler 18f7411d9e well well. i broke that. gles enignew builds again.
SVN revision: 50852
2010-08-06 04:37:06 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler 9275e5beb2 re-jig native surface stuff to share the same gl image between
multiple instances of the same pixmap.



SVN revision: 50758
2010-08-03 06:09:53 +00:00
Carsten Haitzler 3b6c09d89b allow max cutout rects to be tunable. and change3 default for gl?
SVN revision: 50736
2010-08-02 06:46:38 +00:00
Carsten Haitzler 50649552e3 dont sync if vsync not set...? (good?)
SVN revision: 50735
2010-08-02 06:44:23 +00:00
Carsten Haitzler 04df26bef5 aaah yes. get the ref -1 as free will dec it.
SVN revision: 50662
2010-07-29 23:32:56 +00:00
Carsten Haitzler f20b010d41 now work?
SVN revision: 50635
2010-07-29 06:21:51 +00:00
Christopher Michael 28a5e44f7d Make evas build again (here at least).
Added missing unicode & bidi opts to necessary places.
Fixes lots of compiler warnings.

NB - Not all engines tested. If you spot a problem wrt any specific
engine, please report it.



SVN revision: 50601
2010-07-28 17:57:18 +00:00
Tom Hacohen a6d428334f Evas: Changing the font engine to work with Eina_Unicode instead of utf8.
Changing textblock and text objects to work with Eina_Unicode instead of utf8 (internally, API remains intact).
Started relying on new fribidi 0.19.2 instead of the old fribidi.
A lot of fixes to the font engine.
Renaming of evas_common_font_utf8_* to evas_common_encoding_utf8_*
This relies on new Eina changes and types: Eina_Unicode, Eina_UStrbuf and Eina_UStringshare.

SVN revision: 50595
2010-07-28 12:00:41 +00:00
Carsten Haitzler 1a0f8b1c51 try this one
SVN revision: 50589
2010-07-28 08:11:30 +00:00
Carsten Haitzler 1154cf402c add new win before deleting old.
SVN revision: 50584
2010-07-28 06:00:02 +00:00
Carsten Haitzler c4da05607d and add in the 8bpp gray stuff
SVN revision: 50571
2010-07-28 02:27:29 +00:00
Alexander Kerner 0ec2a33a22 From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.



SVN revision: 50560
2010-07-28 00:16:06 +00:00
Carsten Haitzler e80f08b4b4 bitrot-- > work again (minus map features etc. tho)
SVN revision: 50192
2010-07-12 02:47:02 +00:00
Christopher Michael fefbc09a63 Move Evas (and associated headers) to their own dir (ie: the 'eet.h'
move).



SVN revision: 50141
2010-07-09 06:10:55 +00:00
Lucas De Marchi 9df58ae530 Remove NULL pointer dereference
Bug found by the "andand" semantic patch:

// The right argument of || or && is dereferencing something known to be NULL
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, INRIA, DIKU.  GPLv2.
// URL: http://coccinelle.lip6.fr/rules/andand.html
// Options:

@ expression@
expression E;
identifier fld;
@@

- !E &&
+ !E ||
  <+...E->fld...+>

@ expression@
expression E;
identifier fld;
@@

- E ||
+ E &&
  <+...E->fld...+>




SVN revision: 50118
2010-07-08 03:21:33 +00:00
Carsten Haitzler 166dc4c594 try no surf/context etc. on free in egl.
SVN revision: 49790
2010-06-22 00:06:40 +00:00
Carsten Haitzler 7f99f93744 use before freeing to make sure context is right
SVN revision: 49781
2010-06-21 07:59:46 +00:00
Carsten Haitzler a08e99cd82 warnings--
SVN revision: 49765
2010-06-20 06:32:05 +00:00
Christopher Michael 3ba73cf34b No reason to include the same header twice.
SVN revision: 49449
2010-06-04 16:00:28 +00:00
Carsten Haitzler 5cad6a1c95 fix crash on null yuv.
SVN revision: 49392
2010-06-02 09:15:01 +00:00
Carsten Haitzler eaad0eb095 big patch from Samsung SAIT (Advanced research group) for async multi-frame
rendering. to turn on:

1.
configure with --enable-async-render
2.
export EVAS_RENDER_MODE=non-blocking
  
presto. necessitates some api swizzling (thus the expedite. ecore etc. changes)

the kind of results you get on a desktop:

http://www.rasterman.com/files/evas-async-vs-none.html



SVN revision: 49087
2010-05-21 07:10:45 +00:00
Carsten Haitzler 8cc1f752d0 be paranoid about gl context - reset it to "0" every frame.
SVN revision: 49065
2010-05-20 15:24:28 +00:00
Carsten Haitzler 6ebb4a2152 2 more symbosl not exported - there, but hidden if visibility hidde.
SVN revision: 49004
2010-05-19 13:00:08 +00:00
Carsten Haitzler 7bf5eee839 fix symbols! oops.
SVN revision: 48980
2010-05-18 14:45:50 +00:00
Carsten Haitzler cedba3f7d9 handle gl init fialure correctly and dont mess up font init.
SVN revision: 48959
2010-05-18 04:22:33 +00:00
Carsten Haitzler 4fefcad954 if shader compile fails - peroclate error back up to engine info_set so we
know gl engine is useless.



SVN revision: 48956
2010-05-18 03:49:59 +00:00
Carsten Haitzler 53fb870568 hmmmm gl-es doesnt like that texture2d thing. disable again.
SVN revision: 48774
2010-05-12 03:27:34 +00:00
Carsten Haitzler fa6a067737 gl engine now does rotates (0, 90, 180, 270), like software engines
SVN revision: 48704
2010-05-09 05:15:20 +00:00
Carsten Haitzler 7713be2a89 fix map bug - overzealous optimising. missed case in opt.
SVN revision: 48465
2010-04-30 11:24:22 +00:00
Gustavo Sverzut Barbieri 2e4b0fddd8 load ~/.Xdefaults less often, make it shared and free its resources.
SVN revision: 48420
2010-04-29 15:32:47 +00:00
Gustavo Sverzut Barbieri 66475f25c3 Load Xft.dpi from ~/.Xdefaults as well.
Do this for consistency with other applications, some people just set
.Xdefaults but do not have xrdb to load it to screen. This works with
most of the systems, like Gtk and Qt, but not in Evas, so we get
different font sizes as they calculate based on DPI.

HOWEVER, and this may be a big thing, so RASTERMAN take a look, this
might impose a performance hit on window creation... remember that
every E17 popup/tooltip will hit this process of reading the file (if
exists) and then query X server (round trip).
    I'd rather make this a global resource, loaded just once for all
created windows, we can store the mtime to know when it changed and
invalidate the pointer... but as Raster did not keep the
XrmGetDatabase() result as global, I'm not doing it here either.



SVN revision: 48403
2010-04-28 20:26:04 +00:00
Carsten Haitzler c4e6db910d enable that stuff - shouldnt hurt to be explicit.
SVN revision: 48383
2010-04-28 05:14:02 +00:00
Carsten Haitzler afe65d7c0a add ability to dump engine coontents (if engine supports it). this means
unload images it has loaded from disk, unload fonts, and more. dump dump dump!



SVN revision: 47947
2010-04-12 08:23:53 +00:00
Vincent Torri 4a54173b20 remove useless include
SVN revision: 47838
2010-04-08 17:39:26 +00:00
Carsten Haitzler 197e4b7bad some debugging i get to turn on sometimes... off now.
SVN revision: 47618
2010-03-31 09:25:21 +00:00
Cedric BAIL 3d27a7b9e4 * evas: improve thread rendering by moving image loading in worker thread.
SVN revision: 47434
2010-03-24 19:07:59 +00:00
Cedric BAIL 3059ecd31c * evas: fix bug that impact performance of map.
TODO: Got the idea that we could spread the load of image data
	on all proc instead of blocking on the main thread for that.


SVN revision: 47430
2010-03-24 16:51:51 +00:00
Cedric BAIL 1a51c662bf * evas: make map work with threaded rendering.
SVN revision: 47429
2010-03-24 16:39:39 +00:00
Carsten Haitzler 3cf6e2fde7 1. clean up egl better on context shutdown
2. clean up pprograms/shaders on shared shutdown



SVN revision: 47386
2010-03-23 09:55:02 +00:00
Carsten Haitzler 68db2638fa fix rect clip bug in gl engine - oops.
SVN revision: 47370
2010-03-22 09:55:50 +00:00
Carsten Haitzler f2b1114521 actually... do canvas free.
SVN revision: 47362
2010-03-22 05:33:46 +00:00
Carsten Haitzler eb4c4a29b3 actuallyu free gl context//terminate on last gl window gone.
SVN revision: 47361
2010-03-22 05:33:20 +00:00
Cedric BAIL a859e60140 * evas: Make evas_object_move on Evas_Object_Polygon work.
TODO: Make evas_object_resize work also.


SVN revision: 47291
2010-03-16 13:23:37 +00:00
Carsten Haitzler a67d080b06 some internalling of symbols and formatting
SVN revision: 46702
2010-03-01 16:17:11 +00:00
Carsten Haitzler bfd8514063 fix calloc with negative values - missing size set initially!
SVN revision: 46701
2010-03-01 15:51:22 +00:00
Carsten Haitzler 3b71758aea fix some more possible bad callocs
SVN revision: 46699
2010-03-01 15:03:13 +00:00
Carsten Haitzler 2f1ffe9863 fix ... negative calloc... hrrrm
SVN revision: 46696
2010-03-01 14:37:37 +00:00
Carsten Haitzler 8bac55ed06 ok cant get this info until a context is made current. aaagh. tat means i
cant decide on the config attrs to pass based on vendor. :(



SVN revision: 46690
2010-03-01 13:08:07 +00:00
Carsten Haitzler 2f8e37e654 disabel the rgb select for now until nokia fix their bugs.
SVN revision: 46687
2010-03-01 12:45:47 +00:00
Carsten Haitzler c6117c504c turn this off - definitely broken on n900! bug filing time!
SVN revision: 46685
2010-03-01 12:29:10 +00:00
Carsten Haitzler c76d28e4d2 oooh oops. colormap etc. was wrong. fix fix fix. no debug... driver bugs tho...
SVN revision: 46683
2010-03-01 12:00:54 +00:00
Carsten Haitzler d7aa78290c make egl work again.. sgx egl broken tho :(
SVN revision: 46680
2010-03-01 06:49:46 +00:00
Carsten Haitzler 07e3e08384 oops - fix.
SVN revision: 46679
2010-03-01 05:19:00 +00:00
Carsten Haitzler 5ae0845c1c begin work on argb window support for gl - glx/gl doesnt work. i think egl/gles
will tho.



SVN revision: 46677
2010-03-01 04:44:23 +00:00
Carsten Haitzler 8c14ff2e76 hmmmm oops. re-enable bgra support.
SVN revision: 46577
2010-02-27 10:34:19 +00:00
Carsten Haitzler 6559804d43 found booboo on non-bgra extended gl-es.
SVN revision: 46576
2010-02-27 10:31:17 +00:00
Carsten Haitzler 9dcca83a08 fix alpha set/unset on image obj in gl engine.
SVN revision: 46344
2010-02-21 15:49:44 +00:00
Carsten Haitzler 64a129f1fa stderr for that output! one day it will go - but for now, it stays.
SVN revision: 46329
2010-02-20 05:36:45 +00:00
Carsten Haitzler e1f2ad1f76 and merge some delcaration lines for compactness
SVN revision: 46328
2010-02-20 04:49:03 +00:00
Carsten Haitzler c26d5bc2bc simplify shaders to have fewer tmp vars. in case of dumb shader compilers.
SVN revision: 46327
2010-02-20 04:37:22 +00:00
Vincent Torri 298da926f1 check OpenGL version:
* OpenGL ES : 2.0
 * OpenGL desktop : >= 1.4

If OpenGL ES 3.* is out, this code must be fixed

If there are problems with the minimal version on desktop,
we will have to increase the minimal version.

Question: should we check GLSL version on desktop ?


SVN revision: 46309
2010-02-19 14:33:49 +00:00
Carsten Haitzler 1244978ecd disable error gets - minor impact to keep getting errors - but stil an impact
if we dont need to know what they are.



SVN revision: 46270
2010-02-18 08:54:24 +00:00
Carsten Haitzler 0fecb5ede7 and fix some over-zealous optimising.
SVN revision: 46269
2010-02-18 08:51:00 +00:00
Carsten Haitzler 136316d6ce more shaders... for more speeeeeeds!
SVN revision: 46268
2010-02-18 08:36:07 +00:00
Carsten Haitzler 25f169fc21 dont need these with shaders.
SVN revision: 46267
2010-02-18 07:21:17 +00:00
Carsten Haitzler c7695857f7 lots more shaders!
SVN revision: 46266
2010-02-18 07:10:28 +00:00
Gustavo Sverzut Barbieri 5777eee064 do not access NULL image data for native surfaces.
This fixes another segv that happens when using composite manager.


SVN revision: 46265
2010-02-18 02:51:27 +00:00
Cedric BAIL ed5adb020f * evas: Sync DirectFB engine with last Evas engine API.
Note: More test are needed, but basically, you have map running with DirectFB. Enjoy !


SVN revision: 46249
2010-02-17 17:24:27 +00:00
Cedric BAIL 17653e550c * evas: Fix SDL map usage (raster edje map test is working :-) ).
SVN revision: 46247
2010-02-17 15:22:58 +00:00
Carsten Haitzler ac2f03b865 fix small potnential bug in map rendering.
SVN revision: 46242
2010-02-17 08:05:19 +00:00
Carsten Haitzler 0a373f4d19 done need egl errors there.
SVN revision: 46241
2010-02-17 07:34:22 +00:00
Carsten Haitzler fcf092e6d7 get ansio ext + max val.
SVN revision: 46240
2010-02-17 07:26:44 +00:00
Carsten Haitzler 6b42415c3b fix err output.
SVN revision: 46239
2010-02-17 06:27:22 +00:00
Carsten Haitzler 6de08e07fa fix maps with alpha.. sorry about that!
SVN revision: 46235
2010-02-17 04:48:53 +00:00
Carsten Haitzler c474d55267 oops fix erro check.
SVN revision: 46234
2010-02-17 04:30:58 +00:00
Carsten Haitzler dc8fdf5e3a lots of gl error catching.. if gl errors happen.
it's a #defined macro so it can be removed.
 


SVN revision: 46233
2010-02-17 04:21:59 +00:00
Carsten Haitzler 0be05b9046 be less pedantic on fglrx.
SVN revision: 46229
2010-02-17 02:11:47 +00:00
Carsten Haitzler 440f6d0d7b change gl engine api a little - fixed in ecore-evas and expedite. expose
indirect option in ecore-evas with a new opt param for gl engines - will add
more opts over time.



SVN revision: 46177
2010-02-15 05:05:05 +00:00
Carsten Haitzler b933154d21 add checks for vendor etc. too
SVN revision: 46176
2010-02-15 04:12:50 +00:00
Carsten Haitzler c2431a688d and be paranoid if context createion fials - try again with other direct
options



SVN revision: 46168
2010-02-14 15:15:28 +00:00
Carsten Haitzler cee4d504cf add indirect engine option - and do glsym for glxcreatepixmap and friends.
SVN revision: 46167
2010-02-14 15:12:39 +00:00
Vincent Torri 0a87819b44 apply raster's changes to the xcb engine
SVN revision: 46134
2010-02-13 12:28:08 +00:00
Carsten Haitzler 6abac56d9d dont need these 2 syncs.
SVN revision: 46126
2010-02-13 11:37:34 +00:00
Carsten Haitzler c487a6aa70 work on adding copy back -> front partial swaps back in... tho it does
nothing atm.. odd! disabled tho.



SVN revision: 46077
2010-02-11 14:41:44 +00:00
Carsten Haitzler 7fb7677794 printf--
SVN revision: 46044
2010-02-10 13:36:33 +00:00
Carsten Haitzler 5c236def11 more work on compositing
SVN revision: 46043
2010-02-10 13:36:06 +00:00
Carsten Haitzler 22bcb163f2 compositing ok on glx - need this for more testing and dev!
SVN revision: 46035
2010-02-10 06:24:21 +00:00
Carsten Haitzler 353f4bb6ec reduce binds when things get clipped and split.
SVN revision: 45928
2010-02-06 08:38:26 +00:00
Carsten Haitzler ee6abe9ca0 disable
SVN revision: 45828
2010-02-03 04:36:05 +00:00
Carsten Haitzler 0ee6420e42 move to eglwaitnative - still doesnt help tho:(
SVN revision: 45802
2010-02-02 11:50:49 +00:00
Carsten Haitzler 466fb263ac clean up gl text-from-pixmap a bit
SVN revision: 45796
2010-02-02 07:00:10 +00:00
Carsten Haitzler 2087f9468c fix! broek egl compositing. fixed now.
SVN revision: 45792
2010-02-02 05:30:19 +00:00
xcomputerman 34d7cdb3fc Fix broken build for non-GLES gl_sdl
SVN revision: 45763
2010-02-01 04:55:03 +00:00
Carsten Haitzler 37cd2fff83 make that an ifdef for gles
SVN revision: 45762
2010-02-01 04:40:48 +00:00
Carsten Haitzler a022e49d82 more complete gl-texture-pixmap handling, but still is broken on fglrx. hmmm.
SVN revision: 45750
2010-01-31 02:50:01 +00:00
xcomputerman 48f31c7cb0 Output GL info to stderr instead of stdout
SVN revision: 45731
2010-01-30 08:36:00 +00:00
xcomputerman bf69a60f64 Fix gl_sdl for WebOS -- need to check SDL_RESIZABLE because calling SetVideoMode() kills the GL context
SVN revision: 45730
2010-01-30 08:11:51 +00:00
Carsten Haitzler 2b33ec0988 put in little vsync option and section. not turned on by anything yet.
SVN revision: 45708
2010-01-29 17:14:50 +00:00
Carsten Haitzler ef3b81b395 some safety with freeing texture stuff
SVN revision: 45701
2010-01-29 10:53:53 +00:00
Carsten Haitzler 0aec2b4dcd oops - missed name.
SVN revision: 45697
2010-01-29 08:20:58 +00:00
Carsten Haitzler 325da4619c some build fixes... oops.
SVN revision: 45693
2010-01-29 06:33:10 +00:00
xcomputerman a61baea31e Various fixes to enable building SDL/OpenGLES
SVN revision: 45692
2010-01-29 06:12:35 +00:00
Carsten Haitzler dcd3b345e5 gles - update on t2pixmap
SVN revision: 45681
2010-01-29 05:32:51 +00:00
xcomputerman cdcc000942 Add OpenGL SDL engine
SVN revision: 45674
2010-01-29 02:31:37 +00:00
Carsten Haitzler 36270ab981 fix rgb textures on fglrx again
SVN revision: 45628
2010-01-27 15:29:24 +00:00
Carsten Haitzler c612e20b40 move fastpath where it should be
SVN revision: 45623
2010-01-27 06:49:21 +00:00
Carsten Haitzler be64dad971 debug--
SVN revision: 45555
2010-01-25 14:44:02 +00:00
Carsten Haitzler 7d25128c3d more debug
SVN revision: 45554
2010-01-25 14:29:30 +00:00
Carsten Haitzler 47ad18fafc more debugging
SVN revision: 45551
2010-01-25 14:02:14 +00:00
Carsten Haitzler 0948ee7e20 1. depth buf+ stencil buf explicityl zero for both glx and egl.
2. some debugging - havving issues. will revert debug stuff soon



SVN revision: 45550
2010-01-25 13:42:57 +00:00
Carsten Haitzler c12557d8f0 add pre/post swap callbacks. need them! :(
SVN revision: 45514
2010-01-24 11:01:20 +00:00
Carsten Haitzler e4200ef02b oops - need to enable it for htings to work
SVN revision: 45509
2010-01-24 05:41:53 +00:00
Carsten Haitzler b06b71050a ok. work on native pixmap suppport. have problmes - not sure why. see
comments (create/destory glx pixmap needed for updates to work, but this
makes rendering dead-slow. without it rendering is fast, but updates dont
happen (useless).

anyone know why glxcreatepixmap is needed as well as bindteximage+release
(and destroy pixmap) vs just bind/unbind?



SVN revision: 45508
2010-01-24 05:11:54 +00:00
Carsten Haitzler 18c8ea2e96 fix native surface stuff - rounding dimensions up was not smart! :)
SVN revision: 45484
2010-01-23 13:49:54 +00:00
Carsten Haitzler 31b9220a3e fix texture size alloc for native textures.
SVN revision: 45483
2010-01-23 13:21:04 +00:00
Carsten Haitzler abb6c09cd6 go back to rgba
SVN revision: 45437
2010-01-22 10:52:53 +00:00
Carsten Haitzler b2f0971068 fix variable
SVN revision: 45427
2010-01-22 05:55:46 +00:00
Carsten Haitzler 33ba2279fc some more cleanups - issed protecting 1 or 2 calls. gl still doesnt work tho
:) not on fglrx.



SVN revision: 45388
2010-01-21 12:43:53 +00:00
Carsten Haitzler dbf33fc10a some protection against playing with native surfaces (setting image size
doent re-alloc for example)



SVN revision: 45385
2010-01-21 09:42:26 +00:00
Carsten Haitzler ad2b33c0bb native surface support lives - for GL (GLX) only. it works - or seemingly
does in my test casses. doesn't work for compositing though! don't know why.



SVN revision: 45383
2010-01-21 08:44:11 +00:00
Carsten Haitzler efec562314 handle images that have alpha vhannel but are arbage (in gl) eg 0 or
something other than 0xff



SVN revision: 45350
2010-01-20 03:59:32 +00:00
Carsten Haitzler 250496b0ea hunting bug in fglrx libs - make comment!
SVN revision: 45330
2010-01-19 14:29:20 +00:00
Carsten Haitzler aad9a0113f dont destroy db - it's shared and initted on startup etc.
SVN revision: 44968
2010-01-08 07:51:30 +00:00
Carsten Haitzler d2a217d775 fix - destroy properly
SVN revision: 44967
2010-01-08 07:48:18 +00:00
Carsten Haitzler 2e7d9f6726 comment++
SVN revision: 44966
2010-01-08 07:21:15 +00:00
Carsten Haitzler 45d79a15cb allow x11 engines to get x resource that sets dpi.
SVN revision: 44965
2010-01-08 07:10:53 +00:00
Vincent Torri 30a413d330 Fix a crash in the xcb engine
It is still broken when shm is used. I don't know why
Fix other possible issues when shapes are used


SVN revision: 44940
2010-01-07 06:42:42 +00:00
Carsten Haitzler 89bbb2c031 for now - disable scissors.. seems to b0rk thungs
SVN revision: 44838
2010-01-01 07:51:18 +00:00
Carsten Haitzler fa435074e0 1. line support in gl engine - as if anyone uses lines
2. fix clipping for gl maps - was setting them when it shouldnt.



SVN revision: 44782
2009-12-30 11:35:40 +00:00
Miculcy Brian ad22b7b227 fix declaration
SVN revision: 44774
2009-12-30 01:33:39 +00:00
Carsten Haitzler c3f6caa568 gl -> polygons now work. slow - but does it matter?
SVN revision: 44724
2009-12-27 00:40:25 +00:00
Gustavo Sverzut Barbieri 51c00c6526 fix evas image loading error reporting.
Evas image load was always reporint "generic" error, since it was
disconnected from actual loader modules.

This commit will break the module loader API (as it's restricted to
inside Evas, this should be no problem). The return was turned into
"Eina_Bool" for clarity, while an extra "int *error" is responsible to
report errors. This approach was choosen to force compiler warnings
and to try avoid mistakes as EINA_FALSE == EVAS_LOAD_ERROR_NONE and
thus we'd get opposite behavior if something slips.

Most loaders play well, except by eet that does not provide means to
know if the file open failed due missing file, incorrect format or
corrupted file :-(

Please report any issues. I added eina_log debugging to loader
functions, just run your Evas application as:

     EINA_LOG_LEVELS=evas_main:4 your_app




SVN revision: 44666
2009-12-22 23:11:57 +00:00
Cedric BAIL a27c701f27 * evas: Remove lot's of warning.
SVN revision: 44629
2009-12-21 15:52:12 +00:00
Carsten Haitzler bfd91eb67f remove excess tex update on dirty. some formattign and naming too.
SVN revision: 44592
2009-12-20 06:23:13 +00:00
Vincent Torri 8316ce2fec fix warning
SVN revision: 44566
2009-12-19 10:41:20 +00:00
Vincent Torri 4107ddf303 fix returned values
SVN revision: 44565
2009-12-19 10:36:43 +00:00
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