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
1a72827555
warnings--
...
warnings = 0.
SVN revision: 52449
2010-09-19 02:43:08 +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
857119a1c2
maybe actually fix things correctly eh? -> images load again.
...
SVN revision: 52435
2010-09-19 01:14:56 +00:00
Carsten Haitzler
ccb4dbd91b
fix gl stride
...
SVN revision: 52432
2010-09-19 00:28:58 +00:00
Carsten Haitzler
5d15f41500
warning--
...
SVN revision: 52430
2010-09-18 23:39:30 +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
Chidambar Zinnoury
fd44c06b68
Evas SVG loader: if both width and height scale dimensions are given, we want to use the biggest computed dimensions.
...
Fixes some ugly views if width and height factors are too much different.
See r51774.
Thank you Cédric!
SVN revision: 51775
2010-08-31 08:14:39 +00:00
Chidambar Zinnoury
e42df55f10
Evas JPEG loader: if both width and height scale dimensions are given, we want to use the biggest computed dimensions.
...
Fixes some ugly views if width and height factors are too much different.
SVN revision: 51774
2010-08-31 06:50:48 +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
Christopher Michael
cbe3c3a21c
Fix placement of __UNUSED__.
...
SVN revision: 51282
2010-08-18 15:20:48 +00:00
Cedric BAIL
c689865500
* evas: remove some warning.
...
SVN revision: 51281
2010-08-18 15:11:07 +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
Christopher Michael
b115cdf6b5
Remove unused variable(s).
...
SVN revision: 50716
2010-07-31 16:57:09 +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
Lucas De Marchi
2a84379ba9
Remove unneeded code with notnull.cocci script
...
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:
if (!var) return;
if (var && var->fld) { ... }
It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.
SVN revision: 50241
2010-07-14 02:05:47 +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
Vincent Torri
7eacb5c1d4
use (A)RGB_JOIN macro
...
SVN revision: 49562
2010-06-08 05:39:46 +00:00
Carsten Haitzler
05c5b03d5e
Snapshot evas
...
SVN revision: 49532
2010-06-06 17:26:38 +00:00
Vincent Torri
a84e00ed28
as we use fopen ourself, no need to use the wrapping for win ce
...
SVN revision: 49527
2010-06-06 17:18:10 +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
d231f624eb
distcheck!
...
SVN revision: 49342
2010-05-31 01:34:43 +00:00
Carsten Haitzler
9621532945
trga loader - snarfed 80% from imlib2. missing paletted mode (just
...
like the imlib2 one) but.. handles alpha correctly- unlike imlib2 and
manyother loaders.
SVN revision: 49330
2010-05-30 17:48:19 +00:00
Carsten Haitzler
2cf09cdc4a
on data load alloc surface only if dimensiosn match
...
SVN revision: 49329
2010-05-30 15:34:22 +00:00
Carsten Haitzler
5f03706efa
oops - left over png thing.
...
SVN revision: 49328
2010-05-30 14:33:36 +00:00
Carsten Haitzler
6f6730eaf8
for shits and giggles... i wrote a bmp loader. i did look at the old
...
imlib2 bmp loader, but it was imcomplete compared to the bmp
standards, so i actually ended up reading the file format definitions
on line i could find and using lots of test images... wrote a new one.
you can at least view bmp files now. note - i found 1 bmp file that
claims to have an alpha channel (amask is non-empty) and then proceeds
to provide an image with pixels - all alpha 0. so its transparent when
it shouldnt be. beats me but looks like a broken bmp file to me when
it compes to specs.
SVN revision: 49324
2010-05-30 13:04:34 +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
Cedric BAIL
7c0098c1a3
* evas: fix race condition when file change between header read and data read.
...
WARNING: THIS RACE STILL EXIST IF YOU USE JPEG REGION.
SVN revision: 48200
2010-04-21 13:47:42 +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
fb9bde702e
static int for the log domain. Thanks, Gustavo
...
SVN revision: 47850
2010-04-08 22:55:54 +00:00
Vincent Torri
4a54173b20
remove useless include
...
SVN revision: 47838
2010-04-08 17:39:26 +00:00
Vincent Torri
fee33f22cb
add eina log stuff
...
SVN revision: 47837
2010-04-08 17:39:01 +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
Gustavo Sverzut Barbieri
f96faf0b67
stop using rsvg_term()
...
given that rsvg seems to be causing random problems for those using
svg icons in E17, I consider Lennart's advice to stop using
rsvg_term() quite useful.
Yeah... not everybody does excellent reference counted module
init/shutdown... shame on you ;-) (/me looks at fontconfig and couple
of others as well).
References:
- http://0pointer.de/blog/projects/beware-of-rsvg-term
- https://bugzilla.gnome.org/show_bug.cgi?id=592100
SVN revision: 47403
2010-03-23 22:13:51 +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
422bf813d4
theoraticel bug - llvm report. wouldnt actually happen if api used right.
...
SVN revision: 46765
2010-03-02 02:14:39 +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
Nicholas Hughart
9b343e33e3
libpng 1.4 no longer has png_check_sig, png_sig_cmp should be used instead. This exists in 1.2 as well and I'd hope noone is still on the 1.0 branch.
...
SVN revision: 45620
2010-01-27 05:52:27 +00:00