Commit Graph

31248 Commits

Author SHA1 Message Date
Srivardhan Hebbar d3f01d8f9e evas canvas3d: Eolian doc conversion of canvas3d_primitive.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2842
2015-07-20 13:25:27 +01:00
Srivardhan Hebbar 03fe4813e9 evas canvas3d: Eolian doc conversion of canvas3d_node.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2839
2015-07-20 11:53:56 +01:00
Srivardhan Hebbar 4bc09bd09e evas canvas: Eolian doc conversion of efl_vg_base.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2835
2015-07-17 14:54:57 +01:00
Srivardhan Hebbar 909a063549 evas canvas3d: Eolian doc conversion of canvas3d_object.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2834
2015-07-17 14:25:48 +01:00
Srivardhan Hebbar 486a966ebb evas canvas3d: Eolian doc conversion of canvas3d_camera.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2825
2015-07-17 13:11:01 +01:00
Jean-Philippe Andre 6c3793390f Evas GL: Some documentation on sync objects 2015-07-17 14:47:53 +09:00
Jean-Philippe Andre dc3e41c3de Evas GL: Deprecate API evasglCreateImage
Despite its ugly name, evasglCreateImageForContext should be used
instead, as it's a proper API with evasgl and ctx passed in as
arguments.
2015-07-17 14:47:53 +09:00
Jean-Philippe Andre 8942c0c29b Evas GL: Fix sync, wlbuffer and image egl ext functions
Before this patch, those EGL/EvasGL functions can not work
without a current context. But EGL does not require any
current context for those to work, or at least, this should
be left to the driver to decide.

Evas GL was only able to get a pointer to the display
if a context was current.

The display pointer should be infered from Evas_GL unless
we can find a current display. EGL does not require a
context to be current in most of these function calls.

This should bring evasgl a little bit closer to EGL in terms
of behaviour (those are EGL-only extensions, btw).

Thanks @spacegrapher for the quick review

@fix
2015-07-17 14:47:42 +09:00
Hosang Kim 51b097c014 evas_image : fix unloads cleanup logic
Summary:
Now Evas gl preload feature is disabled.
But if it is turned on, memory crash occurs.
Because evas_gl_common_texture_upload is not excuted immediately.

Test Plan: EVAS_GL_PRELOAD=1 ELM_ENGINE=gl elementary_test -to "photocam"

Reviewers: raster, cedric, woohyun, seoz, Hermet, singh.amitesh, jpeg

Subscribers: jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D2823

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-07-16 20:15:12 +09:00
Jean-Philippe Andre c73d140365 Ectore: And more build fixes for @mythri! :) 2015-07-16 20:02:47 +09:00
Jean-Philippe Andre 040945e333 Evas filters: Fix color value for invisible
Since the filters default to alpha = 255 the actual value of
invisible / transparent was black.
2015-07-16 19:50:38 +09:00
Jean-Philippe Andre 9db20800a2 Evas GL: Fix glClear(0,0,0,0) with DR and COPY
When glClear is called in direct rendering move (DR), we usually
have to skip the call altogether because clearing out transparency
would erase the pixels in the evas backbuffer. This means Evas
would not be able to blend an RGBA GLView on top of other objects.

But COPY mode should allow Evas GL to poke holes in a window
backbuffer.

Thanks @spacegrapher for the review :)

NOTE: Elm GLView also needs to pass the render op to its Evas.Image.

@fix
2015-07-16 19:50:38 +09:00
Jean-Philippe Andre b439fafa17 Evas GL: Fix internal function pointer
evas_gl_native_context_get is an internal function
passed around from an evas engine to evas_gl so that we can
implement evasglCreateImageForContext without exposing
any evas engine internal structure to evas_gl.

It's all a ittle bit ugly but the previous solution with
dlsym(DEFAULT) didn't work.
2015-07-16 19:50:38 +09:00
Jean-Philippe Andre c7e0c1b340 eina_module: Raise dlopen() error messages to WRN when file exists
Failing to load a module that does not exist is indeed not an error,
but failing to load a module that exists on disk happened probably
because of an error like "symbol not found".

Considering eina_module is most likely used by EFL itself, I believe
an internal linking failure is a warning worth reporting.
2015-07-16 19:50:38 +09:00
Jean-Philippe Andre 576f2ccab7 Evas GL: Fix evasglImageDestroy() from non-evasgl threads
If the TLS variable was not initialized, Evas GL can't get a pointer
to a valid EGLDisplay which is required by eglImageDestroy.

