Mike Blumenkrantz
8dbea4a709
elm_win: check for wayland engine during finalize by checking for wl win
...
fake wins don't provide engine info, but a wl win will still exist
@fix
2017-08-25 14:48:12 -04:00
Mike Blumenkrantz
d0f1a57ade
elm_win: update opaque region for fake windows
...
fake windows still gotta render
@fix
2017-08-25 14:48:12 -04:00
Mike Blumenkrantz
2510afe821
efl-wl: match nested wl seats based on display ordering
...
a nested compositor will have a mismatch between canvas seat id and
compositor seat id, so this attempts to perform matching based on the
order that they are listed, which should be identical
@fix
2017-08-25 14:48:11 -04:00
Mike Blumenkrantz
91f513f77d
ecore-wl2: normalize axis event values
...
this is value * 10 from the compositor, so /= 10 to get real value
fix T5427
@fix
2017-08-25 14:48:11 -04:00
Cedric BAIL
8286a56279
evas: enable rendering of multiple output.
2017-08-25 10:55:15 -07:00
Cedric BAIL
4b1505c294
evas: no more ENDT.
2017-08-25 10:55:06 -07:00
Cedric BAIL
7fc0ebee37
evas: move updates to be per output.
2017-08-25 10:55:02 -07:00
Cedric BAIL
e7527e06d6
evas: decorrelate canvas size from output size.
2017-08-25 10:54:59 -07:00
Cedric BAIL
7453980ccf
evas gl: fix glview by avoiding make current
...
gl_generic_context_find() returns the gl shared context struct but
this is not just a read-only operation. It in turn calls window_use
which may call make_current. This can invalidate the work of evas gl
when the API tried to switch to a specific context.
This fixes evas gl with multiple outputs.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-08-25 10:54:55 -07:00
Cedric BAIL
cce4dcc58e
evas: remove dead code to improve readability.
2017-08-25 10:54:52 -07:00
Cedric BAIL
545c1a70f4
evas: make Evas_GL work with multi output.
2017-08-25 10:54:19 -07:00
Cedric BAIL
7f8bbe4972
evas: reorder rendering phase to group output related operation.
2017-08-25 10:52:52 -07:00
Cedric BAIL
440238a899
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.
2017-08-25 10:52:48 -07:00
Cedric BAIL
f354463dc1
evas: propagate output in evas_render_updates_internal_loop instead of using ENDT.
2017-08-25 10:52:42 -07:00
Cedric BAIL
79ed7a0cc2
evas: enable handling multi output in evas_render_mapped.
2017-08-25 10:52:38 -07:00
Cedric BAIL
750b9d065f
evas: propagate output to evas_render_mask_subrender and don't use ENDT there.
2017-08-25 10:52:33 -07:00
Cedric BAIL
a5b4defdd5
evas: use output instead of default one during rendering of proxy.
2017-08-25 10:52:29 -07:00
Cedric BAIL
84c6d3332e
evas: remove unused engine data from error set/get code.
2017-08-25 10:52:26 -07:00
Cedric BAIL
9ba662bd63
evas: destroy seats and inputs before the display disapear.
2017-08-25 10:52:22 -07:00
Cedric BAIL
dcfebcd2d9
evas: no more use of ENDT outside of evas_render.
2017-08-25 10:52:18 -07:00
Cedric BAIL
e682f64193
evas: make vector graphic support multi output.
2017-08-25 10:52:14 -07:00
Cedric BAIL
a0c58276c3
evas: do not use default output or any other during render pre.
2017-08-25 10:52:10 -07:00
Cedric BAIL
68b846c1f4
evas: remove unecessary use of output in filter code.
2017-08-25 10:52:07 -07:00
Cedric BAIL
cc4d41c890
evas: make image_native_set use engine context not output.
2017-08-25 10:52:03 -07:00
Cedric BAIL
39d4e343b0
evas: make all window GLES3 or none.
2017-08-25 10:51:59 -07:00
Cedric BAIL
89c34cda21
evas: make function to find evas gl context from engine shared across backend.
2017-08-25 10:51:56 -07:00
Cedric BAIL
fc1b7f7835
evas: make filter handle multi output.
2017-08-25 10:51:53 -07:00
Cedric BAIL
f3f6a7e535
evas: make Evas_GL start to use engine and output separately.
2017-08-25 10:51:47 -07:00
Cedric BAIL
bf0ad88144
evas: convert Evas3D use of output to engine when meaningful.
2017-08-25 10:51:44 -07:00
Cedric BAIL
46767819fd
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.
2017-08-25 10:51:40 -07:00
Cedric BAIL
aebeed4454
evas: remove dead code that won't be easy to bring back to life.
2017-08-25 10:51:36 -07:00
Cedric BAIL
3da75d74e3
evas: all context function use already ENC.
2017-08-25 10:51:31 -07:00
Cedric BAIL
e9cd3e4c7c
evas: remove image_content_hint_get from backend as it is unused.
2017-08-25 10:51:27 -07:00
Cedric BAIL
ef55155e0e
evas: switch font backend function to rely on engine instead of output.
2017-08-25 10:51:24 -07:00
Cedric BAIL
7bcf483d6f
evas: handle multiple output for plane assignment.
2017-08-25 10:51:20 -07:00
Cedric BAIL
d8871109d3
evas: convert evas backend cache function call to use Engine context.
2017-08-25 10:51:17 -07:00
Cedric BAIL
fc603df8d1
evas: remove image_surface_noscale_region_get from engine backend as it is unused.
2017-08-25 10:51:13 -07:00
Cedric BAIL
1d57cb2627
evas: move all image object related function to use the engine instead of the output.
2017-08-25 10:51:10 -07:00
Cedric BAIL
14f1a0bde7
evas: forgotten convertion from output to engine.
2017-08-25 10:51:05 -07:00
Cedric BAIL
c436cf6931
evas: gl_common should not segv on freeing a NULL gl_image.
2017-08-25 10:50:59 -07:00
Cedric BAIL
b6296c6fb4
evas: add infrastructure to find a gl_context from a GL_Engine.
2017-08-25 10:50:45 -07:00
Cedric BAIL
2fb6aa87fe
evas: switch all image animation engine related function to use ENC instead of an output.
2017-08-25 10:50:40 -07:00
Cedric BAIL
3a8d98a54f
evas: introduce a engine_new/free in gl_generic backend.
2017-08-25 10:50:35 -07:00
Cedric BAIL
46e2e103d7
evas: refactor the call to window_use.
2017-08-25 10:50:31 -07:00
Cedric BAIL
326ff87216
evas: refactor gl_generic use of window_use with context_get.
2017-08-25 10:49:59 -07:00
Cedric BAIL
28397e7206
evas: differentiate engine from output.
2017-08-25 10:49:53 -07:00
Cedric BAIL
76a7198e0d
evas: fix order in function of engine and output use for text operation.
2017-08-25 10:49:49 -07:00
Cedric BAIL
94dbcf3e0d
evas: simplify drm output cleanup code.
2017-08-25 10:49:46 -07:00
Cedric BAIL
1626b5b8cd
evas: refactor ddraw engine to have less useless indirection function call.
2017-08-25 10:49:42 -07:00
Cedric BAIL
aa88a4f6ab
evas: refactor gdi to have less useless function redirection.
2017-08-25 10:49:37 -07:00
Cedric BAIL
8b95fdbfd3
evas: refactor drm engine to have useless function redirection.
2017-08-25 10:49:32 -07:00
Cedric BAIL
262ab2bd54
evas: refactor wayland_shm backend to have less useless function redirection.
2017-08-25 10:49:28 -07:00
Cedric BAIL
8c16402a2c
evas: refactor fb engine to have less useless function redirection.
2017-08-25 10:49:23 -07:00
Cedric BAIL
93531868c7
evas: refactor buffer engine to have less indirect useless call.
2017-08-25 10:49:19 -07:00
Cedric BAIL
3e88aa37bc
evas: Render_Engine_Swap_Mode is actually about output swap.
2017-08-25 10:49:15 -07:00
Cedric BAIL
e31707743a
evas: Render_Engine_Merge_Mode is actually about output.
2017-08-25 10:49:11 -07:00
Cedric BAIL
f4afd5f1bd
evas: reduce duplication of merge_mode getenv logic.
2017-08-25 10:49:06 -07:00
Cedric BAIL
d179a5c2a9
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.
2017-08-25 10:48:42 -07:00
Cedric BAIL
e6b4878a9e
evas: follow all other engines convention and use ORD macro.
2017-08-25 10:48:37 -07:00
Cedric BAIL
29cde0ee81
evas: make the info size a parameter of the function to make it safer to roll in.
2017-08-25 10:48:20 -07:00
Cedric BAIL
22beae8b73
evas: refactor the creation of the output info logic in libevas.
2017-08-25 10:48:17 -07:00
Cedric BAIL
46e1df839b
evas: factorize call to info and info_free.
2017-08-25 10:48:13 -07:00
Cedric BAIL
1e2bbf8fea
evas: all this function (info, setup and update) are really output related.
2017-08-25 10:48:09 -07:00
Cedric BAIL
8017fab100
evas: nobody actually call the tile size set API.
2017-08-25 10:48:05 -07:00
Cedric BAIL
6f3980f55e
evas: Render_Engine_GL_Generic is actually an output.
2017-08-25 10:48:00 -07:00
Cedric BAIL
cac667e402
evas: do not loose tile size when resizing output.
2017-08-25 10:47:56 -07:00
Cedric BAIL
8ffc0f2b9e
evas: prevent double tilebuf creation/destruction during window resize.
2017-08-25 10:47:52 -07:00
Cedric BAIL
600a5fa76c
evas: all GL backend require strict tilebuf, let's make that the default.
2017-08-25 10:47:48 -07:00
Cedric BAIL
741ecaf2cf
evas: no need to double init tilebuf as it is created by software generic.
2017-08-25 10:47:39 -07:00
Cedric BAIL
bf2439b501
evas: Render_Engine_Software_Generic is actually Render_Output_Software_Generic.
2017-08-25 10:47:11 -07:00
Cedric BAIL
268d9984b4
evas: engine should not access Evas canvas directly.
2017-08-25 10:47:03 -07:00
Hosang Kim
4b74a4cd55
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
2017-08-25 14:53:09 +09:00
Daniel Hirt
af1f4157f2
Canvas text: fix uninitialized value
...
Bug was introduced in f696cc8893
.
2017-08-24 19:32:17 +03:00
Chris Michael
474da25165
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>
2017-08-24 11:42:57 -04:00
Chris Michael
b43f6c14dd
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>
2017-08-24 11:32:51 -04:00
Chris Michael
d798eca247
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>
2017-08-24 11:28:31 -04:00
Gustavo Sverzut Barbieri
9ac1cb4fad
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.
2017-08-24 11:13:56 -03:00
Daniel Hirt
e63be982d9
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.
2017-08-24 12:38:13 +03:00
Daniel Hirt
e20a44b7e7
Canvas text: reduce usage of data_scope_get()
...
During layout, this data is unchanged and there is no need to keep
asking for it.
2017-08-24 12:17:21 +03:00
Daniel Hirt
f696cc8893
Canvas text: move obstacles logic to proper place
...
Will likely reduce number of update requests.
2017-08-24 12:17:21 +03:00
Myoungwoon Roy, Kim
c017ab2dc0
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
2017-08-24 14:29:45 +09:00
WooHyun Jung
7738ba5b37
elm_widget: remove redundant null check
2017-08-24 13:29:39 +09:00
Gustavo Sverzut Barbieri
103b134916
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.
2017-08-23 18:32:13 -03:00
Gustavo Sverzut Barbieri
f4b02d87d6
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.
2017-08-23 18:32:13 -03:00
Gustavo Sverzut Barbieri
c158d5c17a
eina_value_util: add missing eina_value_*_new() for basic types.
...
make all basic types available as _new() helpers.
2017-08-23 18:32:13 -03:00
Gustavo Sverzut Barbieri
39acaab5e9
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.
2017-08-23 18:32:13 -03:00
Guilherme Iscaro
6cbfe100d5
Eina_Value type EINA_value.
2017-08-23 18:32:13 -03:00
Guilherme Iscaro
3ed176370d
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.
2017-08-23 18:32:13 -03:00
Gustavo Sverzut Barbieri
4da53492ae
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.
2017-08-23 18:32:13 -03:00
Jean-Philippe Andre
3f9c239b27
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
2017-08-23 20:56:37 +09:00
Jean-Philippe Andre
c071fd453b
eo: Mark name_find as const
...
The search should not require a mutable object.
See the previous commit on elm_widget.
2017-08-23 20:53:20 +09:00
Jean-Philippe Andre
876ad24815
widget: Remove name_find from EO
...
This is already implemented at the Efl.Object level, under the same
name: "name_find".
Ref T5363
2017-08-23 20:53:20 +09:00
Jean-Philippe Andre
1d39c2d175
widget: Remove highlight_ignore from EO
2017-08-23 20:53:20 +09:00
Jean-Philippe Andre
3f5f675c74
widget: Reshuffle EO file for clarity
...
Also marks theme.set/get as beta.
Ref T5363
2017-08-23 20:53:20 +09:00
Jean-Philippe Andre
f1ab8c8fee
widget: Remove more functions from EO
...
Internaaaaaaaalsssss....
Ref T5363
2017-08-23 20:53:20 +09:00
Jean-Philippe Andre
1d62f9dc7c
widget: Remove some more functions from EO
...
Internals...
Ref T5363
2017-08-23 20:53:20 +09:00
Jean-Philippe Andre
8a20251795
widget: Remove highlight_in_theme from EO
...
Removes EO APIs:
- highlight_in_theme
- access_highlight_in_theme
Ref T5363
2017-08-23 20:53:20 +09:00
Jean-Philippe Andre
fcae72b0e3
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
2017-08-23 20:53:20 +09:00
Jean-Philippe Andre
91f9f41471
widget: Remove hover_object from EO
...
Internal
Ref T5363
2017-08-23 20:53:20 +09:00
Jean-Philippe Andre
1a65b7018d
widget: Remove tree_unfocusable from EO
...
It was deprecated (in elm_object API) a very long time ago.
Ref T5363
2017-08-23 20:53:20 +09:00