Brett Nash
aa59164001
Support for Proxy Objects (and others)
...
Proxy objects allow you to use another image as the source of an image.
Essentially allowing the same object to be rendered multiple times. One
object (the source) is the original, each additional 'copy' is an image with
evas_object_image_source_set.
This is complete.
Also add partially working arbitrary maps, and arbitrary clipping.
Unfortunately both have some issues yet to be resolved (waiting on the next
feature to get merged together).
SVN revision: 56777
2011-02-06 23:52:17 +00:00
Tom Hacohen
94b5a536f0
Evas font/textblock/text: Started using string objects instead of
...
strings in most of the font engine (everywhere except draw).
Haven't removed the paramteres yet, but did mark them as UNUSED.
Removing them will be part of a future change.
Removed run-time OT toggling support, OT is now fast, no need for that.
Renamed all of the intl_props->text_props (because it really changed purpose now)
Fixed spliting/merging of text_props to be fast and good, not hacky and
complex like before.
Note to reviewers: Most of the changes are indentation related, sorry
for the mess, but I had to do it all in one commit, splitting was not
trivial (at least not in retrospect). The important parts are
evas_font_default_walk.x and text_utils.c. query and draw were just
adjusted a bit and the rest were only adjusted to conform to renaming or
were renaming on their own.
SVN revision: 56629
2011-02-01 12:17:52 +00:00
Tom Hacohen
cdb54ed92d
Revert "Snapshot." - didn't mean to commit this :(
...
This reverts commit 521198281e4ac616fee48d27aae9e6983d5950c3.
SVN revision: 56556
2011-01-30 13:58:06 +00:00
Tom Hacohen
d6feccdebb
Snapshot.
...
SVN revision: 56552
2011-01-30 13:55:04 +00:00
Tom Hacohen
ff18fa8399
Evas: Multiple changes that all relate to the Harfbuzz integration:
...
1. Started feeding Evas_Text_Props to the font engine instead of Evas_BiDi_Props because no we have more general text properties as well - i.e, OpenType stuff.
2. Full Harfbuzz integration which gets compiled in by default (if harfbuzz is present) but only works if the environment variable EVAS_USE_OT is set to 1 (because OT is way slower than regular text rendering).
3. Cleaned the font querying/drawing functions.
4. Added font_shaped function to all of the engines, which by default calls teh harfbuzz stuff (default on linux that is).
5. Moved some source files around a bit to make more sense.
SVN revision: 56455
2011-01-30 10:36:39 +00:00
Tom Hacohen
952ba44f0b
Evas font engine: Added evas_common_font_query_pen_coords.
...
SVN revision: 56432
2011-01-30 10:34:07 +00:00
Carsten Haitzler
1b89a7ac5f
change map points to use double and floats to reduce perspective
...
correction adjustment seams in gl engine. almost all gone.
SVN revision: 56180
2011-01-16 07:49:49 +00:00
Mike Blumenkrantz
d46942090d
unless I'm going insane, this should return here to avoid an immediate null deref with configs[i]
...
SVN revision: 56099
2011-01-14 06:35:03 +00:00
Carsten Haitzler
fdc17c8c84
oooh thank you valgrind! found some bad mem access stuff in the gl
...
engine on shutdown. was freeing the wring kind of thing in the first
place.. and even then it should be more robust, so fix gl texture
robustness and this bug. can cause on-exit crashes if not fixed.
SVN revision: 56068
2011-01-13 10:41:08 +00:00
Carsten Haitzler
87a0e6575d
and avoid some work if there is nothing to flush at all.
...
SVN revision: 55978
2011-01-07 10:22:22 +00:00
Carsten Haitzler
d7e8cfba62
egl actually doesnt need a full reset - we CAN get the current context
...
and draw/read surfaces.
SVN revision: 55977
2011-01-07 10:16:17 +00:00
Carsten Haitzler
13df30ab2b
i read the other day that glgeterror... causes driverstalls.. at least
...
in some drivers/architectures... so this may slow things down. disable.
SVN revision: 55976
2011-01-07 10:04:41 +00:00
Carsten Haitzler
efc042f2e7
missing support for swapinterval api in glx.
...
SVN revision: 55754
2010-12-26 10:15:28 +00:00
Vincent Torri
2e0a136385
warnings--
...
SVN revision: 55496
2010-12-11 13:17:26 +00:00
Carsten Haitzler
59b94cec34
and dont seg there.
...
SVN revision: 55319
2010-12-06 09:07:56 +00:00
Carsten Haitzler
640a4030f3
change native api to allow for other types of native data like texture
...
id's, fbo's etc. too - at least it's versioned now.
SVN revision: 55315
2010-12-06 07:09:51 +00:00
Carsten Haitzler
4147f2f231
make sure we ensure out gl context is current at each frame start
...
SVN revision: 55131
2010-12-02 08:01:19 +00:00
Cedric BAIL
6de3f7e778
* evas: fix static build of GL SDL engine.
...
SVN revision: 54589
2010-11-16 13:09:14 +00:00
Cedric BAIL
bc9e164c12
* evas: fix frame building.
...
SVN revision: 54584
2010-11-16 10:52:10 +00:00
Cedric BAIL
83b8ee3cd8
* evas: provide alternative schema for finding framebuffer.
...
Patch by Eduardo Felipe <eduardofelipe87@gmail.com>
SVN revision: 54472
2010-11-11 18:48:50 +00:00
Vincent Torri
8d05590677
set log domain to -1 after unregistering it
...
SVN revision: 54222
2010-11-06 09:42:24 +00:00
Carsten Haitzler
29a707fdf8
eek - case of stride value being wrong! fix!
...
SVN revision: 54087
2010-11-02 08:18:16 +00:00
Carsten Haitzler
cb7268cbac
formatting.
...
SVN revision: 53908
2010-10-27 00:03:49 +00:00
Carsten Haitzler
3a568d6fd4
fmting.
...
SVN revision: 53887
2010-10-26 07:00:26 +00:00
Carsten Haitzler
3a9d3268d2
fix warnings in async render code.. and well.. warn about it - it
...
crashes for me in expedite with 4 cores on x86 at random points. looks
like it's bitrotting. though it was relatively tentative to begin with.
SVN revision: 53856
2010-10-25 11:27:17 +00:00
Carsten Haitzler
2a9c976ec0
only set swap interval if it changes for egl - and dont waitgl if swap
...
native is available.
SVN revision: 53849
2010-10-25 07:22:43 +00:00
Carsten Haitzler
57b70bdb14
put in special known "save native" case to avoid needing the env var.
...
SVN revision: 53844
2010-10-25 01:57:48 +00:00
Carsten Haitzler
5bf2fbcc63
make sure they are extern fn pointers
...
SVN revision: 53831
2010-10-24 13:30:27 +00:00
Carsten Haitzler
d3a897bb54
allow evas gl engine skipping wait native if known to be safe.
...
SVN revision: 53760
2010-10-22 08:17:37 +00:00
xcomputerman
b59fa21d74
Better.
...
SVN revision: 53584
2010-10-18 23:02:02 +00:00
xcomputerman
6c2545adc7
Fix compile for gl_sdl engine, now builds again
...
SVN revision: 53579
2010-10-18 19:17:59 +00:00
Carsten Haitzler
6bbe56fefc
fix for dyn image size change.
...
SVN revision: 53180
2010-10-08 05:11:32 +00:00
Gustavo Sverzut Barbieri
379b546adf
better logging.
...
* log domains in lower-case only please. let's make it a standard so
we don't have to look at the code everytime to figure out the name...
* logs do NOT require trailing newline (\n), it's automatic!
* do NOT add newline inside log messages!
* add gl_common logging.
NOTE: I tried to compile all modules, but there are clear broken
modules such as cairo and qtopia. Other modules like gl_sdl are
broken as they were not updated to new gl_common api (resize
method AFAIR).
SVN revision: 53174
2010-10-07 23:46:42 +00:00
Eduardo de Barros Lima
f61a1cb5cb
Evas: Don't #define _GNU_SOURCE
...
Instead use AC_GNU_SOURCE macro in configure.ac and #include <config.h> properly
SVN revision: 53159
2010-10-07 19:52:47 +00:00
Carsten Haitzler
21a7dde012
dynamic tex ref wrong. fix.
...
SVN revision: 53027
2010-10-04 11:17:11 +00:00
Howell Tam
307190c594
From: Howell Tam <howell.tam@fluffyspider.com>
...
Subject: Evas evas_gl_shader.c patch
Patch for evas_gl_shader.c, need to check shader compile
errors too, not only program linking errors.
Not that it's very useful now since all Evas' shaders are in
good shape already, but it was useful when we're mucking around with
things.
And also to make Robi happy that there are some FST
contributions to E ;) And probably more to come...
SVN revision: 52941
2010-10-01 06:33:17 +00:00
Carsten Haitzler
6abe0b3a94
fix flipped object texture if map enabled AND object happens to be
...
exactly viewport size.
SVN revision: 52940
2010-10-01 06:22:31 +00:00
Carsten Haitzler
5b45763676
aaaah and map in map clip and more bug fixes...
...
SVN revision: 52939
2010-10-01 04:46:04 +00:00
Carsten Haitzler
94bfb8fbe6
map in map render bug with gl - fix.
...
SVN revision: 52936
2010-10-01 03:40:12 +00:00
Carsten Haitzler
0e560f9db2
and make values int so we can have "-1" :)
...
SVN revision: 52934
2010-09-30 23:23:51 +00:00
Carsten Haitzler
5938bb97f7
found the gl engine flashing white bug with laucnher 3 map test! aaah
...
gl state bug/assumption. reset state when moving from 1 surface target
to another and then we are all happy. also fix lip geometry issue in
gl when rendering to non-default surf - related.
SVN revision: 52933
2010-09-30 23:20:26 +00:00
Carsten Haitzler
ae6922fbd0
make sure that at any point if gl barfs... abort then.
...
SVN revision: 52838
2010-09-28 04:13:28 +00:00
Carsten Haitzler
011b2ce822
brutally evil... internally.. but it works. map perspective correct
...
now in gl engine. hooray for that. one complaint less.
SVN revision: 52566
2010-09-22 06:52:28 +00:00
Lucas De Marchi
71cba7da35
Fix typos
...
"he->the" where appropriate
SVN revision: 52493
2010-09-20 17:09:13 +00:00
Carsten Haitzler
4b73f639d2
fix booboo
...
SVN revision: 52482
2010-09-20 01:32:05 +00:00
Gustavo Sverzut Barbieri
200fd80f4e
warnings-- on 16bpp and 8bpp
...
SVN revision: 52472
2010-09-19 20:11:42 +00:00
Carsten Haitzler
c54bd4052c
warning--
...
SVN revision: 52448
2010-09-19 02:33:19 +00:00
Carsten Haitzler
2f08e231e5
warning--
...
SVN revision: 52445
2010-09-19 02:10:09 +00:00
Carsten Haitzler
4faa8c38ca
warning--
...
SVN revision: 52444
2010-09-19 02:04:12 +00:00
Carsten Haitzler
649509a9c2
warning--
...
SVN revision: 52438
2010-09-19 01:33:51 +00:00
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