Commit Graph

1205 Commits

Author SHA1 Message Date
Mike Blumenkrantz 86e07547f1 add null checks to WebPDecodeBGRA() returns in webp loader
SPANK SPANK, IGOR!


SVN revision: 76521
2012-09-12 12:13:08 +00:00
Youness Alaoui 49e4b498a2 Evas : Use server based buffers for vertices instead of client buffers
Implement a auto-free system of the allocated buffers to avoid using
resources that we may not need anymore.

SVN revision: 76490
2012-09-12 06:19:50 +00:00
Carsten Haitzler 80dbe14ea8 really minor improvement - detect llvmpipe as a software renderer and
blacklist it. :)



SVN revision: 76344
2012-09-08 14:31:18 +00:00
ChunEon Park 74f1f5eed1 evas/gl_common - simpler code
SVN revision: 76289
2012-09-07 08:31:19 +00:00
Carsten Haitzler ee49da7665 fix image alpha set bug.
SVN revision: 76277
2012-09-07 05:57:22 +00:00
Carsten Haitzler 79045b88db fix rgab dest alpha rendering issue
SVN revision: 76188
2012-09-05 10:11:48 +00:00
Eduardo de Barros Lima e44d6633a3 Formatting
SVN revision: 76144
2012-09-04 20:38:09 +00:00
Eduardo de Barros Lima 904e2096f4 Wayland_egl: NULL checks to avoid crash with invalid re->win
SVN revision: 76135
2012-09-04 18:27:29 +00:00
Igor Murzov e42648154f From: Igor Murzov <e-mail@date.by>
Subject: [E-devel] [PATCH][RESEND][Evas] WebP image loader

This patch adds a WebP image loader to Evas. No saver,
no animation support for now, just loader. Tested with
the libwebp-0.2.0 only, but should work fine with older
versions.



SVN revision: 75951
2012-09-03 06:22:59 +00:00
Vincent Torri 0854fe7aba Evas: Fix seg fault in the esvg loader, latest code is required, and enable it on Windows.
SVN revision: 75942
2012-09-02 18:20:35 +00:00
Christopher Michael 871a47258d Evas (wayland_egl): Add support for Multi-Sample Anti-Aliasing and GL
Direct Images. Add support for using native image binding. Add support
for setting GL surface capabilities. Fix up some overrides to be in
the proper place (glsym vs evgl).

NB: Yes, it is a bit large of a change during freeze, but there are no
API changes here, and it is well tested. Nothing broken (beyond what
was already broken).



SVN revision: 75826
2012-08-29 12:55:51 +00:00
Jiyoun Park 4c7a23d21e fix jpeg loader to decode JFIF format.
before, if the jpeg format is JFIF, we cannot get orientation. 
currently jpeg loader get orientation from file


SVN revision: 75707
2012-08-26 11:22:55 +00:00
Tom Hacohen a1687ca4b9 Evas: Started using EVAS_GENERAL_CFLAGS/LIBS 2 vars to rule them all.
Instead of going all over the place and adding cflags to many different
Makefiles, now you just need to update these 2 vars.

SVN revision: 75619
2012-08-23 11:32:38 +00:00
ChunEon Park 25255b9409 evas/gl_x11 - one is enough
SVN revision: 75503
2012-08-21 11:57:48 +00:00
ChunEon Park e99f70901f evas/gl_x11 - more simple code
SVN revision: 75502
2012-08-21 11:37:02 +00:00
ChunEon Park 38fa83ebf4 evas/gl_x11 - trivial changes
fix indent, remove white spaces



SVN revision: 75501
2012-08-21 11:32:18 +00:00
Sung Park d1eea33285 Fix evas_gl current_context update issue when evas_gl context is deleted.
SVN revision: 75490
2012-08-21 07:42:08 +00:00
Sung Park f4d20be0c2 Fixed compiler warning messages in gl_x11 evas_engine for evas_gl.
SVN revision: 75488
2012-08-21 07:28:39 +00:00
ChunEon Park a9593bd3fa evas/gl - removed unnecessary lines which causes the resource leak and corruption
SVN revision: 75463
2012-08-20 12:37:22 +00:00
ChunEon Park dc99ca8987 evas/gl_common - less pointer access
SVN revision: 75346
2012-08-17 04:43:23 +00:00
Carsten Haitzler 54650e7e56 fix font glyph issue when gl enignes shut down leaving font glyph data
for textures in the font core.



