Commit Graph

19 Commits

Author SHA1 Message Date
Henrique Dante de Almeida ca8fc827a3 efl: Fixes to support compiling with CFLAGS=-Werror
This allows compiling with gcc 4.7.2 without errors (using the
default configuration).
2013-02-26 10:55:04 -03:00
Carsten Haitzler c5ade50c9f Fix ecore-x edid fetch to ftech 128, not 100 bytes. 2013-02-20 17:16:54 +09:00
Carsten Haitzler afd8a714f4 devilhorns: ummmm lets not segv and run allover the stack shall we? memset the
size of memory we ALLOCATED!



SVN revision: 83757
2013-02-08 03:35:11 +00:00
Christopher Michael 37749b3d3e Add ecore_x_randr_crtc_info_free function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83739
2013-02-07 12:43:55 +00:00
Christopher Michael 2fe1fa053f Fix crtc_info_get function (memcpy fails here in some cases, so
manually allocate and copy things over).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83737
2013-02-07 12:43:46 +00:00
Christopher Michael 20d1df8a23 Add ecore_x_randr_crtc_info_get function.
NB: This will save us Many X round-trips in the new randr dialog.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83728
2013-02-07 09:32:24 +00:00
Christopher Michael 562b278b52 Be a lot more pedantic and add some more safety checks about xrandr
return values (ie: if xrandr returns 0 crtcs, then we don't need to
allocate anything, etc, etc, etc).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83624
2013-02-05 11:55:51 +00:00
Christopher Michael 0c76117e1e Be a bit more pedantic when getting outputs for a crtc, in that if
xrandr returns 0 outputs, then free resources and return null quickly.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83623
2013-02-05 10:51:57 +00:00
Christopher Michael f317906408 Set number of returned modes early in the process.
Let's be a bit pedantic here, if the number of returned modes is Zero,
then just free resources and get out.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83617
2013-02-05 08:53:18 +00:00
Christopher Michael cdb82dc2df Tell X to create the edid atom if it is missing so we can return valid
edid information.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83556
2013-02-01 12:06:55 +00:00
Christopher Michael e6be42978b Length is optional here when getting edid from output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83554
2013-02-01 11:50:59 +00:00
Christopher Michael ea30a66335 Since we actually support RandR 1.4 now, lets increment the minor
version number.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83484
2013-01-30 15:12:22 +00:00
Christopher Michael afcc2c64c7 Actually Implement RandR 1.4 functions (with code) ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83471
2013-01-30 10:18:44 +00:00
Christopher Michael 1330412be7 Deprecate old ecore_x_randr_crtc_gamma functions.
Add new ecore_x_randr_crtc_gamma functions that use the proper
structure.
Add some missing UNUSED for function params.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83465
2013-01-30 09:32:52 +00:00
Christopher Michael 390c54eda3 Add missing UNUSED to some function parameters.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83458
2013-01-30 07:25:43 +00:00
Boris Faure d9e05b1b40 ecore_x: randr: don't crash when launching e without second screen
SVN revision: 83449
2013-01-29 19:55:42 +00:00
Christopher Michael 8e62eb9519 Implement & fix ecore_x_randr code.
NB: All functions which are in the Ecore_X header have now been
implemented except for 2.

NB: No support yet for the RandR 1.4 functions.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83439
2013-01-29 14:48:14 +00:00
Christopher Michael 3888089a7f Remove old randr code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83437
2013-01-29 14:48:08 +00:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00