Jean-Philippe Andre
6a4c84a6a4
Evas/cserve2: Fix crash in server on file change
...
An inotify callback is triggered when an image file changes,
and it is supposed to cleanup all references to this image.
Unfortunately, it was doing it in a very unsafe way as pointers
could become invalid, because of hash free callbacks in the
referenced image list. Add some list safety and always assume
the pointer might be dead after free operations.
TBH, this _file_changed_cb function looks very confused to me
(as it tries to bypass eina_hash_del).
2014-01-14 14:23:04 +09:00
Jean-Philippe Andre
00417fe256
Evas/cserve2: Fix memleak during shutdown
...
Don't reset the dead slave callback, as it is used to free the
slave worker's resources.
2014-01-14 14:23:04 +09:00
Jean-Philippe Andre
f1aa32a4a4
Evas/cserve2: Use calloc instead of malloc
...
This will silence some warnings from valgrind (and add some
safety as well...)
2014-01-14 14:23:04 +09:00
Mike Blumenkrantz
a279e13ecd
ecore-x present fixups
2014-01-13 12:14:50 -05:00
Mike Blumenkrantz
131e0e1983
ecore-x now supports XPRESENT
...
see http://cgit.freedesktop.org/xorg/proto/presentproto/plain/presentproto.txt
2014-01-13 10:19:11 -05:00
Stefan Schmidt
384783a896
ecore_evas_win32: Fix build regression in ecore evas win32 engine
...
Regression introduced with fb59ac34a1
Simple typo during Eina_Bool convertion.
2014-01-13 13:36:28 +01:00
Sebastian Dröge
25fa72e295
emotion gstreamer1: Set visualizations if the vis name is not NULL
...
and not the other way around.
2014-01-13 10:02:34 +01:00
Sebastian Dröge
a39f9ca579
emotion gstreamer1: Also handle DATE_TIME tag
2014-01-13 10:01:07 +01:00
Sebastian Dröge
3c53aea9a4
emotion gstreamer1: Fix wrong FIXME comment
2014-01-13 10:01:07 +01:00
Sebastian Dröge
86d552a7f7
emotion gstreamer1: Don't forget to allocate metadata struct
2014-01-13 10:01:07 +01:00
Sebastian Dröge
1c6cb51cdc
emotion gstreamer1: Implement seekability check via seeking query
2014-01-13 10:01:07 +01:00
Sebastian Dröge
463ef7b964
emotion gstreamer1: Add support for selecting subtitle channels
2014-01-13 10:01:07 +01:00
Sebastian Dröge
8d034ca3b7
emotion gstreamer1: Volumes > 1.0 are valid too
2014-01-13 10:01:07 +01:00
Sebastian Dröge
79d5172f0a
emotion gstreamer1: Add support for buffering and clock-lost handling
2014-01-13 10:01:07 +01:00
Sebastian Dröge
18f733fa23
emotion gstreamer1: Major cleanup of internal and GStreamer state handling
2014-01-13 09:50:10 +01:00
Sebastian Dröge
a5f6a9274c
emotion gstreamer1: Don't set pipeline to PAUSED during seeking
...
This is not required and is handled transparently inside GStreamer
already.
2014-01-13 09:50:10 +01:00
Sebastian Dröge
c2f4967699
emotion gstreamer1: Use GST_PLAY_FLAG_VIS instead of the corresponding integer
2014-01-13 09:50:10 +01:00
Sebastian Dröge
5798e98571
emotion gstreamer1: Don't use the NATIVE_AUDIO/VIDEO flags
...
There are too many video formats we don't handle, so we should let GStreamer
handle the conversion if necessary.
2014-01-13 09:50:10 +01:00
Sebastian Dröge
01389b1d00
emotion gstreamer1: Use refcounting instead of in/out variable counting
2014-01-13 09:50:10 +01:00
Sebastian Dröge
85b17ff7c1
emotion gstreamer1: Simplify pipeline creation
...
Also remove the webcam support, this could've never worked and
needs to be handled differently.
2014-01-13 09:50:10 +01:00
Sebastian Dröge
072e0bbafd
emotion gstreamer1: Some code re-flow in the GStreamer bus handler
2014-01-13 09:50:10 +01:00
Sebastian Dröge
2ff8aafd66
emotion gstreamer1: Use GStreamer's path/URI handling functions instead of writing our own
2014-01-13 09:50:10 +01:00
Sebastian Dröge
0de582b24f
emotion gstreamer1: Rename functions and variables for clarity
...
Also remove some useless variables.
2014-01-13 09:50:10 +01:00
Chris Michael
7b83985d7e
Unbreak ecore_evas wayland engines:
...
Val variable is not declared here. Use the variable 'on' which was
passed in to this function.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 07:52:24 +00:00
ChunEon Park
fb59ac34a1
ecore_evas - use eina_bool instead of the char for interal data.
2014-01-13 14:26:36 +09:00
Carsten Haitzler
540d7f789c
evas - cserve2 - avoid segv accessing im->cache
2014-01-13 08:50:52 +09:00
Carsten Haitzler
93fd2263fc
evas gl - fix egl/gles build after alpha4 change for fonts
2014-01-13 07:02:24 +09:00
Carsten Haitzler
86a97efeea
evas - fonts - move to using 4bit and rel 4 bit compressed font glyphs
...
this changes the internal encoding of font glyphs in evas to use 4bit
uncompressed if small, or 4bit rle (run length encoded) if larger.
this caves at least 50% of memory on fonts - and more if bigger. with
large fonts (40-80pixel size) we can save in the region of 80% of
memory used for glyphs. this also happesn to allow speedups in
rendering too.
2014-01-13 05:15:32 +09:00
Carsten Haitzler
f21b0ee6c3
evas gl - prefer alpha4 format for font textures if possible (save memory)
...
if alpha4 is possible (desktopgl) then use it for fonts as this should
cut memory in half for them and possibly speed things up due to less
memory bandwidth needed
2014-01-13 05:15:32 +09:00
Daniel Juyung Seo
d4a3b9a233
ecore_evas_x: Call _ecore_evas_x_sync_clear() after
...
_ecore_evas_x_gl_window_new() to ensure eglDestroySurface is called
before XDestroyWindow call.
In case of gl engine, eglDestroySurface should be called before
XDestroyWindow.
Special thanks to Changwoo Kim <ce2010.kim@samsung.com> for the idea.
2014-01-12 17:22:40 +09:00
Daniel Juyung Seo
15b6bd99ef
ecore_evas_x: Fix gl_sync_draw_done initialize routine to handle
...
exceptional case.
As ECORE_EVAS_GL_SYNC_DRAW_DONE is an environment variable, that could
have unexpected value like 2 or 3. So set gl_sync_draw_done to 1 only
when the env variable is 1.
2014-01-12 17:01:02 +09:00
Daniel Juyung Seo
881f4e9c75
ecore_evas_x: Refactor/flourish gl_dync_draw_done member from Ecore_Evas
...
structure.
- moved gl_sync_draw_done for a better structure packing.
- changed gl_sync_draw_done type from int to char which is enough.
- added more description to gl_sync_draw_done
2014-01-12 16:37:30 +09:00
Cedric Bail
3e89295c73
eina: fix memory leak of inserting the wrong value in the hash.
...
We where inserting the pointer data instead of the pointer, leading to
unaligned access on Sparc (Thanks Lutin to report it and Debian tools/infra
to help us catch it) and also a memory leak.
2014-01-11 21:38:55 +09:00
ChunEon Park
f111c8da6d
ecore - clean up code.
...
fix indentation and use Eina_Bool instead of char.
2014-01-11 18:19:43 +09:00
ChunEon Park
a565fd391b
ecore_evas - fixed indent
2014-01-11 18:01:07 +09:00
Shinwoo Kim
37f7bb981c
[eina] add test case - eina_list_clone, eina_list_reverse_clone
2014-01-10 22:46:52 -08:00
Carsten Haitzler
4e52fbdc74
evas gl example - make bg blue to make onefang not freak out. :)
2014-01-11 11:12:16 +09:00
Carsten Haitzler
10d9adfc46
evas cserv2 - remove logical dead code
...
fixes CID 1113441
2014-01-10 20:16:09 +09:00
Carsten Haitzler
79e6918f00
formatting - fix
2014-01-10 19:58:21 +09:00
Carsten Haitzler
7aff400cc4
edje - formatting - indenting fix
2014-01-10 19:54:01 +09:00
Carsten Haitzler
ee9f80f246
comment out unreachable code
...
fixes CID 1132633
2014-01-10 19:04:32 +09:00
Carsten Haitzler
3de45a2c4b
evas gl - comment out unreachable code
...
fixes CID 1132634
2014-01-10 19:00:54 +09:00
Carsten Haitzler
fc7fde97a2
evas - remove dead code (comment it out)
...
removes entirely dead code and keeps it for reference only
2014-01-10 18:48:42 +09:00
Carsten Haitzler
6017b803a9
edje_cc - remove dead code
...
fixes CID 1132639
2014-01-10 18:45:01 +09:00
Carsten Haitzler
796b84e6ec
cserve2 - debug bin - fix theoretical leak of socket fd
...
fixes CID 1039286
2014-01-10 18:40:52 +09:00
Carsten Haitzler
3a1d560c0c
eina lock posix - remove dead code in eina_spinlock_take
...
this solves CID 1106340
2014-01-10 16:58:39 +09:00
Cedric BAIL
ea379f43a0
emotion: remove some warning in the example.
2014-01-10 16:37:59 +09:00
Vincent Torri
2ed4a0510a
examples: fix various warnings in ecore and eina examples.
...
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:37:45 +09:00
Vincent Torri
c3d5ff9252
examples: fix pointer <-> int conversion (windows 64 bits) in ecore and evas examples.
...
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:36:39 +09:00
Vincent Torri
3f3f652535
examples: do not do void* arithmetics in evas examples.
...
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:36:12 +09:00