SVN revision: 75243
2012-08-14 08:31:59 +00:00
Christopher Michael 419c817815 Evas (wayland_egl): More bug fixes & cleanups ! :)
When we create the egl window we should take rotation into
consideration, so account for that. Add an 'edges' variable to the
engine info structure. This is needed so we can implement resizing
windows from the top also. Make sure to use
wl_egl_window_get_attached_size and determine the edge we are resizing
from, so we can calculate the difference in sizes to send to
wl_egl_window_resize.

Add __UNUSED__ to function paramaters where it was missing, and fix
some compiler warnings.



SVN revision: 75215
2012-08-13 14:36:25 +00:00
Carsten Haitzler d101c4eddc theoretically this should fix alpha dest stuff in egl-x11... it
always worked oddly enough :)



SVN revision: 75086
2012-08-10 10:32:49 +00:00
Christopher Michael e2957462c8 Evas (wayland_egl): We don't have a visualinfo structure for the
window at this point, so we cannot use it for comparison. Instead,
check the requested depth. Also fix best_depth_get function to not
return a hard-coded depth if a depth has been set already.



SVN revision: 75082
2012-08-10 10:08:22 +00:00
Youness Alaoui 60800876c3 Evas: Use proper variable (gc->shared is set later on)
SVN revision: 75022
2012-08-08 23:35:58 +00:00
Carsten Haitzler 6cfcf9ef49 can't reproduce but try avoid possible alloc bug in native surface
handling.



SVN revision: 74993
2012-08-08 06:25:59 +00:00
Carsten Haitzler c9f5e9d978 add missing fribidi flags to all engine modules.
SVN revision: 74889
2012-08-05 23:59:02 +00:00
Carsten Haitzler 6c079bcba6 dynamic texture path may have a segv issue... right jy? :) this should
fix it. try this patch. yay!



SVN revision: 74840
2012-08-03 10:42:24 +00:00
Sung Park d0b5d1e13e Fix evas_gl's internal resource surface bug. For optimzation evas_gl
was using evas' window surface to do its resource creation and it 
wans't properly updated when a window is destroyed and recreated.

Also, deleted some whitespaces. 


SVN revision: 74771
2012-08-02 01:15:38 +00:00
Jiyoun Park d507bebc92 Gif loader didn't initialize frame buffer of first frame.
fix gif loader to initialize first frame's image data area


SVN revision: 74704
2012-08-01 04:33:12 +00:00
Christopher Michael 2aa4cd4bd5 Evas (wayland_egl): Add traps for a NULL rendering engine.
This can happen when rapidly opening & closing windows and when
engines are swapped between shm & egl programmatically.



SVN revision: 74616
2012-07-31 06:59:35 +00:00
ChunEon Park a3e8b5736d evas/gl - more clean code
SVN revision: 74420
2012-07-26 07:43:47 +00:00
Christopher Michael 4b5e15a133 Evas (wayland_egl): Set resource_list to NULL after we free it. Fix
minor formatting issue.



SVN revision: 74348
2012-07-24 09:19:23 +00:00
ChunEon Park 843255a175 evas/gl - +null & less code
This fixes the incorrect operations when evas gl is re-initialized in one same process



SVN revision: 74339
2012-07-24 03:57:27 +00:00
Rob Bradford 1e42e445c5 Evas (wayland_egl): Fix a series of various segfaults with the
wayland_egl engine caused by windows being hidden:

From: Rob Bradford <rob@linux.intel.com>
Date: Fri, 13 Jul 2012 19:13:12 +0100
Subject: [PATCH] evas(wayland_egl): Resolve a series of segfaults on
clean-up

The first was that when a window was being hidden the render engine
(e->engine.data.output) was being assigned to NULL (like on an error
path). I
checked other backends and they only free and nullify this pointer on
error
paths. By doing it on a hide it was interfering with cleanup process
for the
object.

This then highlighted a second crash from the derefence of the window
to NULL
when flushing the cache. If the window was hidden this window pointer
would
be NULL.

The third it highlighted was a duplicate call into
evas_gl_common_image_free
and the freeing of the image cache twice. By the time eng_image_free
has been
called the cache has already been freed so we can remove the duplicate
free.



