Carsten Haitzler
c687663f14
more bug--
...
SVN revision: 47274
2010-03-16 04:09:00 +00:00
Carsten Haitzler
541d00ea16
crash--
...
SVN revision: 47270
2010-03-16 01:35:05 +00:00
Carsten Haitzler
b86174f063
bug--
...
SVN revision: 47266
2010-03-16 00:56:11 +00:00
Carsten Haitzler
3033a7492a
wow - killed 2 bugs with 1 stone!
...
:)
SVN revision: 47229
2010-03-15 02:34:11 +00:00
Carsten Haitzler
09279e3b3a
segv--
...
SVN revision: 47207
2010-03-14 14:41:50 +00:00
Carsten Haitzler
eae926c08b
another bug--
...
SVN revision: 47204
2010-03-14 12:58:49 +00:00
Carsten Haitzler
2a78f7724c
more entry bug--
...
SVN revision: 47201
2010-03-14 12:24:42 +00:00
Carsten Haitzler
033322a0c5
inf loop--
...
SVN revision: 47198
2010-03-14 08:04:49 +00:00
Carsten Haitzler
2527f5f00f
fix valgrind complaints within tb - fixes an entry bug too.
...
SVN revision: 47197
2010-03-14 06:38:58 +00:00
Carsten Haitzler
5e3a5cc696
if cur not pointing to node.
...
SVN revision: 47196
2010-03-14 03:52:33 +00:00
Carsten Haitzler
f8493edc4b
printf--
...
SVN revision: 47174
2010-03-13 13:25:01 +00:00
Carsten Haitzler
a8c9ccba77
and fix cursor when entry is empty case. more cases to fix yet.
...
SVN revision: 47155
2010-03-12 11:15:19 +00:00
Carsten Haitzler
4277c3ea20
ok segv not there.. but behavior not good. now i rememebr why the <br> was
...
there... :) time to fix this another way.
SVN revision: 47154
2010-03-12 10:49:39 +00:00
Carsten Haitzler
aaaefc0b3e
fix 1 entry insert issue - also printf debugging for now
...
SVN revision: 47134
2010-03-11 14:29:25 +00:00
Vincent Torri
4eedfaf099
remove Evas_Data.h
...
SVN revision: 47075
2010-03-09 11:30:57 +00:00
Christopher Michael
f883c94804
Add macros (actually defines like hint_fill_set) for expand_set to
...
make it easier for people to know that weight_set handles expansion.
SVN revision: 46992
2010-03-08 08:36:08 +00:00
Carsten Haitzler
78eba185ef
according to dottedmag - this breaks things... i dndt see them - but.. lets
...
revert for now. i dont like breaks. :)
SVN revision: 46935
2010-03-07 07:29:26 +00:00
Carsten Haitzler
3f465fc58b
alow linesiae to get smaller - from mikhal
...
SVN revision: 46930
2010-03-07 06:48:48 +00:00
Gustavo Sverzut Barbieri
5463f0c5d3
update text when secundary colors change.
...
SVN revision: 46924
2010-03-07 04:48:52 +00:00
Carsten Haitzler
10da9b00a3
api for image content hint - nothing uses it yet, but... it will. and does
...
nothing right now... but that will be able to change. it opens up better
optimisation paths in future.
SVN revision: 46922
2010-03-07 04:19:17 +00:00
Carsten Haitzler
abd231ccf0
REVERT!!!! you broke evas build.
...
evas_object_textblock.c: In function ‘_nodes_next_merge’:
evas_object_textblock.c:380: error: ‘Evas_Object_Textblock_Node’ has no member named ‘len’
SVN revision: 46874
2010-03-04 16:22:28 +00:00
Mikhail Gusarov
a4157cbc2a
Insert more comments into _format and simplify if() logic as we go
...
SVN revision: 46873
2010-03-04 15:51:30 +00:00
Mikhail Gusarov
a5a07377f6
evas_textblock: Make maxascent/maxdescent variables local.
...
They are used in single function, so don't keep them in structure.
As a side-effect rework _layout_line_advance for better readability.
SVN revision: 46872
2010-03-04 15:02:10 +00:00
Mikhail Gusarov
4d49bef2fd
Evas_Textblock: store 'cursor' in the 'cursors' list to ease cursors handling
...
Some copy-pasted code removed as a result.
SVN revision: 46871
2010-03-04 15:02:02 +00:00
Mikhail Gusarov
cf68311687
evas_textblock: Get rid of code duplication in _nodes_adjacent_merge
...
SVN revision: 46870
2010-03-04 15:01:51 +00:00
Cedric BAIL
d790cbfd00
* evas: Now an object will only receive once the same event.
...
Previously, due to propagation to parent, an event could have
been received more than once by an object. This triggered
strange behaviour in edje for example where you could receive
mouse,down,1 signal many time for one swallowed object.
This patch is a fix for that problem, I hope it doesn't break
anything (e17 and elementary_test run fine here, but report
any break related to events please).
SVN revision: 46869
2010-03-04 14:48:21 +00:00
Cedric BAIL
f880806ff2
* evas: Fix update of textblock when style change.
...
SVN revision: 46786
2010-03-02 14:53:27 +00:00
Mikhail Gusarov
3e0ce16056
Document evas_object_textblock_replace_char_{get,set}
...
SVN revision: 46785
2010-03-02 14:00:45 +00:00
Carsten Haitzler
a94701bfce
also dont need itt.
...
SVN revision: 46772
2010-03-02 03:20:17 +00:00
Carsten Haitzler
0c17cdc62c
dont need itt here either. llvm shhh
...
SVN revision: 46771
2010-03-02 03:19:00 +00:00
Carsten Haitzler
eac0351854
ok - dont need itt at all - will make llvm quieter, but in this case it was
...
wrong.
SVN revision: 46770
2010-03-02 03:15:33 +00:00
Carsten Haitzler
6ef032a9e5
fix possiblre unaligned access issue - doesnt actually happen... but in
...
theory could.
SVN revision: 46769
2010-03-02 02:48:56 +00:00
Carsten Haitzler
1075ed2ce1
and complain if it fails. at least u will know :)
...
SVN revision: 46768
2010-03-02 02:31:16 +00:00
Carsten Haitzler
d99307b828
theoretical bug (crash) if realloc fails - but if it fails, we will leak,
...
so... it only moves to be another bug.
SVN revision: 46767
2010-03-02 02:30:03 +00:00
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
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
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
Carsten Haitzler
250496b0ea
hunting bug in fglrx libs - make comment!
...
SVN revision: 45330
2010-01-19 14:29:20 +00:00
Cedric BAIL
6a0668110d
* evas: Fix segv source by checking result before using it.
...
SVN revision: 45301
2010-01-18 20:04:21 +00:00
Carsten Haitzler
752a5bb7a4
add new check of in object list
...
SVN revision: 45284
2010-01-18 11:55:52 +00:00
Carsten Haitzler
6fab52157f
map source api - nothing implemented. for future expansion.
...
SVN revision: 45281
2010-01-18 09:46:45 +00:00
Carsten Haitzler
04bcfb9245
improving multi-touch structs and code.
...
SVN revision: 45248
2010-01-17 08:52:21 +00:00
Mikhail Gusarov
49863000f6
evas: Fix prototype of evas_textblock_style_set, 'text' argument can be NULL
...
SVN revision: 45245
2010-01-17 06:01:13 +00:00
Carsten Haitzler
151515d816
initial multi-touch support.
...
SVN revision: 45212
2010-01-16 12:20:22 +00:00
Cedric BAIL
3cbf825501
* evas: Fix header to build with suncc. Patch from Vincent Torri.
...
SVN revision: 45185
2010-01-15 12:15:00 +00:00
Sebastian Dransfeld
ef658ccd74
Fix wrong function names in doc
...
SVN revision: 45128
2010-01-14 20:52:57 +00:00
Vincent Torri
61daee00ae
dl stuff is only used in the gl_common engine as now,
...
the modules load is done by eina
will clean configure.ac wrt this later
SVN revision: 45092
2010-01-13 21:05:16 +00:00
Cedric BAIL
5d754e74e7
* evas: Fix serious typos that could generate dead lock.
...
SVN revision: 45087
2010-01-13 19:57:59 +00:00
Carsten Haitzler
42f1294b17
patch from sehwan@samsung.com for small issues in evas/edje
...
SVN revision: 45055
2010-01-12 01:45:10 +00:00
Iván Briano
3b160b4354
So... this breaks Smarts ABI, rebuild everything after updating Evas.
...
This patch adds some stuff for smart callback description/instropection, which
is still untested but doesn't break anything that's out there now. Should help
with bindings later on.
Also some parenting guidelines for smart objects, so it's easier to spawn a
subclass out of another. Look at Box and Table for an example on this.
And again, rebuild everything that uses smart objects after this update, or
the world will turn into a happy place where lawyers are no longer needed...
and we don't want to upset the lawyers.
SVN revision: 45043
2010-01-11 14:24:41 +00:00
Christopher Michael
d03271bf4a
Fix compiler warning about discarding pointer type.
...
SVN revision: 45021
2010-01-10 17:59:53 +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
ff86d27663
found divide by 0 in some circumstances -> fix.
...
SVN revision: 44932
2010-01-06 22:54:51 +00:00
Gustavo Sverzut Barbieri
da9ae913ae
better debugging for image load
...
SVN revision: 44885
2010-01-04 19:18:05 +00:00
Carsten Haitzler
36e6b34070
add a device handle to events - break their structs now for future use.
...
SVN revision: 44859
2010-01-03 00:30:02 +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
Cedric BAIL
7c00860cc1
* evas: Loader can now tell if they could be used in another thread or not.
...
xpm and svg loader don't allow preload at this time.
SVN revision: 44714
2009-12-24 13:15:34 +00:00
Cedric BAIL
f7172f2323
* evas: Update func to prevent segv.
...
SVN revision: 44686
2009-12-23 13:31:45 +00:00
Cedric BAIL
b28cf65fcc
* evas: Fix typo.
...
SVN revision: 44679
2009-12-23 10:50:07 +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
Gustavo Sverzut Barbieri
9f082cc1d4
stringify load errors.
...
SVN revision: 44660
2009-12-22 18:06:15 +00:00
Cedric BAIL
bd60dfd40e
* evas: Fix build when pipe rendering is disabled.
...
SVN revision: 44651
2009-12-22 12:58:07 +00:00
Cedric BAIL
1b80e16253
* evas_object_textblock: Add some cast to reduce warning noise.
...
SVN revision: 44648
2009-12-22 12:09:36 +00:00
Iván Briano
83a91a9ab9
There's more here than just warning fixes, it's causing crashes with some uses of elm_entry. Noted in Editje.
...
SVN revision: 44639
2009-12-21 19:07:51 +00:00
Cedric BAIL
9dc9b03db9
* evas: Fix bug introduced in warning removal patch.
...
SVN revision: 44638
2009-12-21 18:26:36 +00:00
Cedric BAIL
a27c701f27
* evas: Remove lot's of warning.
...
SVN revision: 44629
2009-12-21 15:52:12 +00:00
Cedric BAIL
579f2e5447
* evas_preload, ecore_thread: On memory allocation failure do call the cancel function too.
...
SVN revision: 44624
2009-12-21 12:25:32 +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
a09ba71047
include Evil.h so that getenv is declared on Windows CE
...
SVN revision: 44567
2009-12-19 10:58:39 +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
fdae6605b6
delete_me member is available on when async preload is available
...
SVN revision: 44564
2009-12-19 10:33:39 +00:00
Cedric BAIL
b0ffd95878
* evas: Complete rewrite of evas image preload code.
...
This code should be cleaner and easier to understand. It also provides
the ability to spread image decompression on all CPU core. I currently
set it to the exact number of CPU core you have in your machine, if you
find case where it slow down your EFL apps too much, we can reduce this
to give at least one core to evas.
All previous bugs related with async preload are gone, hopefully no
new one are in. Please report any problem with backtrace to me.
SVN revision: 44537
2009-12-18 11:03:31 +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
Cedric BAIL
b83490725c
* evas_font_dir: Add all guards.
...
SVN revision: 44446
2009-12-14 17:55:26 +00:00
Cedric BAIL
0ccf619ba0
* evas_font_dir: reduce use of FcFontSort by using cache as much as possible.
...
This reduce in EWeather the time spend in FcFontSort from 25% of the startup time
to 1% with a small memory footprint increase.
SVN revision: 44444
2009-12-14 17:27:51 +00:00
Carsten Haitzler
9ab9065669
clip maps in gl enigne.
...
SVN revision: 44424
2009-12-13 14:28:07 +00:00
Christopher Michael
42e16b816d
Fix typo.
...
SVN revision: 44381
2009-12-11 20:51:45 +00:00
Carsten Haitzler
2c7399ddfd
add check magic code!
...
SVN revision: 44326
2009-12-10 02:26:50 +00:00
Cedric BAIL
67a1af400c
* evas_cache_image: At this point link to the cache is destroyed.
...
SVN revision: 44051
2009-11-30 13:26:46 +00:00
Cedric BAIL
ef16ff6145
* evas: Do a proper fix for all rectangle match.
...
SVN revision: 44010
2009-11-27 09:51:08 +00:00
Cedric BAIL
4b44a59d2e
* evas: Fix bug in evas_objects_in_rectangle_get.
...
SVN revision: 43999
2009-11-26 14:56:46 +00:00
Carsten Haitzler
a70e666831
more debugging options...
...
SVN revision: 43920
2009-11-23 13:21:35 +00:00
Carsten Haitzler
87e5e70a9d
fix anothe rmap draw bug.
...
SVN revision: 43917
2009-11-23 10:07: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
8ce36a26c9
0x0 smarts will no be rendered again - well children will be... but its still
...
bad form to do this. oddly - the desktop panning in e does this. need to check.
SVN revision: 43799
2009-11-19 08:37:22 +00:00
Gustavo Sverzut Barbieri
8a668562b4
fix bug spotted by Brian Wang.
...
SVN revision: 43793
2009-11-19 00:38:34 +00:00
Iván Briano
1f33962f78
<glima> commit msg would be something like: "applying size recalcs on
...
childs in the case they have size hints for Evas_Object_Box'es.
it was documented on the layouts api but never implemented"
SVN revision: 43745
2009-11-17 00:19:24 +00:00
Carsten Haitzler
a6798a676f
1. if you stack above/below yourself.. you get lost as an obj! ignore
...
that case
2. add render debug #ifdef in evas_render.c and latent render debug stuff
SVN revision: 43706
2009-11-15 13:46:20 +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
Gustavo Sverzut Barbieri
8515fdc82b
/me stuuuuuuuupid, spank spank spank... go test your code before commit :-D
...
SVN revision: 43613
2009-11-11 12:47:46 +00:00
Gustavo Sverzut Barbieri
3e08cf2e23
more evas_map utils, let's avoid duplicating these everywhere.
...
SVN revision: 43612
2009-11-11 12:33:52 +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
Carsten Haitzler
dbfacc1acf
aaag found the bugger. printf--
...
SVN revision: 43601
2009-11-10 09:10:59 +00:00
Carsten Haitzler
e58124942d
ok. i'm hunting the bug. yes! printf debuggin gets in! i want others to be
...
able to find it too.
SVN revision: 43600
2009-11-10 08:50:11 +00:00
Carsten Haitzler
c88c587e66
printf--!
...
SVN revision: 43597
2009-11-09 23:48:26 +00:00
Carsten Haitzler
730661d3da
move check to more unlikely position in chekc order
...
SVN revision: 43585
2009-11-09 15:20:32 +00:00
Carsten Haitzler
9af8993332
god damnt that took some time! fixed some bugs with map + smart objcs +
...
repainting etc. etc. - seems to be working now in complex smart obj tests and
simple ones.
SVN revision: 43584
2009-11-09 15:18:37 +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
Sebastian Dransfeld
48eec51e60
Fix compiler warnings
...
SVN revision: 43536
2009-11-08 19:52:44 +00:00
Vincent Torri
c6458f9e7f
fix evas compilation when async preload is disabled
...
SVN revision: 43514
2009-11-07 18:19:44 +00:00
Carsten Haitzler
2c44b7dd55
smart children of mapped objs etc. work work!
...
SVN revision: 43506
2009-11-07 05:01:43 +00:00
Cedric BAIL
992a1b4f13
* evas: Add convertion function for 8bpp grayscale no pal (256 and 16 values).
...
SVN revision: 43491
2009-11-06 15:15:37 +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
9b56603875
oops - infinite loopies
...
SVN revision: 43486
2009-11-06 10:30:24 +00:00
Carsten Haitzler
eb732b80e0
return somethnig
...
SVN revision: 43485
2009-11-06 10:26:54 +00:00
Carsten Haitzler
948bb4a63e
fix smart map redraw errors.
...
SVN revision: 43483
2009-11-06 08:44:49 +00:00
Cedric BAIL
a82d161c27
* evas_cache_image: Attempt to make a definitiv fix for race condition on cancel.
...
WARNING: If you continue to see any segv in E17, please report to me with a backtrace. Thanks.
SVN revision: 43465
2009-11-05 17:38:51 +00:00
Carsten Haitzler
bf871d0975
try uncondiutionalyl remove dropped images from preload queue
...
SVN revision: 43464
2009-11-05 16:05:29 +00:00
Carsten Haitzler
9791b27a18
map coords in mapped objects.
...
SVN revision: 43463
2009-11-05 15:24:48 +00:00
Carsten Haitzler
36a2d10682
fix mul! out of premul range!
...
SVN revision: 43446
2009-11-04 09:25:52 +00:00
Carsten Haitzler
bd0541a0b0
and fix the dual geometry thing - use the clip cache for uv geometry. perfect!
...
SVN revision: 43432
2009-11-03 15:41:36 +00:00
Carsten Haitzler
7526d0751e
add a new npot extn string
...
SVN revision: 43430
2009-11-03 10:33:37 +00:00
Gustavo Sverzut Barbieri
3d77c82d15
immediately unset maps.
...
if we call evas_object_map_enable_set(o, 0) we expect things to go
back to normal immediately.
SVN revision: 43424
2009-11-02 15:58:48 +00:00
Carsten Haitzler
0007c51508
document map util calls
...
SVN revision: 43423
2009-11-02 15:43:51 +00:00
Carsten Haitzler
f514e72be7
fix 3d util api. better now.
...
SVN revision: 43418
2009-11-02 12:20:50 +00:00
Carsten Haitzler
2510cad2f0
some more util calls for 3d goop. not 100% sure i like it atm, but.. here goes.
...
SVN revision: 43411
2009-11-02 08:52:23 +00:00
Carsten Haitzler
b2ac7c110a
fix mmx code
...
SVN revision: 43386
2009-11-01 11:45:16 +00:00
Carsten Haitzler
6f4db357dd
i shoudl use join macro
...
SVN revision: 43385
2009-11-01 09:03:01 +00:00
Carsten Haitzler
069de70853
add color to the vertexes in map. this allows for fading/shading of
...
reflections, goraud shading for smooth 3d surfaces, mor realistic lighting
etc. etc. it comes at a small cost, but worth it.
SVN revision: 43384
2009-11-01 01:32:23 +00:00
Vincent Torri
00d1eab6d8
spelling
...
SVN revision: 43374
2009-10-31 15:18:19 +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
bb3824803c
finally! smart objects work with map!
...
SVN revision: 43343
2009-10-30 10:11:15 +00:00
Carsten Haitzler
335081d18c
ifdef++
...
SVN revision: 43337
2009-10-29 11:54:47 +00:00
Carsten Haitzler
422faf09fd
clean up map - move to #included worker and add mmx - just copied from normal
...
image scaler actually.
SVN revision: 43336
2009-10-29 06:52:51 +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
Carsten Haitzler
b0695a6712
fill in last fixme on rendering code and make it better written by moving
...
comon code blobs to functions.
SVN revision: 43298
2009-10-26 14:06:21 +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
b36917b180
smooth map works (down to 1/2 size its good. its pretty much gl_linear, but
...
in software. but it looks gorgeous. rotations are groovey.
SVN revision: 43226
2009-10-23 13:17:22 +00:00
Carsten Haitzler
4a6609c55f
fix copy & paste bug.
...
SVN revision: 43225
2009-10-23 13:11:23 +00:00
Carsten Haitzler
2168b2a57f
fix statements
...
SVN revision: 43224
2009-10-23 06:48:22 +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
Vincent Torri
e5046c8846
Fix some warnings. I don't touch map code for now.
...
SVN revision: 43218
2009-10-22 22:22:10 +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
Gustavo Sverzut Barbieri
6982f7b9c6
evas_map: more extensible and safe. add docs
...
change evas_map to return a structure that serves as an array of
points. This way we'll know for sure the number of points in it. Right
now it's hardcoded to 4, so check it, but in future we can just allow
more points and it should work.
added docs. I'm not sure about most of it, so it would be good to have
someone to review and fill in more, maybe that's raster? Grep for
"TODO" and you'll see the missing stuff. It would be good to add
examples in evas_map_point_coord_set() and
evas_map_point_image_uv_set()
SVN revision: 43211
2009-10-22 20:11:33 +00:00
Cedric BAIL
9af68d80da
* evas: Add map to SDL also.
...
SVN revision: 43206
2009-10-22 17:06:06 +00:00
Cedric BAIL
0cf81bc080
* evas: Fix missing correction.
...
SVN revision: 43205
2009-10-22 16:39:20 +00:00
Carsten Haitzler
041327008f
a little cleaner, but not faster
...
SVN revision: 43204
2009-10-22 16:06:32 +00:00
Carsten Haitzler
a24ad9a1c4
fast path for solid maps.
...
SVN revision: 43203
2009-10-22 15:51:18 +00:00
Carsten Haitzler
7fce71c5d9
add some beginnigns of utility funcs to evas map. move it to its own file.
...
SVN revision: 43201
2009-10-22 15:47:30 +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
Carsten Haitzler
43234e9b59
pull smooth... that's not going to be sane. or smooth. hmmm.
...
SVN revision: 43192
2009-10-22 07:31:25 +00:00
Carsten Haitzler
67fd2dd37c
default load - 75dpi. like fonts.
...
SVN revision: 43190
2009-10-22 06:40:58 +00:00
Carsten Haitzler
63ec70ea91
enable smooth path - same as nearest... for now
...
SVN revision: 43183
2009-10-21 14:53:55 +00:00
Carsten Haitzler
ceb6cb9600
handle if uv are out of image coords - clamp. remove unsued bounds checks
...
(not needed anymore). also fix a black edge.
SVN revision: 43182
2009-10-21 14:45:55 +00:00
Cedric BAIL
4d083a6627
* evas: Make quartz engine compile again.
...
SVN revision: 43180
2009-10-21 13:09:04 +00:00
Carsten Haitzler
0f138474d6
improve map.. now no rendering or segv bugs (that i have seen). woot. also
...
handle clipping and clip-outs.
SVN revision: 43178
2009-10-21 09:33:07 +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
c50ea6b1c8
map image... not used yet.
...
SVN revision: 43131
2009-10-17 10:25:51 +00:00
Vincent Torri
3066c3d305
Evas_Data.h functions are deprecated.
...
SVN revision: 43130
2009-10-17 09:10:31 +00:00
Jonathan Atton
75303b4b5b
Evas :The doc say "This function removes the most recently added callback", consequently we have te prepend the items
...
SVN revision: 43103
2009-10-15 20:50:15 +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
Carsten Haitzler
0a036d1ec2
keep locks for less - ie not arorund a loop calling callbacks.
...
SVN revision: 43014
2009-10-11 06:57:23 +00:00
Carsten Haitzler
00486440c0
fix autofoo make and included files etc. produce shader binaries for systems
...
that dont have runtime compilers using offline tools. binary blobs will need
to be provided in src trees as the shader_type_bin_target.h files
SVN revision: 43004
2009-10-10 15:03:41 +00:00
Carsten Haitzler
a6b2cfd52a
and delete u and v textures too
...
SVN revision: 43002
2009-10-10 14:55:10 +00:00
Carsten Haitzler
1046b6339a
fix yuv shader. right now.
...
SVN revision: 43001
2009-10-10 14:48:34 +00:00
Carsten Haitzler
43420a5df3
yuv support is back now.
...
SVN revision: 43000
2009-10-10 13:24:15 +00:00
Iván Briano
b1cc741a2d
bigger clipper
...
SVN revision: 42984
2009-10-09 19:17:55 +00:00
Carsten Haitzler
daa0573ceb
oops missed file.
...
SVN revision: 42983
2009-10-09 15:17:27 +00:00
Carsten Haitzler
37b66e806b
new gl engine. no one uses it anyway. not 100% complete, but much better than
...
the old. and it ALSO does GLES2.0 as well asn GL.
SVN revision: 42982
2009-10-09 12:10:27 +00:00
Carsten Haitzler
94e5770212
dont retunr if invalid
...
SVN revision: 42976
2009-10-09 04:31:13 +00:00
Vincent Torri
506311faaa
fix evas_init() when called several times but is failing
...
SVN revision: 42972
2009-10-08 21:17:21 +00:00
Carsten Haitzler
c280f8610e
add external api call to call smart calc calls on al smarts on a canvas
...
SVN revision: 42960
2009-10-08 14:28:21 +00:00
Vincent Torri
7902ce1bb7
simplify evas_init() and evas_shutdown() a bit
...
SVN revision: 42956
2009-10-08 06:25:09 +00:00
Cedric BAIL
ef2d2ddfda
* evas: Remove some llvm warning.
...
SVN revision: 42938
2009-10-07 12:47:01 +00:00
Iván Briano
1d3f50027a
Added version and insert_after to box api
...
SVN revision: 42862
2009-10-02 19:06:12 +00:00
Vincent Torri
de7282e68b
use Eina macro for default log color
...
SVN revision: 42855
2009-10-02 04:47:34 +00:00
Vincent Torri
b770510734
call engine info_free() after output_free()
...
SVN revision: 42830
2009-10-01 08:01:03 +00:00
Vincent Torri
0a775ef90d
fix eina logging in software_ddraw
...
SVN revision: 42829
2009-10-01 07:44:39 +00:00
Carsten Haitzler
e30651d7ca
more patches from tom
...
SVN revision: 42828
2009-10-01 05:18:17 +00:00
Carsten Haitzler
0986cd681b
init some ptrs to null.
...
SVN revision: 42823
2009-09-30 22:30:12 +00:00
Tom
39b6c9148c
From: Tom <tom@stosb.com> (tasn)
...
Hey raster,
Here is the non intrusive patch I talked to you about. Please apply it as it
introduces some fixes, some improvements and mostly and underlying
infrastructure for future RTL improvements.
(note hebrew & yiddish seem fine, but things expedite test seems to show are
wrong (why i don't know as i dont speak the langs- just comparing to pango /
gtk output):
arabic seems lsightl wrong (maybe composition chars not working?)
gujarati - also seems wrong
malayam - also looks wrong
persian - looks wrong
sinhala - looks wrong
tamil - looks wrong
these are what, appear to me, to look wrong. why they look wrong, i don't
know. i'm guessing its compositiong not being handled. but i dont's peak,
read or write any of these languages so i am unsure of what it really should
be like, why and how to fix it.
anyone want to put up a hand? (everything else is displaying fine as best i
can tell - the langauges i read/speak/somewhat understand are working fine).
SVN revision: 42814
2009-09-30 04:23:21 +00:00
Iván Briano
0a546d1b78
Use align == -1 for fill, and don't fill if not requested.
...
SVN revision: 42780
2009-09-28 19:24:53 +00:00
Carsten Haitzler
ff09bcbaae
add some macros/defin es to make life easier
...
SVN revision: 42757
2009-09-28 05:53:48 +00:00
Carsten Haitzler
526b6e8f3b
and fix async load thing hanging around... put in shared queue and be able to
...
remove targets from the queue.
SVN revision: 42754
2009-09-28 03:51:21 +00:00
Carsten Haitzler
aea9bb4064
i KNOW there is a bug here... the question is.. how to fix it?
...
SVN revision: 42692
2009-09-25 09:06:13 +00:00
Carsten Haitzler
58fc0273fe
account for padding too for too-big
...
SVN revision: 42678
2009-09-24 14:44:05 +00:00
Vincent Torri
c1b56b9cf1
revert. I didn't see that the .c files were included...
...
SVN revision: 42664
2009-09-24 06:01:59 +00:00
Vincent Torri
f12c2099d4
* export _evas_log_dom_global as it can be used in modules
...
* don't include non microsoft header files when vc++ is used
* declare alloca before standard C header files
* minor formatting
SVN revision: 42663
2009-09-24 05:10:49 +00:00
Vincent Torri
6677c2fcf9
fix double to Evas_Coord conversion warnings
...
SVN revision: 42662
2009-09-24 04:55:01 +00:00
Vincent Torri
454f2fadcb
move declaration of variables at the beginning of the blocks
...
SVN revision: 42650
2009-09-23 17:15:18 +00:00
Vincent Torri
c392f30e71
make evas_module.c and evas_path.c compile with vc++
...
SVN revision: 42641
2009-09-23 07:12:11 +00:00
Vincent Torri
cefbd7abf5
use size_t instead of int
...
SVN revision: 42640
2009-09-23 06:45:39 +00:00
Vincent Torri
ac44ab5449
move the gradient2 main structure in a specific header as it is also used in the linear and radial files
...
SVN revision: 42639
2009-09-23 06:37:08 +00:00
Vincent Torri
e50c003031
last auto-import symbols
...
SVN revision: 42631
2009-09-22 23:07:29 +00:00
Vincent Torri
ef825fc3c1
more auto-import symbols
...
SVN revision: 42630
2009-09-22 23:05:51 +00:00
Vincent Torri
e359ac2161
auto-import symbols
...
SVN revision: 42628
2009-09-22 22:51:15 +00:00
Vincent Torri
165a507ce2
move declaration of variables at the beginning of the block
...
SVN revision: 42627
2009-09-22 22:37:03 +00:00
Carsten Haitzler
bea22f22a4
fix wrns.. and fix macro!
...
SVN revision: 42617
2009-09-22 08:04:57 +00:00
Carsten Haitzler
85c9ee14e1
and much pain and ganshing of teeth.. this took too long... no more hanging
...
preload cancels. u can cancel a preload (explicitly or implicitly) with no
lock penalty. now i can get on with my other fun.
SVN revision: 42616
2009-09-22 07:02:14 +00:00
Cedric BAIL
c259d8addd
* evas: Use eina_log.
...
Patch from Matthieu.
SVN revision: 42598
2009-09-21 16:08:51 +00:00
Carsten Haitzler
2f87e02f09
more work on jpeg region load. use some hacks i did to libjpeg.
...
SVN revision: 42593
2009-09-21 12:49:31 +00:00
Carsten Haitzler
c61c9643ca
handle regions for all jpeg types (cymk, rgb, gray). other formats dont
...
support this (atm). there is possibly little point in doing so... perhaps
svg... thought maybe tiff too later? for now, get jpeg 100% up to snuff.
SVN revision: 42587
2009-09-20 14:31:48 +00:00
Vincent Torri
0c0dbb92dc
move EINA_DEPRECATED to the beginning of the declaration
...
SVN revision: 42571
2009-09-20 07:16:47 +00:00
Iván Briano
5c3b4fa74e
Improve documentation for Evas, Ecore, Edje and Elementary.
...
Work by:
- Thiago R. Masaki (mostly)
- Fabiano Fidencio
- Gustavo Lima
SVN revision: 42550
2009-09-17 22:38:10 +00:00
Gustavo Sverzut Barbieri
8e56bad0e6
dunno what's this crazy math, but it overflows on 64 bits... ensure it's unsigned long long...
...
SVN revision: 42523
2009-09-16 19:20:26 +00:00
Carsten Haitzler
65f147aa81
make loaders use "big image" macro to detect an image that is going to just
...
be way too big to ever allocate. probably code can do with other fixes too.
also make jpeg loader rudametarily understand load regions. very brute-force.
but enough for just this moment to do testing.
SVN revision: 42507
2009-09-16 09:48:05 +00:00
Carsten Haitzler
f780cc2c8f
add "region" load opt. no loader handles it... yet
...
SVN revision: 42494
2009-09-15 13:34:12 +00:00
dieb
c2fde2fa75
Trailing whitespaces--, remove wrong tabs.
...
SVN revision: 42454
2009-09-13 03:04:20 +00:00
Carsten Haitzler
7ee7fb5604
1. make max image size a #define
...
2. max image size > 65536x65536
3. fix cserve leak
4. fix cserve+async load to work together.
SVN revision: 42406
2009-09-11 13:44:53 +00:00