So, we keep track of the dpy used at creation time and use that
if we're in another thread.
2015-07-16 19:50:38 +09:00
Jean-Philippe Andre 028cf2c9a4 Ector: Another build fix for @mythri 2015-07-16 19:41:17 +09:00
Srivardhan Hebbar f0cef9a56b evas canvas3d: Eolian doc conversion of canvas3d_light.
Summary:
Apart from evas_canvas3d_node_look_at_set() all other things are referenced.
Tried to reference it to @Evas.Canvas3D.Node.look_at_set(). But getting error.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2822
2015-07-16 11:18:26 +01:00
Jean-Philippe Andre 83f4ee89d0 Ector: Fix potential build errors with double typedef
Depending on the compiler and its version, having twice a
typedef on the same name may lead to a build failure.

Thanks @mythri for the report.
2015-07-16 18:22:55 +09:00
Daniel Kolesa 216f738acf image_savers/jpeg: actually properly fixed the jump 2015-07-16 10:14:44 +01:00
Tom Hacohen 3c6c7c9be6 Ecore evas: Correct function name in magic failure.
Why this is done like this, and not just with __func__ in the macro is
beyond me.

Thanks to Vincent Torri for pointing this out.

@fix
2015-07-16 09:34:18 +01:00
Tom Hacohen 60b473d949 Eolian: fix eolian helper for windows.
Based on an Elementary patch by Vincent Torri.

@fix
2015-07-16 09:30:46 +01:00
Carsten Haitzler 11e38b5e86 Revert "image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp"
This reverts commit 5beb47aa4d.

Revert "image_savers/jpeg: fix undefined behavior of using sigsetjmp on jmp_buf"

This reverts commit 84c7751e19.

these end up with efl simply not compiling. efl tree does not build at
all now and this warrants a revert.

lib/evas/.libs/libevas.so: undefined reference to sigjmp'
collect2: error: ld returned 1 exit status
Makefile:19321: recipe for target 'bin/evas/evas_cserve2' failed
.. etc.
2015-07-16 11:14:29 +09:00
Daniel Kolesa 5beb47aa4d image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp 2015-07-15 20:05:23 +01:00
Daniel Kolesa 84c7751e19 image_savers/jpeg: fix undefined behavior of using sigsetjmp on jmp_buf
@fix
2015-07-15 16:24:27 +01:00
Daniel Kolesa 48936722f9 gl_generic: fix unintended behavior (we want to assign the value we point to) 2015-07-15 16:13:39 +01:00
Daniel Kolesa 3e72080123 evas_object_image: fix wrong type assignment warning 2015-07-15 16:06:32 +01:00
Daniel Kolesa 099bdd7819 eolian: do not use an invalid pointer after updating buffer
Replacing decimal point in buffer resulted in invalidation of the original
string pointer. On Linux, this issue was for some reason not caught, but
it was wrong anyway. Use the updated string correctly now.

@fix
2015-07-15 15:32:53 +01:00
Daniel Kolesa 573058c009 autotools: do NOT need --enable-i-really- for disabled libeeze on non-linux 2015-07-15 14:17:18 +01:00
Srivardhan Hebbar 96ad2462d2 efl.interfaces: Doc conversion of efl_gfx_fill.eo
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2818
2015-07-15 13:47:46 +01:00
Jean-Philippe Andre 29de62cd13 Evas: Fix no_render flag when in a map
no_render objects would still show up in a map surface
because of a different logic.
2015-07-15 17:51:18 +09:00
Jean-Philippe Andre 326dc3850b Evas masking: Fix rendering of masks that belong to a proxied smart object
This is a complex situation:
- Smart object A contains image I
- A is proxied into an image B
- B is marked as source_invisible, which means A is invisible
- Mask M is applied to image I
- Mask M is ALSO a smart child of A
Because of all that, mask M could not be rendered into its private
mask surface, as it was falling under the case of "parent_src_invisible".

This patch checks that the object is not a mask during the
parent_src_invisible check.

@fix
2015-07-15 16:41:59 +09:00
Jean-Philippe Andre 218b3a40f9 Evas filters: Fix parsing of curve() with a function
If the points argument was a function, there was a Lua call
stack error, making the filter fail.
2015-07-15 14:10:50 +09:00
ChunEon Park 9027cde720 The default return value of edje_object_base_scale_get API is 1.0.
The return value is used for divisor in many case.
If it return 0.0 when it fail, it can break app with div by zero.

