Carsten Haitzler
c7d15e868a
hmm llvm complaining -b ut again - i think its bogus. i just added an init of
...
count to 0 just in case thats what was tripping it up (as it didnt accoutn
for the for loop)
SVN revision: 46766
2010-03-02 02:25:33 +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
70c60370ca
ok use calloc - but.. i think llvm is wrong for:
...
http://people.profusion.mobi/~lfelipe/static_analysis/efl/efl-46715/evas/2010-03-01-1/report-wLmp95.html#EndPath
i can't see how that can be garbage.
SVN revision: 46764
2010-03-02 02:10:48 +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
f2f8e579b7
leak--
...
SVN revision: 46698
2010-03-01 14:50:56 +00:00
Carsten Haitzler
2f1ffe9863
fix ... negative calloc... hrrrm
...
SVN revision: 46696
2010-03-01 14:37:37 +00:00
Carsten Haitzler
8bd17b0d1d
fix links to include xrender link
...
SVN revision: 46695
2010-03-01 14:22:31 +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
Vincent Torri
555709fa24
abort when pthread is requested but not found
...
patch by Albin Tonnerre
SVN revision: 46657
2010-02-28 17:28:43 +00:00
Carsten Haitzler
d0551b44e4
eek - map event adjus gone wrong. fix!
...
SVN revision: 46581
2010-02-27 15:12:54 +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
b8955f3a50
neon back - found the bug! expedite!
...
SVN revision: 46572
2010-02-27 07:50:11 +00:00
Carsten Haitzler
b62185b395
disabel neon blend for now.. i smell some trouble somewhere.
...
SVN revision: 46570
2010-02-27 07:29:16 +00:00
Gustavo Sverzut Barbieri
9c3af651ba
simplify and optimize parsing of percentage and float values.
...
Use strtod() and avoid couple of walks. Of course the walks were quite
small and it will not bring noticeable improvements, but code is
smaller and easier to read, so why not?
SVN revision: 46530
2010-02-26 22:51:07 +00:00
Gustavo Sverzut Barbieri
62301bc16d
minor but easy speedups for tag processing.
...
keep tag and replacement size, compare it before doing strcmp() and
return the size so further calculations use it (eina_strbuf_append()
-> eina_strbuf_append_length())
SVN revision: 46529
2010-02-26 22:32:07 +00:00
Gustavo Sverzut Barbieri
3a11fbe02c
use eina_strbuf faster variants whenever possible.
...
call me your bitch, call me your duplicated code, call me your complex code!
SVN revision: 46528
2010-02-26 22:03:25 +00:00
Cedric BAIL
bb8ede02af
* evas: Always redraw Textblock on style change.
...
SVN revision: 46469
2010-02-25 16:31:00 +00:00
Cedric BAIL
4d945f2c6a
* evas: Remove duplicated code.
...
SVN revision: 46466
2010-02-25 15:10:05 +00:00
Vincent Torri
aab5142dd5
revert
...
SVN revision: 46455
2010-02-25 05:59:44 +00:00
Vincent Torri
ca54f3d22b
change option --enable-pthreads to --enable-threaded-rendering
...
change your scripts if needed
SVN revision: 46453
2010-02-25 05:39:30 +00:00
Cedric BAIL
7fcbff0e0e
* evas: Bring back Font Kerning cache as it does improve performance
...
by a good margin on my 4 targets (SGX-530, Tango2, NVidia G73).
SVN revision: 46388
2010-02-23 13:31:10 +00:00
Marc Andre Tanner
5b4ed37b9c
From: Marc Andre Tanner <mat@brain-dump.org>
...
Subject: [E-devel] [PATCH] evas: compile out unused dither tables
Don't include the rather large dither tables if small dithering code
is enabled during ./configure stage.
SVN revision: 46353
2010-02-22 08:12:49 +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
a4b6192e7f
border_scale ... possible++
...
SVN revision: 46340
2010-02-21 06:21:15 +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
Gustavo Sverzut Barbieri
21d95ade17
typedefs in events, makes life easier for bindings and pointer references.
...
SVN revision: 46211
2010-02-16 15:37:53 +00:00
Gustavo Sverzut Barbieri
e133d2f300
API break: proper Canvas events callback.
...
Canvas was (ab)using the same callback signature as Objects, so you
always got a confusing NULL parameter.
Just clean it up to be Evas_Object_Event_Cb and Evas_Event_Cb, each
with its own signature.
SVN revision: 46206
2010-02-16 12:59:37 +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
Gustavo Sverzut Barbieri
101ddb5c97
evas: help bindings.
...
* EVAS_CALLBACK_LAST as sentinel to detect number of events changed.
* Evas_Event_Cb typedef.
SVN revision: 46144
2010-02-13 15:52:51 +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
Michael Jennings
bc32b334d5
Add spec file support for software-16 engine.
...
SVN revision: 46125
2010-02-13 07:22:11 +00:00
Vincent Torri
b9ca64f7a5
formatting
...
SVN revision: 46110
2010-02-12 08:09:03 +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
Sebastian Dransfeld
5847c6f245
string_remove -> string_steal
...
Better naming
SVN revision: 46028
2010-02-09 21:06:27 +00:00
Vincent Torri
b2082d7527
compile also gl_common when gl engines are static
...
SVN revision: 45987
2010-02-08 16:14:32 +00:00
Sebastian Dransfeld
26ddf06980
Switch internal strbuf to eina strbuf
...
SVN revision: 45944
2010-02-06 20:41:53 +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
327dbc9a72
small fix for over-zealous limiting of draws - use clip regions instead.
...
SVN revision: 45861
2010-02-04 07:41:07 +00:00
Vincent Torri
c3915edab7
use efl_fnmatch m4 macro
...
SVN revision: 45853
2010-02-03 20:57:36 +00:00
Carsten Haitzler
1dedddf95d
big speedups for scrolling and drawing big textblock (once they are
...
formatted) as it will skip (relatively quickly0 draws outside the canvas
viewport. this could become quicker with a fask line-skip table to specific
coordinates, but for now, it's a
LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOT
better. like going from 1fps to 60fps+
SVN revision: 45836
2010-02-03 15:47:13 +00:00
Carsten Haitzler
c0baeaeb68
1. fix fcfini issue i hit - yes . things may look like they leak in valgrind
...
- they dont. in reality.
2. major text rendeering speedups. up to 41% in textblock intl, 33% in
textblock basic, 12-20$ in other text rendering tests. generic eina hash's
are just tooo slow for what we are doing there. specialised "Fash"
blocked-array.
3. still LOTS of optimisations left.
SVN revision: 45829
2010-02-03 11:18:00 +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
Iván Briano
27eccf0332
When a clipper is no more, redraw the portion of the canvas it takes.
...
SVN revision: 45781
2010-02-01 19:50:01 +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
f35fa585c4
add 3 things
...
1. the concept of callbacks for a canvas as a whole. add/ del/ del_full these
2. focus in+out events for the canvas as a whole - can help solve some issues
with inoput methods + ecore-imf + entries (like edje_entry)
3. add callabcks to be called before/after flush of display.
SVN revision: 45761
2010-02-01 04:26:55 +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
2b06b06b33
dnl--
...
SVN revision: 45728
2010-01-30 03:19:51 +00:00
Vincent Torri
20d5a675db
* undef close() and open() in evas_module also for mingw
...
* init Evil in eina as it uses fcntl() with the winsock2 library
* fix compilation of evas_cache_image.c with mingw
* formatting
SVN revision: 45724
2010-01-30 00:09:29 +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
Vincent Torri
0ffcae731c
formatting
...
SVN revision: 45696
2010-01-29 07:47:33 +00:00
xcomputerman
d3bfe37afa
Better test for gl_common; fix SDL_opengles defines
...
SVN revision: 45695
2010-01-29 07:42:24 +00:00
Vincent Torri
8d2b0b7ff5
portable echo -n
...
SVN revision: 45694
2010-01-29 07:35:33 +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
d71885ab87
Add missing pkgconfig file
...
SVN revision: 45676
2010-01-29 03:19:13 +00:00
xcomputerman
cdcc000942
Add OpenGL SDL engine
...
SVN revision: 45674
2010-01-29 02:31:37 +00:00