Derek Foreman
11cf0206e4
wayland_shm: Minor clean up of _evas_shm_surface_post
...
Some gratuitous cosmetic fixes
2016-04-19 15:11:10 -04:00
Derek Foreman
2c33bae2d5
wayland_shm: Don't pass num_buff to reconfigure
...
We can't really reconfigure the number of buffers after they're created,
there's nothing above us that would try to do it...
2016-04-19 15:11:10 -04:00
Derek Foreman
e5fb4cada7
wayland_shm: Gratuitous code simplification
...
Refactor evas_outbuf_setup a bit so there's only one call to
_evas_shm_surface_create.
Also makes the NULL return on unhandled rotation a lot more obvious.
2016-04-19 15:11:09 -04:00
Derek Foreman
405b278528
wayland_shm: Pass Evas_Engine_Info_Wayland_Shm directly to setup functions
...
We pretty much pass all its contents anyway.
2016-04-19 15:11:09 -04:00
Derek Foreman
34e539a3c1
wayland_shm: Add dmabuf to engine info
...
Get the dmabuf protocol object from ecore_wl2 and store it in engine info
2016-04-19 15:11:09 -04:00
Derek Foreman
f7cbb12fd4
ecore_wl2: Add API to get dmabuf protocol object
2016-04-19 15:11:09 -04:00
Derek Foreman
ed665ee6ee
wayland_shm: Abstract the actual shm operations
...
Make the Surface carry function pointers and the shm surface create
function set them. This refactor makes implementing dmabuf operations
simpler.
2016-04-19 15:11:09 -04:00
Derek Foreman
63a255750b
wayland_shm: Remove outbuf_reconfigure function pointer
...
We only ever call it from one place, and we only ever initialize it
to one value, so there's no need for a function pointer.
2016-04-19 15:11:09 -04:00
Derek Foreman
4c61ec5e05
wayland_shm: Remove unused dx, dy params from resize functions
...
We don't appear to actually use these for anything except long term storage
2016-04-19 15:11:09 -04:00
Derek Foreman
7cd2693075
wayland_shm: Drop ifdefs around damage_buffer
...
We now depend on wayland 1.10.0 so damage_buffer is always going to be
present in the headers - we no longer need ifdef checks.
2016-04-19 15:11:09 -04:00
Derek Foreman
f59c52520d
build: Bump wayland version dependency
...
Anything that needed wayland now needs wayland 1.10.0
2016-04-19 15:11:09 -04:00
Derek Foreman
cd124f938f
wayland_shm: Make new Surface abstraction to wrap Shm_Surface
...
Wraps the Shm_Surface allocator in a new Surface type that will
potentially use different allocators, such as dmabuf in a future commit.
2016-04-19 15:11:09 -04:00
Derek Foreman
d6e5bdf428
ecore_wl2: Bind dmabuf global if available
...
Bind the dmabuf global so we can make use of it later.
2016-04-19 15:11:09 -04:00
Derek Foreman
7514d08ae6
ecore_wl2: Add generated dmabuf files
...
This adds the framework for the dmabuf protocol for wayland - the files
are generated with wayland-scanner.
2016-04-19 15:11:09 -04:00
Derek Foreman
78688b226f
wayland_shm: Move Shm private structures into evas_shm
...
Refactor all the shm specific stuff into evas_shm so it can better
co-exist with upcoming dmabuf allocations
2016-04-19 15:11:09 -04:00
Derek Foreman
7e2f5e759e
wayland_shm: Remove flags
...
We only used this for resize, and didn't actually even need it then.
2016-04-19 15:11:09 -04:00
Derek Foreman
745435deab
wayland_shm: Don't use number of buffers in swap mode calculation
...
The number of allocated buffers shouldn't change a thing...
2016-04-19 15:11:09 -04:00
Derek Foreman
f92c2d2330
wayland_shm: Return buffer age from shm_surface_assign
...
This makes refactoring the Surface abstraction a little easier.
2016-04-19 15:11:09 -04:00
Cedric BAIL
7c743b6754
Revert "Set the name for table, box items"
...
This reverts commit 6f7608befd
.
Item in table and box do not need names as they have an index. This
is breaking ABI for edje application that rely on getting the index
properly when a signal is emitted. To be precise, this did break
elemines.
2016-04-19 11:56:17 -07:00
Cedric BAIL
eb408809ad
eo: fix borkage.
2016-04-19 11:28:36 -07:00
Tom Hacohen
daed567e3c
Merge strict eolian type checking branch.
...
In this branch I turned on strict eolian type checking and silenced all
of the errors that came to be because of it (fixed some).
I did it so new code will not introduce new errors. We've had more
errors introduced recently, and I believe it's because of ignorance. No
more excuses, compilation will now fail if you fail to handle types
correctly.
We need to fix my workarounds. Many of the .eo files that I worked
around on need to be removed anyway, and a lot of the rest need a lot of
changes, so there was no point wasting my time into fixing it properly.
2016-04-19 17:16:20 +01:00
Tom Hacohen
cfd7b57006
Eolian: Turn on strict type checking.
...
Thanks to q66 for the code.
I'm stealing credit here because:
1. I'm lazy.
2. He's lazy and doesn't deserve it.
2016-04-19 17:15:28 +01:00
Tom Hacohen
6f4f9bd051
Elm glview: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
fb110d2de8
Elm box: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
bd14c3ffd3
Elm web: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
4264a58a11
Elm app server view: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
7d5bcd1a2c
Elm slideshow: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
8b6948fa42
Elm app client view: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
64cb0942d4
Elm app server: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
aa577541e8
Elm gengrid: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
8cfa381452
Elm map: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
86720888fa
Elm calendar: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
8425b07fbf
Elm eo: Make Eina_Compare_Cb accessible to all widgets.
2016-04-19 17:15:28 +01:00
Tom Hacohen
1bddce0113
Elm sys notify interface: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
5e670d05af
Elm prefs: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
22345bd744
Elm app client: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
746581865f
Eo eina types: Add Eina.Value.
2016-04-19 17:15:28 +01:00
Tom Hacohen
83b8b6da07
Elm multibutton entry: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
7d45bbcc5e
Elm app server: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
b2be0b0506
Elm genlist: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
352a9055b2
Elm view list: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
ff0f41933f
Elm naviframe item: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
82591ac46e
Elm interface fileselector: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
179395126d
Elm slider: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
6989db76c2
Elm toolbar item: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
efcf577efd
Elm systray: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
4d026032d0
Elm toolbar: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
e1c1bbbc4a
Elm list: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
bb0bcce384
Elm layout: Fix eo type errors.
2016-04-19 17:15:28 +01:00
Tom Hacohen
f021a858ad
Elm atspi text: Fix eo type errors.
2016-04-19 17:15:28 +01:00