@fix

Signed-Off-By: YoungBok Shin(id213sin) (youngb.shin@samsung.com)
2015-07-15 12:22:41 +09:00
Chris Michael a1bac6be1b ecore-wl: Reset input keyboard repeat values when we cancel the timer
Summary: If we end up cancelling the keyboard repeat timer due to no
focused surface, we should also reset the input repeat values.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-14 14:33:41 -04:00
Chris Michael d8d671548a ecore-wl: Don't renew keyboard-repeat timer if we have no focused surface
Summary: During the keyboard repeat function, if we have no keyboard
focused window to send the key to, then we should cancel the repeat
timer.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-14 14:31:15 -04:00
Chris Michael 1fb5698f35 ecore-wl: Reset ecore_wl_input repeat values on keyboard leave
Summary: As we delete any keyboard repeat timers when we get a
keyboard leave event, we should also reset any stored values there
(key, sym, time, etc).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-14 14:28:14 -04:00
Chris Michael dca6f0756d ecore-wl: Reset input's pointer & keyboard focus on events
Summary: If we get pointer or keyboard leave events, then reset the
Ecore_Wl_Input's idea of focus (eg: set input->pointer_focus and
input->keyboard_focus fields to NULL) just in case we cannot find a
window for this surface.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-14 14:24:07 -04:00
Daniel Kolesa 8ed6417196 eolian/generator: generate @ingroup in doc comments properly 2015-07-14 14:42:11 +01:00
Daniel Hirt 74ad947ded Evas textblock: Clear unused paragraphs
This fixes a scenario in which paragraphs in the current layout still
store visual lines from the previous layout. This is possible if the
text uses an ellipsis format, allowing the layout work to stop at a
certain paragraph. This inconsistency affects some query functions that
consider lines which may be irrelevant in the current layout.

Test Case: see added test case to evas_suite.

@fix
2015-07-14 16:04:40 +03:00
Srivardhan Hebbar bb6145ba2e efl.interfaces: Doc conversion of efl_file.eo
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2812
2015-07-14 13:10:19 +01:00
Srivardhan Hebbar 3f21c0eda5 efl.interfaces: Doc conversion of efl_gfx_stack.eo
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2809
2015-07-14 10:41:24 +01:00
Jihoon Kim a3d68321b8 example: check NULL value in ecore imf example 2015-07-14 16:15:35 +09:00
Daniel Juyung Seo d639d25b88 release: Update NEWS and bump version for 1.15.0-beta1 release 2015-07-13 23:31:24 +09:00
Carsten Haitzler 59db1cd0e2 evas - unload/scalecache self-feeding loop unload/reload fix
i was runing perf top and noticed that evas_image_load_file_data_eet(0
was being called. in fact - it was #1 on the list of functions being
called. why? it didn't make sense. i found out. just a blinking cursor
in terminology was causing the background to be unloaded and
re-loaded. the new "actually unload" changes for 1.15 made this happen
and thus we kept sucking in new data all the time even if the
scalecache already had the data - and that was the problem.

so now calcecache prepare tells you if you don't have cached data and
if you likely then have to ensure the data is loaded. this cuts down
quite a bit of work.

while i'm at it... we definitely need to clean house on the internals
of evas. a decade+ of features, mess, optimizations needs to be fixed.
i mean really house-cleaned. rewritten clenl;y re-using existing code
where appropriate.
2015-07-12 13:17:08 +09:00
Daniel Kolesa 8b3c3b5a7f edje_object: fix some minor doc problems 2015-07-10 14:02:32 +01:00
Srivardhan Hebbar 7b075a9a96 edje: convert doc of edje_object.eo
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Subscribers: q66, cedric

Differential Revision: https://phab.enlightenment.org/D2797
2015-07-10 11:07:00 +01:00
Tom Hacohen d7a921788f Evas canvas3d: Fix reference to class in .eo file.
We should reference classes directly, not use 'Eo'.
2015-07-09 13:41:57 +01:00
Carsten Haitzler 589fbd80cd ecore-x fix warning on unused function due to ifdefs 2015-07-09 15:45:15 +09:00
Hosang Kim eeec176166 evas: Init need_unload value after unload.
Summary: @fix

Reviewers: seoz, cedric, woohyun, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2803
2015-07-09 12:04:40 +09:00
Carsten Haitzler 155a102a45 ecore anim - oops. coverity silence checked wrong value for read/write
fix
2015-07-09 08:22:40 +09:00