Daniel Kolesa [Tue, 9 Jun 2015 13:01:25 +0000 (14:01 +0100)]
elua lib: sanitize all file paths before writing them
This will prevent random nonsense from being written in.
It changes semantics slightly (documented) and also fixes
CID 1267463.
@fix
Daniel Kolesa [Tue, 9 Jun 2015 12:43:36 +0000 (13:43 +0100)]
eolian: pass rbuf to doc_error
This allows us to correctly free the buffer in error scenarios.
Fixes CID 1304728.
@fix
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 10:36:59 +0000 (19:36 +0900)]
eina semaphore lock - don't wake up because of signals
@fix - this fixes eina sephamore lock/wait to not return just because
of a signal sent to the process - try again if the semaphore wait is
interrupted by a signal as opposed to a semaphore wakeup.
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 09:58:40 +0000 (18:58 +0900)]
eina btlog - util - shut up coverity
eina_btlog is a backtrace "cleaner" that takes a raw bt from eina log
and gives a full readable bt for humans. it's run-and-quit binary like
ls or rm - it does its job and exits, so leaks are really of no
concern here...
CID 1297407
Stefan Schmidt [Tue, 9 Jun 2015 08:18:02 +0000 (10:18 +0200)]
evas/evas_op_add_main: Remove superfluous if branch.
We do the same in both branches: return func.
CID: 1267478, 1267480, 1267482, 1267486
Stefan Schmidt [Tue, 9 Jun 2015 08:13:06 +0000 (10:13 +0200)]
evas/evas_op_mul_main: Remove superfluous if branch.
We do the same in both branches: return func.
CID: 1267468, 1267471
Stefan Schmidt [Tue, 9 Jun 2015 08:10:35 +0000 (10:10 +0200)]
evas/evas_op_mask_main: Remove superfluous if branch.
We do the same in both branches: return func.
CID: 1267481, 1267485
Stefan Schmidt [Tue, 9 Jun 2015 08:06:27 +0000 (10:06 +0200)]
evas/evas_op_copy_main: Remove superfluous if branch.
We do the same in both branches: return func.
CID: 1267483, 1267484, 1267487, 1267488
Stefan Schmidt [Tue, 9 Jun 2015 08:02:59 +0000 (10:02 +0200)]
evas/evas_op_blend_main: Remove superfluous if branch.
We do the same in both branches: return func.
CID: 1267469, 1267470, 1267473, 1267474
Stefan Schmidt [Tue, 9 Jun 2015 07:56:18 +0000 (09:56 +0200)]
evas/evas_op_sub_main: Remove superfluous if branch.
We do the same in both branches: return func.
CID: 1267476, 1267477, 1267479, 1267489
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 08:28:33 +0000 (17:28 +0900)]
ecore x - remove warning on unused variable
Carsten Haitzler (Rasterman) [Tue, 2 Jun 2015 11:39:57 +0000 (20:39 +0900)]
evas render2 work - begin to make rectangles deal with render 2 basic
infra
Jean-Philippe Andre [Tue, 9 Jun 2015 07:04:26 +0000 (16:04 +0900)]
Edje: Fix indentation after a clean-up commit
@zmike apparently wanted to beat the b0rker in chief,
(see
172a0ccf0cd6) but edje_text.c came out worse than before :)
eo_do() seems to totally mess with editors' auto-formatting in
some cases.
Jean-Philippe Andre [Wed, 3 Jun 2015 05:57:37 +0000 (14:57 +0900)]
Evas: Fix shadow warning
Jihoon Kim [Tue, 9 Jun 2015 05:30:07 +0000 (14:30 +0900)]
ecore_imf/wayland: support on-demand show mode
In on-demand show mode, input panel will be shown in case of only an user's explicit Mouse Up event.
It doesn't request to show the input panel even though the Input Method Context has focus.
Ji-Youn Park [Tue, 9 Jun 2015 04:10:59 +0000 (13:10 +0900)]
ecore_x_xi2: remove useless define check XI_TouchXXX.
Summary:
we can use XI_TouchXXX defines after xi2_2. So we don't need check XI_TouchXXX defines.
I think it is simple only using the ECORE_XI2_2 define instead of using XI_TouchXXX defines.
Ji-Youn Park [Mon, 8 Jun 2015 18:53:01 +0000 (14:53 -0400)]
ecore_x_xi2: remove useless define check XI_TouchXXX.
Summary:
we can use XI_TouchXXX defines after xi2_2. So we don't need check XI_TouchXXX defines.
I think it is simple only using the ECORE_XI2_2 define instead of using XI_TouchXXX defines.
Reviewers: raster, cedric, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2637
Mike Blumenkrantz [Mon, 8 Jun 2015 18:43:00 +0000 (14:43 -0400)]
edje: reformat all C files
this has been unreadable for years due to the french tabber.
Mike Blumenkrantz [Mon, 8 Jun 2015 17:29:02 +0000 (13:29 -0400)]
Revert "edje: set GROUP/SWALLOW/EXTERNAL pass events based on mouse events"
This reverts commit
c38f84e64f3ac915d61c0307fc9dce0c66fda7b8.
apparently many existing edje groups were written with the assumption that
this was broken, so fixing it is impossible at this point
Mike Blumenkrantz [Mon, 8 Jun 2015 17:20:00 +0000 (13:20 -0400)]
edje: set GROUP/SWALLOW/EXTERNAL pass events based on mouse events
previously these parts would fail to consume mouse events as expected,
leading to strange event chains which were inconsistent with other types
of parts
@fix
Daniel Kolesa [Mon, 8 Jun 2015 16:36:23 +0000 (17:36 +0100)]
ecore: move eo docs to new format
Daniel Kolesa [Mon, 8 Jun 2015 16:35:25 +0000 (17:35 +0100)]
eolian/generator: use get/set doc as primary if needed
Cedric BAIL [Mon, 8 Jun 2015 15:58:28 +0000 (17:58 +0200)]
eina: fix copy and paster error detected by Coverity.
CID 1302701
Daniel Kolesa [Mon, 8 Jun 2015 15:16:15 +0000 (16:16 +0100)]
eolian/generator: support for since tag in doc gen
Stefan Schmidt [Mon, 8 Jun 2015 14:59:45 +0000 (16:59 +0200)]
modules/evas/engines/software_generic: No need to check enums for smaller 0
Evas_Image_Orient is an enum starting at 0 thus we never go below 0. Remove
unneeded checks.
modules/evas/engines/software_generic/evas_engine.c:1558:4: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
modules/evas/engines/software_generic/evas_engine.c:1560:8: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
Stefan Schmidt [Mon, 8 Jun 2015 14:43:24 +0000 (16:43 +0200)]
emile: Init ptrag as it might get used uninitialized if not
lib/emile/emile_image.c:2099:49: warning: 'ptrag' may be used uninitialized in this function [-Wmaybe-uninitialized]
Stefan Schmidt [Mon, 8 Jun 2015 14:38:02 +0000 (16:38 +0200)]
eavs_3d: Avoid enum check for < 0
Evas_3D_Mesh_Primitive is a enum starting from 0 so it never will be below 0.
Just as the compiler tells us. Remove unneeded check.
lib/evas/canvas/evas_3d_primitive.c:48:4: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
Chris Michael [Mon, 8 Jun 2015 14:56:10 +0000 (10:56 -0400)]
ecore-wayland: Fix T2466: Update xdg shell protocol code
Summary: This updates the xdg_shell protocol and code to support
XDG_SHELL version 5. This allows EFL/Elm apps to function again in
Weston.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Mon, 8 Jun 2015 14:55:02 +0000 (15:55 +0100)]
eolian: support for @since tag in new doc comments
This is kind of ugly, but I didn't see a better way to do it without turning
this into a much more complicated parser. So this will have to do unless we
find something else to add, in which case a new doc parser will be required.
@feature
Daniel Kolesa [Mon, 8 Jun 2015 10:03:33 +0000 (11:03 +0100)]
eolian: we need import_types_ref.h included in tarball
If we don't, distcheck fails (because of missing file).
@fix
Daniel Kolesa [Mon, 8 Jun 2015 09:56:54 +0000 (10:56 +0100)]
eolian/generator: fix a false positive in eolian types_gen
While it is true that 'strrchr' may return NULL, in this case it
never will (there is always a newline). Either way, silence Coverity.
Fixes CID 1304558.
Daniel Kolesa [Mon, 8 Jun 2015 09:48:22 +0000 (10:48 +0100)]
eolian_cxx: initialize all members in a struct correctly
Fixes CID 1298133.
@fix
Daniel Kolesa [Mon, 8 Jun 2015 09:43:20 +0000 (10:43 +0100)]
eolian: silence static analysis
Add some unreachable returns to fix CID 1304557.
Avi Levin [Wed, 20 May 2015 07:08:17 +0000 (10:08 +0300)]
evas_clickable_interface: adding new event
Avi Levin [Mon, 27 Apr 2015 15:28:36 +0000 (18:28 +0300)]
evas: porting evas smart callbacks to eo
Avi Levin [Sun, 26 Apr 2015 11:49:26 +0000 (14:49 +0300)]
emotion: porting evas smart callbacks to eo
Avi Levin [Tue, 21 Apr 2015 16:00:58 +0000 (19:00 +0300)]
edje: porting evas smart callbacks to eo
It's the first stage of replacing calls of evas_object_smart_callback_add/del/call
with eo_callback_add/del/call.
This will reduce the use of legacy events and callbacks lists in
smart_object which in turn will improve performance and reduce memory
use.
Chris Michael [Fri, 5 Jun 2015 17:39:41 +0000 (13:39 -0400)]
evas-gl-drm: Trap for invalid gbm bo
Summary: If we fail to lock the front buffer, we will not get a valid
bo returned so we should not be calling other functions which require
a bo.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Fri, 5 Jun 2015 16:03:36 +0000 (17:03 +0100)]
eo: move some eo files to new doc syntax
Daniel Kolesa [Fri, 5 Jun 2015 16:02:47 +0000 (17:02 +0100)]
eolian/generator: generate @ref foo for @foo
Daniel Kolesa [Fri, 5 Jun 2015 15:43:08 +0000 (16:43 +0100)]
eolian/generator: use more correct indent offset in types doc gen
Daniel Kolesa [Fri, 5 Jun 2015 15:10:12 +0000 (16:10 +0100)]
eolian: remove support for short doc comments (//@)
Daniel Kolesa [Fri, 5 Jun 2015 14:38:05 +0000 (15:38 +0100)]
eolian/generator: fix silly shadow warning
Chris Michael [Fri, 5 Jun 2015 14:12:27 +0000 (10:12 -0400)]
eina: Fix warning about unused paramaters
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Fri, 5 Jun 2015 14:08:48 +0000 (15:08 +0100)]
eolian/generator: @param[in,out] is the correct inout syntax
Chris Michael [Fri, 5 Jun 2015 14:01:46 +0000 (10:01 -0400)]
Merge branch 'devs/devilhorns/gl_drm'
This merges a refactored evas gl_drm engine which actually functions now :)
Chris Michael [Fri, 5 Jun 2015 13:59:57 +0000 (09:59 -0400)]
evas-gl-drm: Fix issue with swap mode returning wrong value
Summary: This fixes a crashing issue in evas image cache due to the
engine returning an improper swap mode.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 4 Jun 2015 15:52:22 +0000 (11:52 -0400)]
evas-gl-drm: Refactor gl_drm engine to not use dumb buffers
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 4 Jun 2015 15:48:50 +0000 (11:48 -0400)]
ecore-evas-drm: We don't need to feed mouse events here
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 4 Jun 2015 14:23:52 +0000 (10:23 -0400)]
ecore-drm: Don't free an output on unplug
Summary: We should not be freeing an output when it gets unplugged (as
it may get replugged). Just disable rendering on that output
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 4 Jun 2015 12:52:28 +0000 (08:52 -0400)]
evas-gl-drm: Create eglContext before eglWindowSurface
Summary: We should be creating the eglContext before trying to create
the window surface.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 Jun 2015 19:21:44 +0000 (15:21 -0400)]
ecore-evas-drm: Use XRGB format for gl_drm canvas
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 Jun 2015 18:30:10 +0000 (14:30 -0400)]
evas-gl-drm: Readd support for pre_swap/post_swap callbacks
Summary: The pre/post swap callbacks were forgotten when doing the
engine rewrite, so readd them
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 Jun 2015 18:29:14 +0000 (14:29 -0400)]
ecore-drm: Don't crash when trying to disable an output
Summary: If we call these functions with an already disabled output,
we crash. Check for an output being 'enabled' before we make these
calls.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 Jun 2015 18:28:45 +0000 (14:28 -0400)]
ecore-evas: Change gl_drm to be the proper engine name
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 Jun 2015 16:59:07 +0000 (12:59 -0400)]
ecore-drm: Remove erroneous error messages from EINA_SAFETY checks
Summary: As the gl_drm engine code will almost always pass NULL
rectangles, remove the EINA_SAFETY checks so that logs don't fill with
meaningles error messages.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 Jun 2015 16:57:59 +0000 (12:57 -0400)]
ecore-evas-drm: Update ecore_evas_drm for recent evas gl_drm changes
Summary: Previous Ecore_Evas drm code would create the gbm device and
surface inside the gl_drm function. As these are now handled inside
the evas-gl-drm engine itself, this code is not needed here.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 Jun 2015 16:56:35 +0000 (12:56 -0400)]
evas-gl-drm: Rework gl_drm engine to function again
Summary: Previous gl_drm evas engine code did not work properly (or at
all really). This reworks/refactors the gl_drm engine code to work
again with the changes made to ecore_drm.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 2 Jun 2015 13:05:26 +0000 (09:05 -0400)]
evas-gl-drm: Remove old engine code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Fri, 5 Jun 2015 13:49:40 +0000 (14:49 +0100)]
eolian: don't emit an extra empty line in certain cases
Daniel Kolesa [Fri, 5 Jun 2015 11:15:51 +0000 (12:15 +0100)]
eolian/generator: generation for new documentation system
This commit adds the necessary generator logic to emit doc
comments from the new doc syntax. Old doc comments are kept
in for the time being as they're used within the EFL but they
will be removed eventually. This new generator focuses all the
important code in one place, making usage easy.
@feature
Felipe Magno de Almeida [Tue, 2 Jun 2015 17:32:45 +0000 (14:32 -0300)]
eolian-cxx: Removed unused function
Removed unused function and consequent warning
Lukasz Stanislawski [Thu, 4 Jun 2015 17:06:27 +0000 (13:06 -0400)]
ecore-x: add new grab touch devices functionality.
Summary:
EFL currently supports pointer grabbing. This patch introduces new API
allowing to grab all slave touch devices registered in X server
Grabbing is performed by XIGrabDevice function from XInput 2.0.
By default ecore_x_input_touch_devices_grab grabs all XISlavePointer devices,
having XITouchInfoClass. Function returns EINA_TRUE if at least one touch device
was successfully grabbed. ecore_x_input_touch_devices_ungrab ungrabs all
previously grabbed devices.
To process events correctly change has been done in x_input_handler to emulate
mouse pointer events. If XITouchEmulatingPointer flag is set on touch events and
device is grabbed framework will generate mouse events. This is required
due to X Server design in which mouse events are no longer send to client when device is
detached (grabbed) from virtual core pointer.
@feature
Reviewers: cedric, raster, devilhorns
Subscribers: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D2568
Daniel Kolesa [Thu, 4 Jun 2015 14:41:52 +0000 (15:41 +0100)]
eolian: double newline ends summary, not single
This allows you to split the summary on multiple lines
if necessary (for example to satisfy line limit)
@fix
Tom Hacohen [Thu, 4 Jun 2015 09:15:41 +0000 (10:15 +0100)]
Evas 3d texture: Fix some Eolian warnings.
Tom Hacohen [Thu, 4 Jun 2015 09:15:29 +0000 (10:15 +0100)]
Evas image: Fix some Eolian warnings.
Tom Hacohen [Thu, 4 Jun 2015 09:15:16 +0000 (10:15 +0100)]
Evas canvas: Fix some Eolian warnings.
Vivek Ellur [Thu, 4 Jun 2015 08:32:01 +0000 (10:32 +0200)]
eina: add test cases for eina_matrix3 APIs
Summary:
Added test cases for eina_matrix3_values_get, eina_matrix3_values_set,
eina_matrix3_equal, eina_matrix3_type_get APIs
Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2623
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 3 Jun 2015 15:56:22 +0000 (17:56 +0200)]
evas: silence warning.
So I don't like this data being void and stride being in bytes, but changing it
for silencing a warning will be a massive change. I will put that on the major
cleanup that Evas_3D need to receive.
Daniel Kolesa [Wed, 3 Jun 2015 15:47:24 +0000 (16:47 +0100)]
eolian: remove prototype of non-existent API
Daniel Kolesa [Wed, 3 Jun 2015 15:16:53 +0000 (16:16 +0100)]
eolian: add documentation handling API
This adds new APIs that deal with the new documentation syntax
provided by Eolian. The old doc comment APIs are considered
deprecated from now on and will be removed.
@feature
shilpa.singh [Wed, 3 Jun 2015 15:39:42 +0000 (16:39 +0100)]
Edje: Add have_selection check to avoid unnecessary function calls
Summary:
Check for have_selection flag when left/arrow keys are pressed to jump
across the selected text, to avoid unnecessary function calls of
comparision, copy of sel_start and sel_end pointers.
Test Plan: Press left and right arrow keys on selected and normal text.
Reviewers: herdsman, tasn
Subscribers: SubodhKumar, navnbeet, cedric
Differential Revision: https://phab.enlightenment.org/D2621
Ivan Furs [Wed, 3 Jun 2015 14:34:45 +0000 (16:34 +0200)]
evas: for aabb add interpolation frame when base frame is not found
Summary:
Old algorithm searched specified frame of the base frame and when it could not find the specified frame it ignored. So the bounding box was not synchronized with the object.
New algorithm always returns specified base frame or frame interpolation between the nearest base frames. That does synchronizes mesh object and his bounding box.
Reviewers: Hermet, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2594
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 3 Jun 2015 14:12:01 +0000 (16:12 +0200)]
ecore_con: fix error handling case.
Since the move to Eo, in case of error we do not need to cleanup anything when
finalize finish. The kill function was arranged to do so, but it was still emiting
an event exposing the invalid Eo object. Looking closely at the code, that should
have not happened, as there was no symetrical ADD event and the function would do
nothing else. So removing it. This prevent any potential SEGV from a function that
would catch the DEL event.
@fix
Daniel Kolesa [Wed, 3 Jun 2015 14:35:13 +0000 (15:35 +0100)]
eolian: properly fill and free all doc fields
Daniel Kolesa [Wed, 3 Jun 2015 14:06:26 +0000 (15:06 +0100)]
eolian: start exposing Eolian_Documentation
Bogdan Devichev [Wed, 3 Jun 2015 12:26:34 +0000 (21:26 +0900)]
evas_3d: fix coverity scan CID 1302703 and CID 1302702
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2613
jiin.moon [Wed, 3 Jun 2015 08:57:27 +0000 (10:57 +0200)]
emile: fix region load for jpeg image with orientation different set.
Summary:
If you try to load the jpeg image with an orientation mode defined
using elm_photocam, you can see the broken image(in canse of 90 degree)
or even segmentation fault can happen (in case of 180,270 degree)
@fix
Test Plan: photocam menu on elementary_test
Reviewers: Hermet, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2593
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Daniel Kolesa [Wed, 3 Jun 2015 11:06:36 +0000 (12:06 +0100)]
eolian: initial test file for docs (no APIs to test yet)
Daniel Kolesa [Wed, 3 Jun 2015 11:01:08 +0000 (12:01 +0100)]
eolian: enums can't be opaque, check properly
Tom Hacohen [Mon, 1 Jun 2015 13:51:59 +0000 (14:51 +0100)]
Edje object: Fix more Eolian warnings.
Daniel Kolesa [Wed, 3 Jun 2015 10:11:12 +0000 (11:11 +0100)]
eolian: preliminary parsing of doc syntax
Dongyeon Kim [Wed, 27 May 2015 00:11:23 +0000 (09:11 +0900)]
evas/gl_common: Reset mvp matrix only for shaders that are being used
Summary:
Evas has quite a number of shaders, and resetting the projection matrix
for all shaders takes some time, which is an overhead when target surface
is continuously being changed (ie. when using proxy).
So here we reset the projection matrix for shaders that are actually used.
Dongyeon Kim [Tue, 19 May 2015 06:18:37 +0000 (15:18 +0900)]
Evas GL: support surfaceless make current
Summary:
Evas GL now supports surfaceless make current, where
evas_gl_make_current can be called with sfc parameter NULL.
This closely resembles EGL_KHR_surfaceless_context extension,
where applications that only want to render to client API targets
can make current to NULL surface instead of creating a dummy egl surface.
@feature
Dongyeon Kim [Tue, 19 May 2015 02:30:05 +0000 (11:30 +0900)]
Evas GL: Skip surface buffers create/allocate for pbuffer with NO_FBO
Summary:
When pbuffer surface is created with EVAS_GL_NO_FBO config,
FBO should not be created/allocated.
Dongyeon Kim [Tue, 12 May 2015 03:03:29 +0000 (12:03 +0900)]
Evas GL: Match FBO config with window surface config
Summary:
When direct rendering is enabled, FBO configuration should match
window surface configuration as FBO will be used in fallback cases.
So create FBO with configuration from window surface.
@fix
Dongyeon Kim [Mon, 11 May 2015 10:57:22 +0000 (19:57 +0900)]
Evas GL: Pass correct attachment enum for glDiscardFramebufferEXT
Summary:
When default framebuffer(0) is bound, attachment should contain
COLOR, DEPTH or STENCIL for glDiscardFramebufferEXT.
When a framebuffer object is bound, attachment should contain
COLOR_ATTACHMENT0, DEPTH_ATTACHMENT or STENCIL_ATTACHMENT.
This should be correctly taken into account for indirect rendering,
where internal FBO is used.
@fix
Dongyeon Kim [Thu, 30 Apr 2015 07:04:47 +0000 (16:04 +0900)]
Evas GL: return correct context for context_get with indirect context
Summary:
When evas gl falls back to using indirect context,
evas_gl_current_context_get() should return the indirect context.
@fix
Dongyeon Kim [Thu, 30 Apr 2015 03:20:29 +0000 (12:20 +0900)]
Evas GL: Separate EGL and GL extension lists
Summary:
Separate EGL extensions from GL/GLES extension list, since
we have extension list for each GL version, and we do not want to
check EGL extensions differently when different GL versions are used.
This also simplifies extension string get function as we just need to
concatenate EGL and GL extensions rathan than keeping track of
GL extensions only.
Dongyeon Kim [Wed, 29 Apr 2015 13:56:52 +0000 (22:56 +0900)]
Evas GL: Share texture id in case EGL image is not supported
Summary:
When EGL image is not supported, Evas GL should share texture id
to the gl backend for indirect rendering to work.
Dongyeon Kim [Wed, 29 Apr 2015 03:28:08 +0000 (12:28 +0900)]
Evas GL: Make current to an Evas GL context before destroying surface buffers
Summary:
We should make current to an Evas GL context before calling _surface_buffers_destroy,
otherwise resources from GL backend will be removed.
@fix
Dongyeon Kim [Tue, 21 Apr 2015 01:54:02 +0000 (10:54 +0900)]
Evas GL: Add indirect surface fallback and yinvert callback
Summary:
When either FBO or EGL image from texture extension is not supported,
we can use pixmap surface as indirect surface fallback.
Since native pixmaps have (0,0) in the upper left while
FBOs have (0,0) in the lower left, we should invert the y coordinates
when native pixmaps are used as the render target.
To accomodate run-time y-invert check we add a new callback for
EVAS_NATIVE_SURFACE_EVASGL type.
Reviewers: cedric, jpeg
Subscribers: wonsik, mer.kim, cedric
Dongyeon Kim [Thu, 16 Apr 2015 07:21:33 +0000 (16:21 +0900)]
Evas GL: Fix direct_mem_opt and direct_override
Summary:
Remove surface buffer create/allocate in pbuffer_surface_create.
In evgl_make_current, we should use direct_mem_opt, direct_override values
set in EVGL_Surface struct, not the global value set by env variables.
@fix
Dongyeon Kim [Tue, 21 Apr 2015 01:18:16 +0000 (10:18 +0900)]
Evas GL: destroy egl image when surface is destroyed
Summary:
We should destroy egl image when surface is destroyed
to avoid memory leak.
@fix
Test Plan: Evas GL test cases
Reviewers: jpeg
Subscribers: mer.kim, mythri, wonsik, cedric
Differential Revision: https://phab.enlightenment.org/D2357
Dongyeon Kim [Tue, 14 Apr 2015 06:51:32 +0000 (15:51 +0900)]
Evas GL: 1.x support for GLX
Summary:
Now we can support EVAS_GL_GLES_1_X version for GLX backend
with both direct and indirect rendering.
Refactored api get functions to have similar code path for each version.
@feature
Test Plan: Evas GL test case
Reviewers: cedric, jpeg
Subscribers: cedric, mer.kim, mythri, wonsik
Differential Revision: https://phab.enlightenment.org/D2342
Jean-Philippe Andre [Wed, 3 Jun 2015 02:02:44 +0000 (11:02 +0900)]
Evas masking: Fix rare issue of invalid rendering (GL)
Thanks Dongyeon for finding out this solution. Now that was
one nasty bug :)
Somehow the currently bound texture id would not match what
Evas expected, so Evas would not call glBindTexture when
required. As a result it was drawing black (sampling from tex 0).
@fix
Daniel Kolesa [Tue, 2 Jun 2015 17:27:46 +0000 (18:27 +0100)]
eolian: Eolian_Object for docs
Daniel Kolesa [Tue, 2 Jun 2015 17:12:09 +0000 (18:12 +0100)]
eolian: initial lexing of documentation
Chris Michael [Tue, 2 Jun 2015 13:24:22 +0000 (09:24 -0400)]
evas-drm: Remove useless fields from Outbuf structure
Summary: These fields are not needed in the outbuf structure as they
are never used, so just remove them.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 2 Jun 2015 13:17:57 +0000 (09:17 -0400)]
evas-drm: Minor formatting fix
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>