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