Carsten Haitzler (Rasterman) [Mon, 11 May 2015 07:55:23 +0000 (16:55 +0900)]
eina evlog - fix overflow tracking
Daniel Kolesa [Wed, 13 May 2015 12:44:46 +0000 (13:44 +0100)]
eolian: check inherit validity before using it
Ji-Youn Park [Wed, 13 May 2015 11:47:36 +0000 (20:47 +0900)]
ecore_x: Add key router feature related with client side.
Currently app only grab key using Xgrabkey.
Keyrouter will support several keygrab mode and apps can use it.
Daniel Kolesa [Wed, 13 May 2015 10:25:49 +0000 (11:25 +0100)]
eolian: remove unneeded cruft (struct/enum cannot be a base for alias)
Daniel Kolesa [Wed, 13 May 2015 10:14:49 +0000 (11:14 +0100)]
eolian: generate underscored structs as well as correct opaque struct typedefs
Jean-Philippe Andre [Wed, 13 May 2015 01:16:17 +0000 (10:16 +0900)]
Evas filters: Fix glReadPixels usage for EGL
EGL might very well not support RGBA read mode, so we
need to check for it first.
Also remove some error logs (see previous commit), and useless
initialization of the Evas GL engine.
@fix
Jean-Philippe Andre [Wed, 13 May 2015 01:17:12 +0000 (10:17 +0900)]
Evas GL common: Add very basic GL calls tracing method
Rewrap the GL calls to print them out. The arguments are not
interpreted. See the GL_ERRORS #define.
Jean-Philippe Andre [Wed, 13 May 2015 01:12:36 +0000 (10:12 +0900)]
Evas filters: Disable excessive debug
Daniel Kolesa [Tue, 12 May 2015 16:23:42 +0000 (17:23 +0100)]
eolian: do not check alias/struct/enum base for builtin types
Chris Michael [Tue, 12 May 2015 16:05:22 +0000 (12:05 -0400)]
ecore-drm: Skip not connected outputs when calculating geometry
Summary: When we make a call to get the geometry of all outputs, we
should be skipping ones which are not connected.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 12 May 2015 16:03:24 +0000 (12:03 -0400)]
ecore-drm: Fix finding possible crtcs
Summary: This fixes an issue when searching for possible crtcs that an
output can work on. Previously, we would end up not returning any
possible crtcs due to not looping the crtcs of the resource.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 12 May 2015 15:59:40 +0000 (11:59 -0400)]
ecore-drm: Add a 'name' field to Ecore_Drm_Event_Output
Summary: This adds a new 'name' field to the Ecore_Drm_Event_Output
structure so that when we catch drm output events in E, we can compare
this name to find an e_randr screen and update compositor's outputs.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 12 May 2015 15:56:52 +0000 (11:56 -0400)]
ecore-drm: Fix ecore_drm_output_edid_get to return a hex string
Summary: As we will use the edid string inside RandR code to store
unique information about an output, we should be returning this edid
in a "readable" form.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 12 May 2015 15:51:01 +0000 (11:51 -0400)]
ecore-drm: Fix issue of edid parsing not ignoring string
Summary: When we are parsing the edid string, if the string is random
junk, then we need to ignore it. Prior to this commit, we were not
setting the returned text properly.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Tue, 12 May 2015 16:07:26 +0000 (17:07 +0100)]
eolian: remove unused variables
Daniel Kolesa [Tue, 12 May 2015 16:04:54 +0000 (17:04 +0100)]
eolian: new API eolian_type_enum_field_c_name_get
This API allows you to retrieve the C name of an arbitrary enum field,
respecting the legacy prefix and properly uppercasing the name.
Daniel Kolesa [Tue, 12 May 2015 15:15:29 +0000 (16:15 +0100)]
eolian: butts
Vitor Sousa [Tue, 12 May 2015 14:45:16 +0000 (11:45 -0300)]
eolian_cxx: Fix @beta on generated bindings for C++
Daniel Kolesa [Tue, 12 May 2015 13:37:16 +0000 (14:37 +0100)]
eolian: fix wrong enum tests
Daniel Kolesa [Tue, 12 May 2015 13:27:02 +0000 (14:27 +0100)]
eolian: update eolian_type_base_type_get for REGULAR types
Chris Michael [Tue, 12 May 2015 13:14:26 +0000 (09:14 -0400)]
ecore-wayland: Input grab_count is unsigned int, no need for comparison < 0
Summary: As input->grab_count is an unsigned int there is no need for
the < 0 comparison as that will always return false
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
jhyuni.kang [Tue, 12 May 2015 12:57:03 +0000 (08:57 -0400)]
ecore-wayland: Add a grab_count variable for synchronization wl_input_grab/ungrab with pointer and touch event
Summary:
The touch screen device generates touch events.
But in some special enviroments, a first finger will be matched to a pointer event(not touch event).
And other fingers (second, third, ...) will be matched touch events.
In that case ecore_wl_input_ungrab() is called abnormally.
A first finger pressed, _ecore_wl_input_cb_pointer_button() call ecore_wl_input_grab().
A second finger pressed, _ecore_wl_input_cb_touch_down() is called but not grab.
But when a second finger is released, _ecore_wl_input_cb_touch_up() call ecore_wl_input_ungrab()
So ungrab function generate two mouse up events and a first finger is released.
In other case, first finger pressed -> second finger pressed -> first finger release.
That case when a first finger released a second finger release event is generated.
So after that application doesn't get a release event about a second finger
when a second finger is really released.
I think in a multitouch case, ungrab function will be called when a all finger are released.
So I add a grab_count variable for count currently touched fingers.
And only called a ungrab funtion all fingers are released.
Test Plan:
In a touch screen supported multitouch, press two or more fingers and release.
And watch events generation.
Reviewers: raster, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2481
Chris Michael [Mon, 11 May 2015 16:37:24 +0000 (12:37 -0400)]
ecore-drm: Add API function to test if an output can go on a given crtc
Summary: This adds a new API function to test if a given
Ecore_Drm_Output can be used on a given crtc. This is needed for DRM
RandR support
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Jean-Philippe Andre [Tue, 12 May 2015 10:34:55 +0000 (19:34 +0900)]
Eina log: Fix previous commit (ERR & CRI -> bt)
This was a < comparison, not <=
I don't totally agree on taking the bts for each error... just try
to cat a binary file in terminology and have fun.
Jean-Philippe Andre [Tue, 12 May 2015 10:00:57 +0000 (19:00 +0900)]
Eina log: Enable backtrace only for CRI and ERR by default
Using EINA_LOG_LEVEL=4 for standard debugging has now become
absolutely horrible (and slow!). Backtraces may make sense in
case of ERR and CRI messages, but are just pollution for other
levels.
WRN could be argued over but the old env variable is still there
so just use it if you want backtraces:
$ export EINA_LOG_BACKTRACE=2
Jean-Philippe Andre [Tue, 12 May 2015 02:30:57 +0000 (11:30 +0900)]
Evas GL common: Skip shaders generation if there is no change
Based on a quick git diff we check that the glsl code has not changed.
This should fix out-of-tree builds and avoid all source modification
unless required.
When compiling from a tarball there should be no git tree (err 129),
or if there's one the files should not be checked in (ie. no diff).
If you changed the glsl files in a tarball... too bad for you.
If this is still not enough to fix the build, then go ahead and disable
the script from Makefile_Evas.am
I would like to note that the auto-generation during make is extremely
useful when working on the shaders, which is why I'd rather keep it enabled.
@fix
Stefan Schmidt [Mon, 11 May 2015 16:36:48 +0000 (18:36 +0200)]
data: Silent another mkdir when usign automake silent rules
Visible when running as verbose.
Daniel Kolesa [Mon, 11 May 2015 14:37:19 +0000 (15:37 +0100)]
eolian: fix up remaining doc comments in the tree
Daniel Kolesa [Mon, 11 May 2015 14:16:17 +0000 (15:16 +0100)]
eolian: fix doc comments across the tree
Boram Park [Mon, 11 May 2015 13:27:13 +0000 (09:27 -0400)]
ecore_wl: get dpi after all pending events are handled
Summary: ecore_wl_dpi_get will return the correct value after wl_output's events are handled
Reviewers: zmike, devilhorns, bryceharrington
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2479
Stefan Schmidt [Mon, 11 May 2015 12:44:57 +0000 (14:44 +0200)]
rg_etc: Correct ifdef to keep function available for debug build
In the nightly builds we have debug enabled and this spotted the case where
rg_etc1_solution_coordinates_block_colors_get is actually still used:
lib/eet/.libs/libeet.so: undefined reference to `rg_etc1_solution_coordinates_block_colors_get'
Showed only after we switched back from release to dev mode.
@fix
Sebastian Dransfeld [Mon, 11 May 2015 11:31:21 +0000 (13:31 +0200)]
efreet: fix signed warning
Update to 6a0d23. Casting to int isn't a real solution, since we could
have values which overflows.
Since we want the absolute value, just make sure we subtract the larger
value from the smaller.
Sebastian Dransfeld [Mon, 11 May 2015 10:21:54 +0000 (12:21 +0200)]
edje: rename variable
Give variable a name which better describes its purpose.
Ji-Youn Park [Mon, 11 May 2015 11:07:12 +0000 (20:07 +0900)]
evas: fix bug in evas gl texture.
Summary: bytecount always 1,2,4. so changed for simple code.
Stefan Schmidt [Mon, 11 May 2015 10:45:44 +0000 (12:45 +0200)]
build: Fix benchmark and exmaples dep on all target as well.
Same as the check-build target I fixed in my previous commit these two need
the all dependency to compile everything needed before being run.
Stefan Schmidt [Mon, 11 May 2015 10:34:54 +0000 (12:34 +0200)]
build: Add correct dependency for check-build target.
We need to build everythign else before. Without this dep running check-build
as first target from a fresh build will fail due to wrong dependency handling
(like no eolian run over the eo files, etc)
Inspired by D2489 from Kabeer Khan.
Ji-Youn Park [Mon, 11 May 2015 10:08:12 +0000 (19:08 +0900)]
evas: fix bug in evas gl texture.
Summary: If the pixel size of image is not 32 bit like EVAS_COLORSPACE_AGRY88,
GL_UNPACK_ALIGNMENT have to be changed.
Carsten Haitzler (Rasterman) [Mon, 11 May 2015 05:03:44 +0000 (14:03 +0900)]
eina debug monitor - dont shadow vars
Carsten Haitzler (Rasterman) [Mon, 11 May 2015 05:01:32 +0000 (14:01 +0900)]
eina debug monitor - add types.h include
Carsten Haitzler (Rasterman) [Mon, 11 May 2015 03:28:18 +0000 (12:28 +0900)]
efl debug - make event log header .. nicer with a block header and size
Cedric BAIL [Sun, 10 May 2015 21:23:26 +0000 (23:23 +0200)]
evas: fixing examples after change on Evas_3D.
se.osadchy [Sun, 10 May 2015 21:08:42 +0000 (23:08 +0200)]
evas: fix bug in the example of evas-3d-cube-rotate.
Summary: Refactoring of code and fix work of signals for normal rotation of cube.
Reviewers: cedric, raster, Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2392
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Yomi [Sun, 10 May 2015 21:02:07 +0000 (23:02 +0200)]
eio: fix grammar and spelling mistakes in Eio.h.
Summary: Fix grammar and spelling mistakes in Eio.h
Reviewers: cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D2472
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jean Guyomarc'h [Sun, 10 May 2015 20:58:11 +0000 (22:58 +0200)]
ecore_cocoa,ethumb: fix compiling after EAPI policy changes
Summary:
I went through a lot of undefined symbols while compiling ecore_evas_cocoa
module and ethumb-related binaries. E.g.:
Undefined symbols for architecture x86_64:
"_ECORE_COCOA_EVENT_EXPOSE", referenced from:
_ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
"_ECORE_COCOA_EVENT_GOT_FOCUS", referenced from:
_ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
"_ECORE_COCOA_EVENT_LOST_FOCUS", referenced from:
_ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
"_ECORE_COCOA_EVENT_RESIZE", referenced from:
_ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
"_ECORE_COCOA_EVENT_WINDOW_DESTROY", referenced from:
_ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
"_ecore_cocoa_init", referenced from:
_ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
"_ecore_cocoa_screen_size_get", referenced from:
__ecore_evas_screen_geometry_get in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
"_ecore_cocoa_shutdown", referenced from:
_ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
__ecore_evas_cocoa_free in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
Undefined symbols for architecture x86_64:
"_ethumb_calculate_aspect_from_ratio", referenced from:
__resize_movie in modules_ethumb_emotion_module_la-emotion.o
"_ethumb_calculate_fill_from_ratio", referenced from:
__resize_movie in modules_ethumb_emotion_module_la-emotion.o
"_ethumb_ecore_evas_get", referenced from:
__frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o
"_ethumb_evas_get", referenced from:
__thumb_generate in modules_ethumb_emotion_module_la-emotion.o
__finish_thumb_generation in modules_ethumb_emotion_module_la-emotion.o
"_ethumb_finished_callback_call", referenced from:
__thumb_generate in modules_ethumb_emotion_module_la-emotion.o
__frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o
__finish_thumb_generation in modules_ethumb_emotion_module_la-emotion.o
"_ethumb_image_save", referenced from:
__frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o
"_ethumb_plugin_image_resize", referenced from:
__resize_movie in modules_ethumb_emotion_module_la-emotion.o
"_ethumb_plugin_register", referenced from:
__module_init in modules_ethumb_emotion_module_la-emotion.o
"_ethumb_plugin_unregister", referenced from:
__module_shutdown in modules_ethumb_emotion_module_la-emotion.o
EAPI was not well re-defined in both cases. It has been handled in
ecore_cocoa_private.h and ethumb_private.h. These files must be included
after a main library header (because EAPI is undef there).
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2483
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Oleksandr Shcherbina [Sun, 10 May 2015 20:55:56 +0000 (22:55 +0200)]
evas: pass disable atlas flag between Evas_3D_Texture and Evas_GL_Image
Summary:
Bind flag atlas_enable.
Build adjusting matrix only in case getting texture unit with atlas.
Reviewers: Hermet, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2473
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Carsten Haitzler (Rasterman) [Sun, 10 May 2015 13:42:35 +0000 (22:42 +0900)]
efl debugd - fix evlog writing - dont duplicate empty blocks
Carsten Haitzler (Rasterman) [Sun, 10 May 2015 13:36:39 +0000 (22:36 +0900)]
eina evlog - make log dumps simple binary from debugd with header
Carsten Haitzler (Rasterman) [Sun, 10 May 2015 13:27:37 +0000 (22:27 +0900)]
eina evlog - remove stolen count - unecessary
Carsten Haitzler (Rasterman) [Sun, 10 May 2015 10:05:54 +0000 (19:05 +0900)]
eina - begin event log infra we can get from the new debug monitor
we can down dump event logs. some ecore mainloop bits are logging at
the moment.
Subhransu Mohanty [Sat, 9 May 2015 09:46:42 +0000 (18:46 +0900)]
evas/engine: Fix the ector drawing for gl backend
Subhransu Mohanty [Sat, 9 May 2015 09:44:31 +0000 (18:44 +0900)]
evas/canvas : Call correct engine function for setting clip color
Tom Hacohen [Fri, 8 May 2015 15:17:05 +0000 (16:17 +0100)]
Ecore tests: REMOVE wayland tests.
These tests aren't really testing anything, and are just broken and annoying.
They only test init and shutdown, and they require a running wayland compositor.
They fail for anyone that has wayland enabled but not running in a wayland session.
They should be brought back once they actual test something, or once we allow skipping
tests that can't be run due to environment issues.
Tom Hacohen [Fri, 8 May 2015 14:23:25 +0000 (15:23 +0100)]
Ecore tests: Properly split (some) unit tests to units
Units were not properly split. We also had to resort to hacks we are not
allowed to do before, which are now fixed.
We don't allow shutting down and powering up again. Once something is off,
it's off.
Tom Hacohen [Fri, 8 May 2015 13:21:23 +0000 (14:21 +0100)]
Eo: Mark composite APIs as beta.
Until now we used @protected, but now we can finally properly use @beta.
Tom Hacohen [Fri, 8 May 2015 13:04:00 +0000 (14:04 +0100)]
Ecore audio test: Remove unneeded test.
We don't need to test eo works in the ecore audio suite.
If you mark it as virtual, it's virtual.
Daniel Kolesa [Fri, 8 May 2015 13:45:10 +0000 (14:45 +0100)]
eolian: generation for beta events
Daniel Kolesa [Fri, 8 May 2015 13:37:02 +0000 (14:37 +0100)]
eolian: API and tests for beta events
Daniel Kolesa [Fri, 8 May 2015 13:28:42 +0000 (14:28 +0100)]
eolian: fix generation tests
Daniel Kolesa [Fri, 8 May 2015 13:23:23 +0000 (14:23 +0100)]
eolian: oops... forgot to add a param
Daniel Kolesa [Fri, 8 May 2015 13:22:32 +0000 (14:22 +0100)]
eolian: parsing for beta events
Daniel Kolesa [Fri, 8 May 2015 13:17:20 +0000 (14:17 +0100)]
eolian: beta funcs generation
Stefan Schmidt [Fri, 8 May 2015 13:08:44 +0000 (15:08 +0200)]
build: Pass on makeflags and use proper @$(MAKE)
Going with the build in automake stuff allows us to run this target also in
parallel. Before we got the warning that the jobserver was missing and it
would only run as -j1. Thanks to Tom for spotting and Flameeyes for the blog
post:
https://blog.flameeyes.eu/2010/10/tell-tale-signs-that-your-makefile-is-broken#gsc.tab=0
Daniel Kolesa [Fri, 8 May 2015 13:12:27 +0000 (14:12 +0100)]
eolian: is_beta API plus tests
Daniel Kolesa [Fri, 8 May 2015 13:00:07 +0000 (14:00 +0100)]
eolian: parse the @beta qualifier
Tom Hacohen [Fri, 8 May 2015 12:55:39 +0000 (13:55 +0100)]
Efl debug: Rename shadowing variable.
Stefan Schmidt [Fri, 8 May 2015 12:29:13 +0000 (14:29 +0200)]
libunibreak: Follow README rename in EXTRA_DIST for distcheck.
The latest libunibreak updated changed the README name to README.md. Follow
this for the EXTRA_DIST files.
kabeer khan [Fri, 8 May 2015 12:19:48 +0000 (14:19 +0200)]
autotools: enable make check-build which builds only test suites
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: tasn, cedric, stefan_schmidt
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2480
ChunEon Park [Fri, 8 May 2015 11:51:52 +0000 (20:51 +0900)]
evas vector: remove white trailings
Subhransu Mohanty [Fri, 8 May 2015 11:32:40 +0000 (20:32 +0900)]
evas/canvas: Null check for base class data pointer.
ChunEon Park [Thu, 7 May 2015 11:02:01 +0000 (20:02 +0900)]
evas vector: cancel the transformation when null is passed.
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 10:48:26 +0000 (19:48 +0900)]
efl debug - clean up debugd and debug cli tool code proto handling
this clenas up protocol handling to share common code and have more
compact and easier to maintain code on both sides here.
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 08:23:38 +0000 (17:23 +0900)]
eina debug - add more comments to debugd connection
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 08:18:38 +0000 (17:18 +0900)]
eina debug - add comments
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 08:14:24 +0000 (17:14 +0900)]
efl debug - start on common file for efl_debug tools for protocol
this should reduce duplication between debugd and debug tools
Stefan Schmidt [Fri, 8 May 2015 07:55:12 +0000 (09:55 +0200)]
eina_ddebug: Fix build for the case without all requirements for eina_debug
In eina_debug.h we only include the eina headsers when all defines are true
for backtrace, dlopen, unwind, etc. We still use Eina_Bool here when these
cases are not met. I just hit this case and failed the build.
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 07:58:18 +0000 (16:58 +0900)]
eina debug - clean up protocol handling inside eina
Carsten Haitzler (Rasterman) [Tue, 5 May 2015 02:35:16 +0000 (11:35 +0900)]
eina - start a much improved eina dbug infra and have eina_log use it
this makes eina_log give bt's for all error logs. this is very useful
in finding just where a problem happens. the problem int he past is
that these have not been too useful due to backtrace_symbols() being
"useless". thus use the eina_btlog tool i added too.
also started infra for a debug monitor that can use the backtrace
infra to collect runtime stats ANY TIME for a process (don't need to
run under a debugger).
@feat
Carsten Haitzler (Rasterman) [Tue, 5 May 2015 10:28:14 +0000 (19:28 +0900)]
ecore - ecore_pipe_wait timeout broken as it never adjusts while waiting
if select gets interrupted it just waits again from the start because
it uses loop time not "now" time. this is wrong and makes timeout
waits possibly hang if enough things interrupt select without reading
data. this fixes that.
@fix
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 05:12:29 +0000 (14:12 +0900)]
efl - emotion modules - unbreak due to EAPI changes
emotion relied on Emotion.h's EAPI defs... now they have been removed
fix!
Chris Michael [Thu, 7 May 2015 19:40:38 +0000 (15:40 -0400)]
Merge branch 'devs/devilhorns/ecore_drm'
Summary: Merge new 1.15 API functions for ecore_drm which will be used
in the E RandR config dialog.
NB: This is basically a set of API functions that are needed for
working with the new e_randr2 codebase in E. This makes the dialog
'usable' in E, however there is no API yet for "applying" those
settings changes. That will come shortly.
@feature
Stefan Schmidt [Thu, 7 May 2015 18:50:56 +0000 (20:50 +0200)]
Revert "autotools: enable make check per individual modules."
This reverts commit
35119e7bfdc7c13c2041293f3d0b2ebe1fb7c313.
Reverted to bring make check back in a working state. Also the way we
want to handle a more modular testing needs discussion.
Chris Michael [Thu, 7 May 2015 15:37:54 +0000 (11:37 -0400)]
ecore-drm: Add new API function to mark an output as primary
Summary: This adds a new API function which we can use to mark a given
Ecore_Drm_Output as being the primary output.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 7 May 2015 15:31:46 +0000 (11:31 -0400)]
ecore-drm: Add API function to find an output given a name
Summary: This adds a new API function to find an Ecore_Drm_Output
which matches a given name.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 7 May 2015 13:24:15 +0000 (09:24 -0400)]
ecore-drm: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 6 May 2015 17:19:08 +0000 (13:19 -0400)]
ecore-drm: Add API function to get an output's crtc size
Summary: This adds a new API function to return an output's crtc size.
This is mainly used for drm RandR config in E
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 6 May 2015 16:22:15 +0000 (12:22 -0400)]
ecore-drm: Add API function to return primary output
Summary: This adds a new API function to return the output which is
marked as the primary output.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 6 May 2015 16:15:56 +0000 (12:15 -0400)]
ecore-drm: Add support for a Primary Output
Summary: As 'primary' output support is not implemented in hardware,
we need to support this feature via software. For now, the first
output returned via libdrm will be marked as 'primary' until user
changes it via config
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 6 May 2015 15:31:57 +0000 (11:31 -0400)]
ecore-drm: Set drm client capabilities to support universal planes
Summary: If we do not set client capabilities to support universal
planes, then libdrm does not expose the primary or cursor planes so
this adds a quick call to set DRM_CLIENT_CAP_UNIVERSAL_PLANES
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 6 May 2015 15:31:25 +0000 (11:31 -0400)]
ecore-drm: Cleanup plane debug output
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 6 May 2015 13:41:03 +0000 (09:41 -0400)]
ecore-drm: Set output connected property in the creation function
Summary: Makes more sense to set the output's connected property
inside the function which creates outputs.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 6 May 2015 13:33:17 +0000 (09:33 -0400)]
ecore-drm: Add some debug code to spit out planes and plane properties
Summary: This adds a debug function to spit out planes and their
properties while debugging rotation support
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 5 May 2015 13:12:25 +0000 (09:12 -0400)]
ecore-drm: Add API function to return output modes
Summary: This adds a new API function to return a list of modes
supported on a given output
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 4 May 2015 19:03:47 +0000 (15:03 -0400)]
ecore-drm: Add API function to return the edid of a given output
Summary: This adds a new API function to return the EDID string of a
given output.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 4 May 2015 18:41:18 +0000 (14:41 -0400)]
ecore-drm: Add API function to return if a given output has a backlight
Summary: This adds a new API function to call so we can check if a
given Ecore_Drm_Output has a backlight
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 4 May 2015 18:26:47 +0000 (14:26 -0400)]
ecore-drm: Add API function to return the connector type of a given output
Summary: This adds a new API function to return the connector type of
an Ecore_Drm_Output
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 4 May 2015 18:22:10 +0000 (14:22 -0400)]
ecore-drm: Add connector type to output structure
Summary: This adds a connector type field to the Output structure.
This will be used in the Enlightenment Drm rendering code for RandR
config
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 4 May 2015 18:13:21 +0000 (14:13 -0400)]
ecore-drm: Add API function to return output connected state
Summary: This adds a new API function to check if a given output is connected or not.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 4 May 2015 18:06:31 +0000 (14:06 -0400)]
ecore-drm: Add API function to return the name of an output
Summary: This adds a new API function to turn the name of a given Ecore_Drm_Output.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 4 May 2015 17:25:15 +0000 (13:25 -0400)]
ecore-drm: Add API function to return screen size range
Summary: This adds new API function to return the min & max width &
height of valid screen range for an Ecore_Drm_Device
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Thu, 7 May 2015 16:35:33 +0000 (17:35 +0100)]
eolian: remove old property syntax support