Carsten Haitzler
2e74e41ed3
emotion gst: disable x window under/overlay suport for now. broken badly.
2013-07-17 18:37:03 +09:00
Cedric Bail
906d7adad7
evas: put the test after we had a chance to update the texture.
2013-07-15 19:12:01 +09:00
Carsten Haitzler
3c891b4058
evas gl: cover some more cannot-allocate-texture cases.
2013-07-15 10:59:29 +09:00
Chris Michael
9a4fc9ad44
Add engine interface code for:
...
- ecore_evas_pixmap_visual_get
- ecore_evas_pixmap_colormap_get
- ecore_evas_pixmap_depth_get
Assign interface functions for above when creating the new interface.
When creating the pixmap, store the visual and colormap for later
retrieval.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Chris Michael
fc9ee11462
Add visual and colormap to pixmap structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Carsten Haitzler
edd39272bd
evas gl: if img src size == dst on draw, turn smooth off to avoid ghosting
2013-07-11 17:39:08 +09:00
Chris Michael
4a40c8298b
Remove prev_front pixmap from structure
...
Use a local variable to hold previous front pixmap while swapping
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 08:56:44 +01:00
Carsten Haitzler
199fb6523e
evas gl engine - paranoia: check max texture size limits on texture alloc
2013-07-11 12:39:44 +09:00
Stefan Schmidt
92de5dd3c6
evas/eet: Prevent libjpeg to redefine INT32.
...
The define prevents that INT32 gets redefined in libjpeg while it
already is defined for the mingw build.
2013-07-09 11:19:28 +01:00
Cedric Bail
f54a09ef83
Revert "evas: use Eina_Tiler for GL backend."
...
This reverts commit 87b49cf103
.
2013-07-09 10:42:01 +09:00
Cedric Bail
87b49cf103
evas: use Eina_Tiler for GL backend.
...
This is a start to leverage more on our infrastructure so that later
optimizing Eina_Tiler will be more usefull.
2013-07-09 09:48:09 +09:00
Chris Michael
6e49578cb7
Check for valid string before trying to write (potentially NULL) to
...
the pipe.
NB: Fixes Coverity CID1039398
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:38:54 +01:00
Chris Michael
1d9a19f1ee
Check for valid 'send' before trying to call
...
emotion_gstreamer_buffer_free (which will dereference it).
NB: Fixes Coverity CID1039397
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:34:41 +01:00
Chris Michael
c58347b0a5
Check for valid 'send' before trying to call
...
emotion_gstreamer_buffer_free (which will derefence it).
NB: Fixes Coverity CID1039396
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:33:15 +01:00
Chris Michael
6229a871de
When printing this debug message, check for valid extension string get
...
function First.
NB: Fixes Coverity CID1039394
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:30:41 +01:00
Chris Michael
1140dbceeb
Add missing eina_lock_release when we exit
...
Since we take the lock at the start of the function, we should release
the mutex lock if we are going to return.
NB: Fixes Coverity CID1039381
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:10:44 +01:00
Chris Michael
6198351629
Fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:09:50 +01:00
Chris Michael
5e94e640c6
Fix function and protoype for pointer_xy_get (missing const).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:09:02 +01:00
Chris Michael
a8bb3ec5ce
Add common wayland function to get the pointer xy from wayland
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:02:58 +01:00
Chris Michael
4d2de522fa
Add pointer_xy_get function to engine functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:00:28 +01:00
Chris Michael
f0e47a2219
Add pointer_xy_get function to engine functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:59:20 +01:00
Chris Michael
fca4267ae4
Add functions to X engine for ecore_evas_pointer_xy_get and
...
ecore_evas_pointer_warp
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:57:00 +01:00
Chris Michael
6ea61e3e56
Fix formating ... Wow, how did this get sooo screwed ? :(
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:16:09 +01:00
Chris Michael
9103b7e2e3
Check the return of ecore_x_init and error out if that fails.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 09:21:33 +01:00
Chris Michael
461e406b91
Fix memleak reported by Coverity.
...
NB: Fixes Coverity CID1039652
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:43:24 +01:00
Chris Michael
1ea718c283
Fix memleak reported by Coverity.
...
NB: Fixes Coverity CID1039654
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:38:54 +01:00
Chris Michael
72347e539b
Fix copy/paste error in gl_common_context_push. (I beleive that texm
...
texture was wanted here, not tex texture).
MB: Fixes Coverity 1039670
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:26:08 +01:00
Chris Michael
73a68f2f0d
Add code for gl_pixmap_new and pixmap_get functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:21:51 +01:00
Carsten Haitzler
28c2bd1918
evas - gif: refactor a lot of the gif animated loader code to be much cleaner.
2013-07-06 15:12:36 +09:00
Carsten Haitzler
fab94cb3ea
evas - fix gif animatd loader segv just inroduced.
2013-07-05 23:11:51 +09:00
Chris Michael
7431e6a02a
Check for valid ee->prop.window before trying to fetch window
...
attributes from it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 11:09:25 +01:00
Chris Michael
2c322cc7b1
Add code for ecore_evas_<engine>_pixmap_new/get functions.
...
- Add "pixmap" structure to engine_data.
- Free the front and back pixmaps when the ecore_evas gets freed.
- On resize, drop the backing pixmap if size is different.
- Before we render, check pixmap size vs EE size and create new
backing pixmap if needed.
- After we have rendered into the backing pixmap, flip it to the
front so that any calls to "pixmap_get" will return the proper one.
- Add pixmap_new_internal code (the actual guts for all this)
NB: These can be used to create an internally double-buffered
ecore_evas that renders to a pixmap (not a window).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Cedric Bail
913d56da9e
evas: make it possible to disable preload for buggy driver.
2013-07-05 15:39:44 +09:00
Cedric Bail
2efcd3bb19
evas: fix gif loader accessing uninitialized value.
2013-07-05 11:35:06 +09:00
Chris Michael
8fc3c9c8bc
Revert "EFL formatting and 80 column wrap"
...
Revert this because I have better things to do than argue about commit
messages.
This reverts commit ee5483bee1
.
2013-07-03 14:30:40 +01:00
Chris Michael
ee5483bee1
EFL formatting and 80 column wrap
...
NB: Nothing functional (yet)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-03 13:54:35 +01:00
Cedric Bail
0f153be0e5
evas: fix bugin Enlightenment triggering a path where data are loaded, but flags is not set.
...
This fix T187.
2013-07-03 12:48:38 +09:00
Carsten Haitzler
22ad827274
evas gl: fix origin of swapbufferswithdamage to be BOTTOM-LEFT based...
2013-07-03 12:11:18 +09:00
Stefan Schmidt
ed08c1832c
emotion: Another check for engine being NULL.
...
Missed this second occurance in 8deb75463b
.
Now also fixed this potential null pointer dereference when the engine
list is empty.
2013-07-02 09:45:35 +01:00
Carsten Haitzler
1f2c19749f
in drm_shutdown set tried to false...
2013-07-02 17:26:18 +09:00
Jean-Philippe Andre
f1506d8dd2
evas/loaders: use Eina_Stringshare where needed.
...
Evas loaders' open() function expect the key to be a stringshare,
so declare it as such and keep using ref() without add().
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
687c4aa475
evas/cserve2: use Eina_Stringshare.
...
We must close the image after loading the data.
Also, Evas loaders expect stringshares.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
65fcf390b4
evas/loaders: init/shutdown EET from loader module.
...
cserve2 slave requires Eet to be initialized before use :)
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
a09efda8d2
evas/loaders: add log domain for ICO loader.
...
This is to remove the dependency of the ico loader on Evas itself.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
90d8647c02
evas/cserve2: fix crash with YUV tests in expedite.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jiyoun Park
958a430f5e
* Evas: Fix jpeg loader cannot deal with exif information correctly
2013-06-29 15:00:43 +09:00
Chris Michael
f9348a5015
Fix klockwork possible memleak report:
...
If we get an error trying to "make current" an allocated surface, then
we should free that allocated surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:23:57 +01:00
Chris Michael
d92edb51a4
Fix memleak reported by klockwork:
...
If a jpeg image is rotated and we have allocated space for ptr_rotate,
then we should free it Always ... Not Only if the degrees are
180...because we allocate it always
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 13:39:45 +01:00
Eduardo Lima (Etrunko)
2d84a8a8fb
WIP
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-26 10:58:36 -03:00
Daniel Willmann
dd76f4cd05
evas gl_x11: Fix uninitialized use of re in eng_output_flush()
...
In case of render_mode == EVAS_RENDER_MODE_ASYNC_INIT we're jumping
directly to end which then calls
evas_gl_preload_render_unlock(eng_preload_make_current, re);
Make sure re is initialized with the render engine data so we don't
dereference junk.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 14:42:10 +01:00