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
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
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
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
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
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
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
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
Boris Faure
b2f665d0b2
evas: remove useless include. patch by vtorry
...
SVN revision: 45660
2010-01-28 12:38:21 +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
Carsten Haitzler
82ea9859e8
fastpath for map that are... well.. not mapped.
...
SVN revision: 45574
2010-01-26 08:16:36 +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
5eadacbaf8
avoid recursion!
...
SVN revision: 45548
2010-01-25 11:04:32 +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
Vincent Torri
8d9d9ea3a3
fix warnings
...
patch by Albin Tonnerre
SVN revision: 45430
2010-01-22 06:51:27 +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