SVN revision: 74330
2012-07-23 14:33:31 +00:00
Alex Wu 0f50ef36b9 Evas (wayland_egl): Fix crashes when flipping window alpha state.
From: Alex Wu <zhiwen.wu@linux.intel.com>

When calling elm_win_alpha_set(), the global EGLContext object keep
unchanged, but the new EGLSurface object subjects to the new EGLConfig
with changed alpha_size. This makes eng_window_new() failed and hence
free the  Render_Engine object (e->engine.data.output) and nullize it.
Next time other objects reference the output, segfault occurs.

In this patch, I give every Evas_GL_Wl_Window object a EGLContext object
and all these EGLContext objects share the same shader program objects.

A new global EGLContext object "share_context" added, which is
responsible for keeping the shared objects alive. e.g. shader program
objects.At the first time succeeded to create a EGLContext, assign it to
the "share_context", and should not destory it in eng_window_free.

The "share_context" will be taken as the 3rd argument when calling
eglCreateContext(), and then updated to the new created EGLContext to
keep the shared gl objects available.

Thanks for devilhorns' review and suggestion.



SVN revision: 74328
2012-07-23 14:16:50 +00:00
Youness Alaoui 8381ac5f55 Evas: Implement scale_hint_get/set for gl_sdl
SVN revision: 74323
2012-07-23 11:59:18 +00:00
Youness Alaoui cedbafac14 Evas: Update gl_sdl, gl_cocoa, directfb and software_16_sdl engines to use the new function prototype of image_map_draw
The arguments for image_map_draw changed, and these engines were receiving
the wrong data. In the case of gl_cocoa and gl_sdl, the gl_common would
receive a pointer for 'npoints' and would call abort() because npoints
is not 4.

SVN revision: 74321
2012-07-23 11:58:37 +00:00
Jiyoun Park d34502b33f fix bug in jpeg saver.
it override error handler before creation.
modify override error hanler after creation


SVN revision: 74153
2012-07-19 03:04:47 +00:00
ChunEon Park 7674239482 evas/text - Let Draw Text with it's viewport size instead of window size.
When map is enabled then text should be rendered completely for it's surface.



SVN revision: 73514
2012-07-10 05:56:13 +00:00
Cedric BAIL e468bdd391 evas, ecore: fix crash when sdl doesn't init properly.
SVN revision: 73400
2012-07-06 08:16:03 +00:00
Rafael Antognolli 56eeac8fbd evas/cserve2: Always return FALSE to can_do_region when
using cserve2.
Return always FALSE since we are not implementing this load option yet.



SVN revision: 73374
2012-07-05 18:42:30 +00:00
ChunEon Park a7f8d70ef1 evas/gl - fixed Evas_Map NightMare.
Trvial mistake but I wasted much time to find out it.




SVN revision: 73331
2012-07-05 08:41:59 +00:00
ChunEon Park 9fbe6288df evas/gl - indentation fix
SVN revision: 73330
2012-07-05 08:37:16 +00:00
Christopher Michael afe6a61a8c Evas (xcb engine): Port cedric's changes for pipe rendering to the xcb
engine.



SVN revision: 73283
2012-07-04 12:52:31 +00:00
Christopher Michael 86293f9c4f Evas (wayland_egl): Fix image_draw_map prototype & function code to
match cedric changes.



SVN revision: 73280
2012-07-04 12:36:39 +00:00
Cedric BAIL 1d415b796b evas: add more infrastructure to the prepare stage of pipe rendering.
NOTE: this improve some test by 10 to 15% some other are down by 5%.
Their is still more tunning and improvement possible now (Particularly
with Map), but it will do for now.


SVN revision: 73264
2012-07-04 09:39:23 +00:00
Christopher Michael 43af930a16 Evas (wayland_shm): Fix regression where resizing window down would
leave artifacts.



SVN revision: 73253
2012-07-04 07:12:46 +00:00
Christopher Michael 478e94a71d Evas (gif loader): Merge Tizen changes to upstream EFL. (Support gif
scaling).



SVN revision: 73202
2012-07-03 07:34:35 +00:00
Christopher Michael d856a2f067 Evas (gl_common): Merge Tizen changes to upstream EFL.
SVN revision: 73201
2012-07-03 07:33:44 +00:00