Christopher Michael
3ba73cf34b
No reason to include the same header twice.
...
SVN revision: 49449
2010-06-04 16:00:28 +00:00
Cedric BAIL
5685faac42
* evas: make it possible to call unload_all from surface_alloc.
...
SVN revision: 49448
2010-06-04 15:21:12 +00:00
Carsten Haitzler
0d5088488e
clean up smart cb descriptions on del.
...
SVN revision: 49438
2010-06-04 04:07:12 +00:00
Carsten Haitzler
a4769c42cb
change svnversion shell goop to nuke sed and just use tr to delete
...
unwanted goop.
SVN revision: 49429
2010-06-04 01:04:24 +00:00
Carsten Haitzler
3a5502362e
fix valgrind complaint - indeed corner case.
...
SVN revision: 49414
2010-06-03 14:02:46 +00:00
Iván Briano
6600f0c43f
Let git-svn users get the right revision number to be used as version.
...
SVN revision: 49407
2010-06-03 07:40:54 +00:00
Carsten Haitzler
5cad6a1c95
fix crash on null yuv.
...
SVN revision: 49392
2010-06-02 09:15:01 +00:00
Rui Seabra
a0eb32fd7c
Support for new module loaders for BMP and TGA... if they should be enabled by default, please just move them to bcond_with instead of bcond_without
...
SVN revision: 49380
2010-06-01 20:01:23 +00:00
Carsten Haitzler
3b8ae6502a
ooh and also lkd - just to be clean.
...
SVN revision: 49346
2010-05-31 03:40:48 +00:00
Carsten Haitzler
77123462e1
now that header was a mess - and this wasnt using the same lock! bad
...
bad!
SVN revision: 49345
2010-05-31 03:31:49 +00:00
Carsten Haitzler
f1e19253e6
nopw svn revision works again.
...
SVN revision: 49344
2010-05-31 03:12:45 +00:00
Carsten Haitzler
17dfab359b
fix - if no svn tree, then it will pretend to be a release.
...
SVN revision: 49343
2010-05-31 01:59:22 +00:00
Carsten Haitzler
d231f624eb
distcheck!
...
SVN revision: 49342
2010-05-31 01:34:43 +00:00
Carsten Haitzler
9621532945
trga loader - snarfed 80% from imlib2. missing paletted mode (just
...
like the imlib2 one) but.. handles alpha correctly- unlike imlib2 and
manyother loaders.
SVN revision: 49330
2010-05-30 17:48:19 +00:00
Carsten Haitzler
2cf09cdc4a
on data load alloc surface only if dimensiosn match
...
SVN revision: 49329
2010-05-30 15:34:22 +00:00
Carsten Haitzler
5f03706efa
oops - left over png thing.
...
SVN revision: 49328
2010-05-30 14:33:36 +00:00
Carsten Haitzler
6f6730eaf8
for shits and giggles... i wrote a bmp loader. i did look at the old
...
imlib2 bmp loader, but it was imcomplete compared to the bmp
standards, so i actually ended up reading the file format definitions
on line i could find and using lots of test images... wrote a new one.
you can at least view bmp files now. note - i found 1 bmp file that
claims to have an alpha channel (amask is non-empty) and then proceeds
to provide an image with pixels - all alpha 0. so its transparent when
it shouldnt be. beats me but looks like a broken bmp file to me when
it compes to specs.
SVN revision: 49324
2010-05-30 13:04:34 +00:00
Carsten Haitzler
4b43b4ee86
oops - broke module dirs!
...
SVN revision: 49277
2010-05-29 07:24:43 +00:00
Carsten Haitzler
4bd7dd03d6
move evas version inside extern c.
...
SVN revision: 49274
2010-05-29 06:37:19 +00:00
Carsten Haitzler
e7d93cc2f8
remove semi-colon
...
SVN revision: 49270
2010-05-29 06:27:29 +00:00
Carsten Haitzler
37e28d6008
evas version too.
...
SVN revision: 49268
2010-05-29 05:42:21 +00:00
Bruno Dilly
930fdce0ee
small fix in evas html escape table
...
SVN revision: 49240
2010-05-27 21:03:53 +00:00
Brett Nash
285d1558ae
Fix buggy arm ldr instruction.
...
The size suffixes are apparetly allowed only on neon instructions.
Thanks to Ben Zores for the bug report + testing.
SVN revision: 49174
2010-05-24 02:16:14 +00:00
Carsten Haitzler
cec0aa3771
segv there in frame queue code. fix.
...
SVN revision: 49107
2010-05-21 16:50:25 +00:00
Gustavo Sverzut Barbieri
446b0040a4
make it easier to debug if it was enabled, and how :-)
...
minor style fixes.
SVN revision: 49100
2010-05-21 14:14:54 +00:00
Carsten Haitzler
d17e840e13
aaah yes - the flush will ... possibly delete the image - in fract almost
...
definitely as it got to 0 fref. unlocking the image is bad as it was just
deleted. do the delete (cache fluch) after unlock.
SVN revision: 49089
2010-05-21 07:44:07 +00:00
Carsten Haitzler
6e93fa88d3
unloading of loader module -> bad for sync preload it seems.
...
SVN revision: 49088
2010-05-21 07:31:03 +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
Brett Nash
5259fb8d83
BUILD_NEON, not BUILD_NEONx
...
/me kicks me for commiting debugging code.
SVN revision: 49000
2010-05-19 09:03:46 +00:00
Brett Nash
0a18dc2c93
Neonized rotated 90 display for ARMs.
...
Share and enjoy.
See my previous neon related commit for more details.
SVN revision: 48999
2010-05-19 08:52:29 +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
Sebastian Dransfeld
2c74596411
evas: Add return value
...
SVN revision: 48820
2010-05-13 20:24:06 +00:00
Sebastian Dransfeld
ab7e6fe3f8
evas: remove unused variables
...
SVN revision: 48819
2010-05-13 20:23:49 +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
Brett Nash
bd6b2d5cb1
Neon improvements for ARM Cortex.
...
Samsung Electronics just allowed me to release the first set of ARM neon
patches under the Evas licence. They are silently helping improve EFL and
this another product of their help.
These patches have been tested on a Cortex A8 and show consistent improvement
across the board. For expedite some tests up to 100% improvements, and
practical real world examples show that rendering limited applications show
similar improvements. For instance in one application from 17fps->30fps or
for another 40->63fps.
The patches are pure neon code (intrinsics tend to generate worse code). To
build under GCC you will need a recent GCC and the following C flags:
-mfloat-abi=softfp -mfpu=neon
I also recommend -O2 and -ffast-math.
If you have any problems please let me know.
SVN revision: 48733
2010-05-10 09:24:11 +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
db0679543f
oops - call params in right order.
...
SVN revision: 48627
2010-05-05 16:17:23 +00:00
Cedric BAIL
7bcd87e551
* evas: bring back object cache.
...
SVN revision: 48620
2010-05-05 11:36:21 +00:00
Carsten Haitzler
7041c968bf
oooh you'd love to know why this is here.. won't you? :)
...
SVN revision: 48613
2010-05-04 15:58:10 +00:00
Vincent Torri
d0a0206be6
* link pthread and spinlock code instead of just compiling
...
* POSIX pthread spinlock may be unimplemented, so don't
exit with an error if they are not available
SVN revision: 48540
2010-05-02 05:19:47 +00:00
Vincent Torri
ba64a18e0f
Some libc have a pthread that declares spinlock functions,
...
but does not define them. So the check now links the test code.
SVN revision: 48526
2010-05-01 20:38:28 +00:00
Carsten Haitzler
15b7e11198
hmm - i don't know how this happened, but - metrics were not being done
...
right. fixed now. i wonder why. this used to be right at some point.
SVN revision: 48503
2010-05-01 14:08:14 +00:00
Carsten Haitzler
c10f1e9c5d
fix map rendering of text objects.
...
SVN revision: 48501
2010-05-01 13:27:05 +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
Carsten Haitzler
64c051e7c2
fix map render bug.
...
SVN revision: 48462
2010-04-30 08:24:55 +00:00
Cedric BAIL
a52773a8ab
* evas: specify Evas canvas for Evas_Object.
...
SVN revision: 48428
2010-04-29 17:35:47 +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
8ea3844c85
fix fill render bug cedric reported. :)
...
SVN revision: 48393
2010-04-28 14:38:46 +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
a0b2235a44
add offset in transform of coords. missed that.
...
SVN revision: 48372
2010-04-28 01:52:58 +00:00
Cedric BAIL
fc44f0f050
* evas: cleanup white space.
...
SVN revision: 48363
2010-04-27 13:43:10 +00:00
Carsten Haitzler
ac70bae562
correct ascent
...
SVN revision: 48309
2010-04-25 13:11:44 +00:00
Carsten Haitzler
fbbd6ffef1
and make items work properly.
...
SVN revision: 48306
2010-04-25 13:05:45 +00:00
Carsten Haitzler
1112f418dc
add api to get the item geometry itself. needed to put somethign there.
...
SVN revision: 48305
2010-04-25 12:40:26 +00:00
Carsten Haitzler
d37f08a616
adding... items... oooooh what are these items? invisible sized blobs treated
...
like characters/words for wrapping. intended for use in sticking inlined
content - like icons, images etc.
SVN revision: 48301
2010-04-25 11:35:41 +00:00
Carsten Haitzler
d4ba7c3a06
amd64 - apparently fbsd is still living back in that past where 64bit was amd
...
only... :)
SVN revision: 48273
2010-04-24 14:07:17 +00:00
Cedric BAIL
7c0098c1a3
* evas: fix race condition when file change between header read and data read.
...
WARNING: THIS RACE STILL EXIST IF YOU USE JPEG REGION.
SVN revision: 48200
2010-04-21 13:47:42 +00:00
Michael Jennings
c3f93a9ebd
After discussing with raster, this is what he requested for the spec
...
files: using the SVN revision instead of the datestamp. Other
methods can still be used, however, by adding (e.g.):
--define "_rel 0.`date +%Y%m%d`"
to the rpmbuild command line.
Other spec files will need similar changes. This is just the first
few.
SVN revision: 48099
2010-04-18 07:03:09 +00:00
Gustavo Sverzut Barbieri
9b5981a52e
Get a table element with its coordinates.
...
By: Hugo Camboulive <hugo.camboulive@gmail.com>
SVN revision: 48087
2010-04-17 20:27:53 +00:00
Carsten Haitzler
d2124c5b46
remove useless eol
...
SVN revision: 48075
2010-04-17 16:19:11 +00:00
Vincent Torri
2ff087b20f
fix tiff loader and saver compilation with vc++
...
SVN revision: 48062
2010-04-17 05:26:13 +00:00
Vincent Torri
74d6e04bec
add Visual Studio 9 solution and project files
...
SVN revision: 48048
2010-04-16 06:24:49 +00:00
Carsten Haitzler
58c7049da8
allow neon build even if not armv4 - eg build for armv6 but add neon asm as a
...
"check if its there then use it" ala mmx/sse as opposed to require it all be
neon armv7 stuff ffor neon to work.
SVN revision: 48044
2010-04-16 00:13:46 +00:00
Carsten Haitzler
a6e4ee23f5
oops. fix scalecache issue - would do a LOT of unload/reload thanks to extra
...
dump code. moved into dump code as opposed to unload.
SVN revision: 47982
2010-04-13 03:00:29 +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
91a435fd4f
and rename the gdi project file
...
SVN revision: 47869
2010-04-09 06:33:41 +00:00
Vincent Torri
6fbf78bf7c
update Visual Studio files
...
SVN revision: 47868
2010-04-09 06:32:50 +00:00
Vincent Torri
fb9bde702e
static int for the log domain. Thanks, Gustavo
...
SVN revision: 47850
2010-04-08 22:55:54 +00:00
Vincent Torri
57c16867e2
remove unused variable
...
SVN revision: 47840
2010-04-08 17:41:18 +00:00
Vincent Torri
438f002794
use float constants instead of double as computations
...
are done on float numbers
SVN revision: 47839
2010-04-08 17:41:00 +00:00
Vincent Torri
4a54173b20
remove useless include
...
SVN revision: 47838
2010-04-08 17:39:26 +00:00
Vincent Torri
fee33f22cb
add eina log stuff
...
SVN revision: 47837
2010-04-08 17:39:01 +00:00
Vincent Torri
5b91ebea36
Visual Studio 2005 project file:
...
* add missing files
* eina.lib has been renamed libeina.lib
* do not use UNICODE
SVN revision: 47728
2010-04-03 18:29:38 +00:00
Gustavo Sverzut Barbieri
8ada2841d0
convert annoying debug into eina log so it is disabled by default.
...
SVN revision: 47651
2010-04-01 16:03:23 +00:00
Gustavo Sverzut Barbieri
ad0679e050
do not operate if there is no callbacks (unsetting them).
...
SVN revision: 47650
2010-04-01 15:56:06 +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
Carsten Haitzler
54f089964c
maybe fix rui's stuff?
...
SVN revision: 47616
2010-03-31 00:39:10 +00:00
Carsten Haitzler
5f309b5d9f
actually fix evas event cb leak for good. work ast smart desc leak.
...
SVN revision: 47552
2010-03-29 05:03:25 +00:00
Carsten Haitzler
46e1d8a866
fix small leak - cannvas callbacks not cleaned.
...
SVN revision: 47551
2010-03-29 02:40:49 +00:00
Rui Seabra
a6d3bede42
Support example files.
...
SVN revision: 47534
2010-03-28 18:33:49 +00:00
Vincent Torri
9ed7f52215
remove unneeded semi-colon
...
SVN revision: 47529
2010-03-28 12:24:10 +00:00
Brett Nash
d267122d9e
Always mark object as dirty after a map_change.
...
Otherwise doesn't handle UV or colour changes. It's a bit heavy handed, but
it's a lot easier.
SVN revision: 47526
2010-03-28 05:40:42 +00:00
Mathieu Taillefumier
4c00d5e175
from: Mathieu Taillefumier <mathieu.taillefumier@fys.uio.no>
...
fix configure check for libpng14.
SVN revision: 47524
2010-03-28 02:10:37 +00:00
Gustavo Lima Chaves
79449a8226
Off-by-one at debug?
...
SVN revision: 47492
2010-03-26 14:46:01 +00:00
Carsten Haitzler
79a950519d
fix insert markup. (prepend)
...
SVN revision: 47464
2010-03-26 04:21:16 +00:00
Carsten Haitzler
37743d378e
entry bug--
...
SVN revision: 47463
2010-03-26 03:57:22 +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
Cedric BAIL
f715c8584d
* evas: fix uncertain lock. It's look like it improve perf here without breaking things.
...
SVN revision: 47428
2010-03-24 14:55:37 +00:00
Cedric BAIL
80901b0abe
* evas: fix build with thread rendering on and scale cache off.
...
SVN revision: 47427
2010-03-24 14:46:28 +00:00
Cedric BAIL
31d6a2e21c
* evas: remove lock during heavy computation.
...
FIXME: Still one at line 685, but don't know if it's safe to move it around.
TODO: Fix map support with threaded rendering.
SVN revision: 47426
2010-03-24 14:45:58 +00:00
Cedric BAIL
6549ab12ce
* evas: fix potential race condition with FT_Activate_Size and threaded rendering.
...
SVN revision: 47419
2010-03-24 11:07:37 +00:00
Cedric BAIL
e414c90820
* evas: fix fribidi race condition (perhaps not the right way) with thread rendering.
...
SVN revision: 47418
2010-03-24 11:06:54 +00:00
Cedric BAIL
34e4c55f37
* evas: Fix thread rendering issu with scalecache.
...
SVN revision: 47417
2010-03-24 11:06:02 +00:00
Iván Briano
c1b67b4798
Add function to check smart type based on pointer alone. Useful when we have access to the class used to create the object.
...
SVN revision: 47413
2010-03-24 08:43:39 +00:00
Gustavo Sverzut Barbieri
f96faf0b67
stop using rsvg_term()
...
given that rsvg seems to be causing random problems for those using
svg icons in E17, I consider Lennart's advice to stop using
rsvg_term() quite useful.
Yeah... not everybody does excellent reference counted module
init/shutdown... shame on you ;-) (/me looks at fontconfig and couple
of others as well).
References:
- http://0pointer.de/blog/projects/beware-of-rsvg-term
- https://bugzilla.gnome.org/show_bug.cgi?id=592100
SVN revision: 47403
2010-03-23 22:13:51 +00:00
Carsten Haitzler
3cf6e2fde7
1. clean up egl better on context shutdown
...
2. clean up pprograms/shaders on shared shutdown
SVN revision: 47386
2010-03-23 09:55:02 +00:00
Iván Briano
9570d2124c
Couple of things for Smart Objects
...
* Subclass macro now gets a different function to retrieve the parent class,
which should return a pointer to a fully set up class, instead of filling
up one passed to it.
* Add this functions and use them in SmartClippedObject and Box
* New function to check the type of a Smart object all over its hierarchy tree
SVN revision: 47379
2010-03-23 01:22:20 +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
17764a850d
fix bug when rendering not getting updates!
...
:)
SVN revision: 47365
2010-03-22 07:40:10 +00:00
Carsten Haitzler
264c2d5b1d
fix event count issue with feeding hold from callback
...
SVN revision: 47364
2010-03-22 07:04:04 +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
Vincent Torri
640cd51bb5
typo
...
SVN revision: 47331
2010-03-18 21:49:02 +00:00
Gustavo Sverzut Barbieri
db38ac7b30
use captial letter to follow the rest of the style.
...
SVN revision: 47325
2010-03-18 16:48:23 +00:00
Gustavo Sverzut Barbieri
7d3fc02680
Add missing authors, sync doxygen with AUTHORS file.
...
Any other author is missing?
SVN revision: 47320
2010-03-18 14:52:32 +00:00
Gustavo Sverzut Barbieri
35ca641963
remove bogus doxygen command.
...
SVN revision: 47309
2010-03-18 04:58:31 +00:00
Gustavo Sverzut Barbieri
fd2659c572
evas: mega documentation improving commit.
...
This commit moves Evas.h contents a lot, but it should not change code
(some conts were added, some function attributes were changed).
The purpose of such is to define the order that doxygen show modules
in its documentation.
I also splitted documentation a bit more, and added a src/examples to
list useful example code. Right now it is just a pure-evas
draw-and-save using buffer engine.
NOTE: there is lots to document, and the @todo list is quite long but
I guess lots of things there were done already. Raster, could
you review this list?
SVN revision: 47308
2010-03-18 04:57:40 +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
8d76bbaffb
fix sync issue with override-redirect windows
...
SVN revision: 47287
2010-03-16 12:30:55 +00:00
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
Vincent Torri
8ecccfe531
typo
...
SVN revision: 46947
2010-03-07 12:14:01 +00:00
Vincent Torri
66df28b48b
when pthread is found, don't abort if spin lock is not found but not reqested
...
Patch by Albin Tonnerre
SVN revision: 46942
2010-03-07 12:06:32 +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
Vincent Torri
bf056dd2df
Fix Objective C compiler detection and Mac OS X header
...
files detection. It should work with and without an
Objective C compiler. The problem is a bug in the
AC_PROG_OBJC macro.
Patch by Ralf Wildenhues
SVN revision: 46890
2010-03-05 06:23:25 +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
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