Cedric BAIL [Fri, 25 Aug 2017 17:52:48 +0000 (10:52 -0700)]
evas: Evas_Canvas3D rendering logic need a complete overhaul.
For now, do not use Evas_Canvas3D in multi output context, it won't work.
The update code for Evas_Canvas3D_Node might trigger rendering logic, which
is opposite to what the scene graph logic should do. It require to much
reshuffle around to handle that case at the moment. So I am just adding a
warning.
Cedric BAIL [Fri, 25 Aug 2017 17:52:42 +0000 (10:52 -0700)]
evas: propagate output in evas_render_updates_internal_loop instead of using ENDT.
Cedric BAIL [Fri, 25 Aug 2017 17:52:38 +0000 (10:52 -0700)]
evas: enable handling multi output in evas_render_mapped.
Cedric BAIL [Fri, 25 Aug 2017 17:52:33 +0000 (10:52 -0700)]
evas: propagate output to evas_render_mask_subrender and don't use ENDT there.
Cedric BAIL [Fri, 25 Aug 2017 17:52:29 +0000 (10:52 -0700)]
evas: use output instead of default one during rendering of proxy.
Cedric BAIL [Fri, 25 Aug 2017 17:52:26 +0000 (10:52 -0700)]
evas: remove unused engine data from error set/get code.
Cedric BAIL [Fri, 25 Aug 2017 17:52:22 +0000 (10:52 -0700)]
evas: destroy seats and inputs before the display disapear.
Cedric BAIL [Fri, 25 Aug 2017 17:52:18 +0000 (10:52 -0700)]
evas: no more use of ENDT outside of evas_render.
Cedric BAIL [Fri, 25 Aug 2017 17:52:14 +0000 (10:52 -0700)]
evas: make vector graphic support multi output.
Cedric BAIL [Fri, 25 Aug 2017 17:52:10 +0000 (10:52 -0700)]
evas: do not use default output or any other during render pre.
Cedric BAIL [Fri, 25 Aug 2017 17:52:07 +0000 (10:52 -0700)]
evas: remove unecessary use of output in filter code.
Cedric BAIL [Fri, 25 Aug 2017 17:52:03 +0000 (10:52 -0700)]
evas: make image_native_set use engine context not output.
Cedric BAIL [Fri, 25 Aug 2017 17:51:59 +0000 (10:51 -0700)]
evas: make all window GLES3 or none.
Cedric BAIL [Fri, 25 Aug 2017 17:51:56 +0000 (10:51 -0700)]
evas: make function to find evas gl context from engine shared across backend.
Cedric BAIL [Fri, 25 Aug 2017 17:51:53 +0000 (10:51 -0700)]
evas: make filter handle multi output.
Cedric BAIL [Fri, 25 Aug 2017 17:51:47 +0000 (10:51 -0700)]
evas: make Evas_GL start to use engine and output separately.
Cedric BAIL [Fri, 25 Aug 2017 17:51:44 +0000 (10:51 -0700)]
evas: convert Evas3D use of output to engine when meaningful.
Cedric BAIL [Fri, 25 Aug 2017 17:51:40 +0000 (10:51 -0700)]
evas: find a best possible output to manage an object to get pixels from.
The code shouldn't really need an output for getting the pixels, it just
happen that some of the backend function really need one to get a GL context.
Cedric BAIL [Fri, 25 Aug 2017 17:51:36 +0000 (10:51 -0700)]
evas: remove dead code that won't be easy to bring back to life.
Cedric BAIL [Fri, 25 Aug 2017 17:51:31 +0000 (10:51 -0700)]
evas: all context function use already ENC.
Cedric BAIL [Fri, 25 Aug 2017 17:51:27 +0000 (10:51 -0700)]
evas: remove image_content_hint_get from backend as it is unused.
Cedric BAIL [Fri, 25 Aug 2017 17:51:24 +0000 (10:51 -0700)]
evas: switch font backend function to rely on engine instead of output.
Cedric BAIL [Fri, 25 Aug 2017 17:51:20 +0000 (10:51 -0700)]
evas: handle multiple output for plane assignment.
Cedric BAIL [Fri, 25 Aug 2017 17:51:17 +0000 (10:51 -0700)]
evas: convert evas backend cache function call to use Engine context.
Cedric BAIL [Fri, 25 Aug 2017 17:51:13 +0000 (10:51 -0700)]
evas: remove image_surface_noscale_region_get from engine backend as it is unused.
Cedric BAIL [Fri, 25 Aug 2017 17:51:10 +0000 (10:51 -0700)]
evas: move all image object related function to use the engine instead of the output.
Cedric BAIL [Fri, 25 Aug 2017 17:51:05 +0000 (10:51 -0700)]
evas: forgotten convertion from output to engine.
Cedric BAIL [Fri, 25 Aug 2017 17:50:59 +0000 (10:50 -0700)]
evas: gl_common should not segv on freeing a NULL gl_image.
Cedric BAIL [Fri, 25 Aug 2017 17:50:45 +0000 (10:50 -0700)]
evas: add infrastructure to find a gl_context from a GL_Engine.
Cedric BAIL [Fri, 25 Aug 2017 17:50:40 +0000 (10:50 -0700)]
evas: switch all image animation engine related function to use ENC instead of an output.
Cedric BAIL [Fri, 25 Aug 2017 17:50:35 +0000 (10:50 -0700)]
evas: introduce a engine_new/free in gl_generic backend.
Cedric BAIL [Fri, 25 Aug 2017 17:50:31 +0000 (10:50 -0700)]
evas: refactor the call to window_use.
Cedric BAIL [Fri, 25 Aug 2017 17:49:59 +0000 (10:49 -0700)]
evas: refactor gl_generic use of window_use with context_get.
Cedric BAIL [Fri, 25 Aug 2017 17:49:53 +0000 (10:49 -0700)]
evas: differentiate engine from output.
Cedric BAIL [Fri, 25 Aug 2017 17:49:49 +0000 (10:49 -0700)]
evas: fix order in function of engine and output use for text operation.
Cedric BAIL [Fri, 25 Aug 2017 17:49:46 +0000 (10:49 -0700)]
evas: simplify drm output cleanup code.
Cedric BAIL [Fri, 25 Aug 2017 17:49:42 +0000 (10:49 -0700)]
evas: refactor ddraw engine to have less useless indirection function call.
Cedric BAIL [Fri, 25 Aug 2017 17:49:37 +0000 (10:49 -0700)]
evas: refactor gdi to have less useless function redirection.
Cedric BAIL [Fri, 25 Aug 2017 17:49:32 +0000 (10:49 -0700)]
evas: refactor drm engine to have useless function redirection.
Cedric BAIL [Fri, 25 Aug 2017 17:49:28 +0000 (10:49 -0700)]
evas: refactor wayland_shm backend to have less useless function redirection.
Cedric BAIL [Fri, 25 Aug 2017 17:49:23 +0000 (10:49 -0700)]
evas: refactor fb engine to have less useless function redirection.
Cedric BAIL [Fri, 25 Aug 2017 17:49:19 +0000 (10:49 -0700)]
evas: refactor buffer engine to have less indirect useless call.
Cedric BAIL [Fri, 25 Aug 2017 17:49:15 +0000 (10:49 -0700)]
evas: Render_Engine_Swap_Mode is actually about output swap.
Cedric BAIL [Fri, 25 Aug 2017 17:49:11 +0000 (10:49 -0700)]
evas: Render_Engine_Merge_Mode is actually about output.
Cedric BAIL [Fri, 25 Aug 2017 17:49:06 +0000 (10:49 -0700)]
evas: reduce duplication of merge_mode getenv logic.
Cedric BAIL [Fri, 25 Aug 2017 17:48:42 +0000 (10:48 -0700)]
efl: remove PS3 backend.
This backend has received no patch and maintenance from anyone who could
actually test it over the last few years. After talking with KaKaRoTo it
is best to remove it. If anyone want to take over its maintenance, you
are welcome to revert this patch.
Cedric BAIL [Fri, 25 Aug 2017 17:48:37 +0000 (10:48 -0700)]
evas: follow all other engines convention and use ORD macro.
Cedric BAIL [Fri, 25 Aug 2017 17:48:20 +0000 (10:48 -0700)]
evas: make the info size a parameter of the function to make it safer to roll in.
Cedric BAIL [Fri, 25 Aug 2017 17:48:17 +0000 (10:48 -0700)]
evas: refactor the creation of the output info logic in libevas.
Cedric BAIL [Fri, 25 Aug 2017 17:48:13 +0000 (10:48 -0700)]
evas: factorize call to info and info_free.
Cedric BAIL [Fri, 25 Aug 2017 17:48:09 +0000 (10:48 -0700)]
evas: all this function (info, setup and update) are really output related.
Cedric BAIL [Fri, 25 Aug 2017 17:48:05 +0000 (10:48 -0700)]
evas: nobody actually call the tile size set API.
Cedric BAIL [Fri, 25 Aug 2017 17:48:00 +0000 (10:48 -0700)]
evas: Render_Engine_GL_Generic is actually an output.
Cedric BAIL [Fri, 25 Aug 2017 17:47:56 +0000 (10:47 -0700)]
evas: do not loose tile size when resizing output.
Cedric BAIL [Fri, 25 Aug 2017 17:47:52 +0000 (10:47 -0700)]
evas: prevent double tilebuf creation/destruction during window resize.
Cedric BAIL [Fri, 25 Aug 2017 17:47:48 +0000 (10:47 -0700)]
evas: all GL backend require strict tilebuf, let's make that the default.
Cedric BAIL [Fri, 25 Aug 2017 17:47:39 +0000 (10:47 -0700)]
evas: no need to double init tilebuf as it is created by software generic.
Cedric BAIL [Fri, 25 Aug 2017 17:47:11 +0000 (10:47 -0700)]
evas: Render_Engine_Software_Generic is actually Render_Output_Software_Generic.
Cedric BAIL [Fri, 25 Aug 2017 17:47:03 +0000 (10:47 -0700)]
evas: engine should not access Evas canvas directly.
Hosang Kim [Fri, 25 Aug 2017 05:53:09 +0000 (14:53 +0900)]
scroller: fix getting content position.
Summary:
Widgets that don't have content like as genlist, gengrid.
They don't have geometry of content also.
So position of pan will be used when calculating postion to scroll.
Test Plan:
tested in elementary_test and check working properly.
this may be the problem when extern pan set on scrollable interface.
Reviewers: SanghyeonLee, cedric, felipealmeida, larry, bu5hm4n
Reviewed By: SanghyeonLee
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5127
Daniel Hirt [Thu, 24 Aug 2017 16:26:36 +0000 (19:26 +0300)]
Canvas text: fix uninitialized value
Bug was introduced in
f696cc88933bfa1ac6e5d6da26bc9ba7b2c3e2fa.
Chris Michael [Thu, 24 Aug 2017 15:42:57 +0000 (11:42 -0400)]
ecore-drm2: Add API to allow setting pointer acceleration profile
Small patch to allow setting pointer acceleration profile (for
wayland) from within Enlightenment.
ref T4736
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 24 Aug 2017 15:32:51 +0000 (11:32 -0400)]
ecore-drm2: Add API function to allow setting pointer acceleration speed
Small patch to add a new API function which can be called from
Enlightenment in order to allow setting pointer acceleration speed.
ref T4736
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 24 Aug 2017 15:24:54 +0000 (11:24 -0400)]
elput: Add API to set pointer acceleration speed
Small patch to add an API which can be called to set pointer
acceleration speed under Wayland.
ref T4736
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Gustavo Sverzut Barbieri [Thu, 24 Aug 2017 14:13:56 +0000 (11:13 -0300)]
eina_value: add helper: eina_value_struct_desc_get().
this helper will validate a struct and fetch its description, also
checking if the user version matches.
Stephen 'Okra' Houston [Thu, 24 Aug 2017 13:05:44 +0000 (08:05 -0500)]
CPUMonitor theme: Don't set aspect in theme.
Daniel Hirt [Wed, 23 Aug 2017 18:43:51 +0000 (21:43 +0300)]
Canvas text: prevent change of context width field
The 'c->w' field gets manipulated for querying cutoffs of text with its
boundaries. Better to keep it a read-only field, to reduce confusion.
Also updated querying internal functions for better readability.
Daniel Hirt [Fri, 18 Aug 2017 11:50:36 +0000 (14:50 +0300)]
Canvas text: reduce usage of data_scope_get()
During layout, this data is unchanged and there is no need to keep
asking for it.
Daniel Hirt [Mon, 21 Aug 2017 09:43:19 +0000 (12:43 +0300)]
Canvas text: move obstacles logic to proper place
Will likely reduce number of update requests.
Myoungwoon Roy, Kim [Thu, 24 Aug 2017 04:57:05 +0000 (13:57 +0900)]
docs: Add information about texture size limitations
Summary: I had added some information about texture size limitations to Elm image API reference.
Test Plan: Doxygen Revision
Reviewers: raster, cedric, stefan, jpeg, Jaehyun_Cho
Reviewed By: raster
Differential Revision: https://phab.enlightenment.org/D5106
WooHyun Jung [Thu, 24 Aug 2017 04:29:39 +0000 (13:29 +0900)]
elm_widget: remove redundant null check
Stephen 'Okra' Houston [Thu, 24 Aug 2017 00:01:52 +0000 (19:01 -0500)]
Cpumonitor Theme: Add a theme for the base and the core. This fixes aspect.
Stephen 'Okra' Houston [Wed, 23 Aug 2017 22:06:10 +0000 (17:06 -0500)]
Luncher Theme: Use a proxy for the overlay effect.
Gustavo Sverzut Barbieri [Wed, 23 Aug 2017 21:28:06 +0000 (18:28 -0300)]
eina_value_util: eina_value_X_get() helpers.
These helpers will validate the type prior to get its value, also
enforcing the correct pointer is passed.
Gustavo Sverzut Barbieri [Wed, 23 Aug 2017 21:08:14 +0000 (18:08 -0300)]
eina_value_util: init helpers (stack/return).
These helpers are similar to eina_value_X_new(), however do not
allocate the Eina_Value, rather return it.
These are useful when the value struct storage was already there but
needs to be initialized in a single line, like as stack variables or
when returning a value.
Gustavo Sverzut Barbieri [Wed, 23 Aug 2017 20:29:31 +0000 (17:29 -0300)]
eina_value_util: add missing eina_value_*_new() for basic types.
make all basic types available as _new() helpers.
Gustavo Sverzut Barbieri [Wed, 23 Aug 2017 20:18:03 +0000 (17:18 -0300)]
eina_value_util: remove "_util" from names.
these utilities are very useful, but names became too long. Since they
do not conflict with anything else, shorten them.
Since they were available before as inline function, provide a macro
to rename them for old source that's compiled against newer library.
Guilherme Iscaro [Thu, 17 Aug 2017 17:36:47 +0000 (14:36 -0300)]
Eina_Value type EINA_value.
Guilherme Iscaro [Tue, 8 Aug 2017 19:57:31 +0000 (16:57 -0300)]
Eina: Add EINA_VALUE_TYPE_ERROR
This new type will be used by the new promise/future implementation,
which will be used to flag errors.
Gustavo Sverzut Barbieri [Wed, 23 Aug 2017 20:24:52 +0000 (17:24 -0300)]
add EINA_VALUE_EMPTY, allow flushing empty values.
EINA_VALUE_EMPTY is basically a zeroed Eina_Value, handy for declaring
and returning.
To cope with the rest of efl, free/del/flush on NULL shouldn't
complain, so flusing an empty value should be quiet.
Stephen 'Okra' Houston [Wed, 23 Aug 2017 20:26:55 +0000 (15:26 -0500)]
Gadget themes: Remove shines.
Jean-Philippe Andre [Wed, 23 Aug 2017 11:41:37 +0000 (20:41 +0900)]
widget: Make sub_object add/del protected (EO)
Also prefix with widget.
I want to rename this as child rather than sub. It's inconsistent with
the other parent/child hierarchies. Anyway the various hierarchies are
confusing, so let's keep this name :)
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 11:33:54 +0000 (20:33 +0900)]
eo: Mark name_find as const
The search should not require a mutable object.
See the previous commit on elm_widget.
Jean-Philippe Andre [Wed, 23 Aug 2017 11:32:58 +0000 (20:32 +0900)]
widget: Remove name_find from EO
This is already implemented at the Efl.Object level, under the same
name: "name_find".
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 11:12:47 +0000 (20:12 +0900)]
widget: Remove highlight_ignore from EO
Jean-Philippe Andre [Wed, 23 Aug 2017 11:11:49 +0000 (20:11 +0900)]
widget: Reshuffle EO file for clarity
Also marks theme.set/get as beta.
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 10:51:49 +0000 (19:51 +0900)]
widget: Remove more functions from EO
Internaaaaaaaalsssss....
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 10:39:19 +0000 (19:39 +0900)]
widget: Remove some more functions from EO
Internals...
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 10:25:44 +0000 (19:25 +0900)]
widget: Remove highlight_in_theme from EO
Removes EO APIs:
- highlight_in_theme
- access_highlight_in_theme
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 09:02:42 +0000 (18:02 +0900)]
widget: Remove 2 focus APIs from EO
They are internal and use an undefined type.
Also, completely deprecated with the new focus manager.
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 08:54:49 +0000 (17:54 +0900)]
widget: Remove hover_object from EO
Internal
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 08:27:04 +0000 (17:27 +0900)]
widget: Remove tree_unfocusable from EO
It was deprecated (in elm_object API) a very long time ago.
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 08:01:03 +0000 (17:01 +0900)]
widget: Remove focus_tree_unfocusable_handle (EO)
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 07:24:05 +0000 (16:24 +0900)]
widget: Rename top to widget_top (EO)
Ref T5363
Jean-Philippe Andre [Wed, 23 Aug 2017 07:04:49 +0000 (16:04 +0900)]
widget: Remove tooltip_add/del from EO
It's pretty much an internal function.
NOTE: Tooltip API is not bound to EO (yet).
Ref T5363
Carsten Haitzler (Rasterman) [Wed, 23 Aug 2017 08:23:57 +0000 (17:23 +0900)]
elm init - fix init seq and quicklaunch as we shut down x before evas
... and others. this leads to crashes if x ops are busy in a thread or
engine evas thread shutdown happens to call engine calls that then do
x calls... should apply in general to wl too. fixes some segv's on
shutdown given the new gl thread patches.
@fix
Jean-Philippe Andre [Wed, 23 Aug 2017 06:54:03 +0000 (15:54 +0900)]
elm_test: Remove calls to fill+expand (EO)
Wherever the EO API is used, i.e. efl_add() is used to create evas
objects, we can skip the calls to set fill/expand.
This new set of defaults indeed saves ~60 loc in the tests (out of 115
objects created). I found only 3 cases where the align had to be set
manually (to the old default of 0.5).
See
1a1b8bc45155dcb96129013c4177d742a06434e6
And
e8b7f5f255ce37fbc47dbe38bd379bf1e824e0d2
Ref T5301
Jean-Philippe Andre [Wed, 23 Aug 2017 06:23:50 +0000 (15:23 +0900)]
evas: Set default align to FILL for EO objects
See also
1a1b8bc45155dcb96129013c4177d742a06434e6
Jean-Philippe Andre [Wed, 23 Aug 2017 06:16:22 +0000 (15:16 +0900)]
gfx: Remove size hint request (EO)
This hint is simply not supported by any container.
Add the EO API back if the containers support it.
Ref T5487
Jean-Philippe Andre [Wed, 23 Aug 2017 04:51:40 +0000 (13:51 +0900)]
js: Fix javascript generator's compilation
javascript bindings are broken, because of function pointers but it
seems something else as well (Eina_Slice?).