Emmanuele Bassi
8c2118542c
conform: Begin a test suite for layout options
...
A simple sampling check to validate that we're painting the right thing
at the right place.
2012-01-16 23:35:14 +00:00
Emmanuele Bassi
20b9ec8c6b
build: Disable deprecation warnings in tests/accessibility
...
Like we do in the other tests/ sections.
2011-12-09 16:23:44 +00:00
Emmanuele Bassi
9e3a8a678e
build: Disable deprecation warnings in tests/micro-bench
2011-12-09 16:23:35 +00:00
Emmanuele Bassi
bedf1664a7
build: Disable deprecation warnings in tests/performance
2011-12-09 16:23:20 +00:00
Robert Bragg
e5bde0b074
tests: Adds a simple wayland compositor example
...
This adds an extremely minimal wayland compositor to tests/interactive
to test the ClutterWaylandSurface actor. Currently this minimal
compositor doesn't support any input, it simply paints client surfaces
fixed at the top-left of the stage.
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2011-12-08 16:13:37 +00:00
Chun-wei Fan
075ab0cbe6
conform/Makefile.am: Update Win32 test .bat name
...
Rename to test-conformance-clutter.bat to make the file name clearer to
users
2011-12-07 18:14:17 +08:00
Emmanuele Bassi
3f4bd0d9d4
conform: Add markers parsing to the timeline unit
...
We should check that the newly added custom parser for timeline
markers is working as intended.
2011-11-27 12:19:40 +00:00
Emmanuele Bassi
a13b095dc2
build: Fix distcheck
2011-11-22 13:53:08 +00:00
Emmanuele Bassi
a24ff882b6
conform: Bail out GLSL-based tests
...
If we don't have GLSL support on the platform.
2011-11-22 01:01:37 +00:00
Emmanuele Bassi
ecdb12ecc3
conform/cogl-pixel-buffer: Remove unused variable
2011-11-18 17:23:56 +00:00
Rico Tzschichholz
225820c4b4
Fix 'make dist'
2011-11-18 18:08:01 +01:00
Rico Tzschichholz
516b5de756
tests: Remove some trailing spaces
2011-11-18 17:38:45 +01:00
Emmanuele Bassi
73e7404652
build: Clean up the VS build rules
...
Some minor cleanups of the Visual Studio rules in the interactive and
conformance test suites.
2011-11-18 15:12:45 +00:00
Rico Tzschichholz
b62216955f
build: Make sure test-unit-names.h is generated
2011-11-18 13:39:06 +01:00
Chun-wei Fan
a69c4fdc59
Merge branch 'master' into msvc-support-master
2011-11-17 22:17:01 +08:00
Emmanuele Bassi
ef02de19e8
interactive: Remove test-model
...
The model API is already tested in the conformance test suite.
2011-11-16 15:05:18 +00:00
Emmanuele Bassi
15000307fd
interactive: Remove test-unproject
...
The coordinate transformation code is exercised throughout the
conformance and interactive tests, so there's no need to have a specific
interactive test that doesn't do anything more complicated than calling
clutter_actor_transform_stage_point().
2011-11-16 13:59:11 +00:00
Chun-wei Fan
2a54db4557
test-picking.c: Use G_PI rather than M_PI
...
M_PI is not universally available...
2011-11-15 16:29:35 +08:00
Chun-wei Fan
2a86ecc4b9
Update interactive/conformance .bat names
...
Add a -clutter suffix to avoid confustion with others, such as COGL.
2011-11-15 16:19:06 +08:00
Chun-wei Fan
96d4e527ea
Merge branch 'master' into msvc-support-master
2011-11-14 22:57:50 +08:00
Chun-wei Fan
1b7249a247
Merge branch 'master' into msvc-support-master
2011-11-14 11:40:49 +08:00
Emmanuele Bassi
5903fcc36d
performance/*: Do not use clutter_stage_get_default()
2011-11-10 15:37:51 +00:00
Emmanuele Bassi
7c180a0742
interactive/*: Do not use clutter_stage_get_default()
2011-11-10 15:37:50 +00:00
Emmanuele Bassi
6ed879b84c
Merge with a11y
2011-11-10 15:37:50 +00:00
Emmanuele Bassi
93eb0bfe32
micro-bench/*: Do not use clutter_stage_get_default()
2011-11-10 15:37:50 +00:00
Emmanuele Bassi
a5522b707e
accessibility/*: Do not use clutter_stage_get_default()
2011-11-10 15:37:50 +00:00
Emmanuele Bassi
deba576dd1
conform/*: Do not use clutter_stage_get_default()
...
Use the correct stage creation/destruction API.
2011-11-10 15:37:50 +00:00
Emmanuele Bassi
e374c2bd89
conform/color: Check invalid strings
...
We need to make sure to fail consistently for invalid strings.
2011-11-10 14:15:32 +00:00
Emmanuele Bassi
889a1f44f4
conform/color: Test hsla() format
2011-11-10 12:57:34 +00:00
Chun-wei Fan
63dbcc245c
Merge branch 'master' into msvc-support-master
2011-11-09 00:30:32 +08:00
Emmanuele Bassi
101f39ea92
Replace usage of [sg]et_geometry()
...
The set_geometry() and get_geometry() methods are going to be
deprecated.
2011-11-08 14:46:16 +00:00
Chun-wei Fan
bb9e452a36
Merge branch 'master' into msvc-support-master
2011-11-07 11:42:16 +08:00
Emmanuele Bassi
53513f8586
tests: Remove #undef CLUTTER_DISABLE_DEPRECATED
...
We need to test deprecated API as well, and we don't use a guard any
more in the build.
2011-11-03 15:35:03 +00:00
Emmanuele Bassi
c4e6f74f29
interactive/pixmap: Make sure to work only on the X11 backend
...
Even if the test has been successfully compiled against the X11 backend,
we need to ensure that it is actually running against it, otherwise bad
things will happen.
2011-11-03 13:45:21 +00:00
Emmanuele Bassi
3b38cee66b
interactive/devices: Build unconditionally
...
The test-devices interactive test does not rely on the X11 API being
present any more, after the introduction of the device manager API.
2011-11-03 13:45:21 +00:00
Emmanuele Bassi
a09bbffd92
Implement multi-backend support
...
The Clutter backend split is opaque enough that should allow us to just
build all possible backends inside the same shared object, and select
the wanted backend at initialization time.
This requires some work in the build system, as well as the
initialization code, to remove duplicate functions that might cause
conflicts at build and link time. We also need to defer all the checks
of the internal state of the platform-specific API to run-time type
checks.
2011-11-03 13:45:19 +00:00
Giovanni Campagna
610a9c17ba
Add a new GDK backend
...
This commit introduces a new flavour for Clutter, that uses GDK
for handling all window system specific interactions (except for
creating the cogl context, as cogl does not know about GDK), including
in particular events. This is not compatible with the X11 (glx)
flavour, and this is reflected by the different soname (libclutter-gdk-1.0.so),
as all X11 specific functions and classes are not available. If you
wish to be compatible, you should check for CLUTTER_WINDOWING_X11.
Other than that, this backend should be on feature parity with X11,
including XInput 2, XSettings and EMWH (with much, much less code)
https://bugzilla.gnome.org/show_bug.cgi?id=657434
2011-11-03 13:42:13 +00:00
Chun-wei Fan
fedca055e9
Revert "Revert "Deprecate clutter_threads_init()""
...
This reverts commit 5419c11c99
.
This is another part to attempt to investigate on error 0xC0000264
on Windows
2011-10-21 17:44:27 +08:00
Chun-wei Fan
098a83af9e
test-[interactive/conformance].bat: Update .exe name
2011-10-20 17:26:55 +08:00
Chun-wei Fan
a36ab5787b
Rename conform/interactive tests VS projects
...
Add a -clutter suffix for their project names to avoid clashes with the
COGL test executables
2011-10-20 16:35:38 +08:00
Chun-wei Fan
d6af2e54c8
Merge branch 'master' into msvc-support-master
2011-10-20 15:41:46 +08:00
Chun-wei Fan
5419c11c99
Revert "Deprecate clutter_threads_init()"
...
This reverts commit 7e3a75c66b
.
Conflicts:
clutter/clutter-main.c
clutter/clutter-main.h
2011-10-20 15:17:25 +08:00
Neil Roberts
b240b95a97
tests: Use the portable cogl wrappers for GLSL builtins
...
Instead of directly using the GLSL names for the builtins in the
shaders for test-shader and test-pick, this makes it use the Cogl
wrapper names instead. That way it will be portable to GLES2 as well.
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2011-10-19 13:50:48 +01:00
Chun-wei Fan
b1780711f7
Merge branch 'master' into msvc-support-master
2011-10-17 15:52:57 +08:00
Emmanuele Bassi
f75dfcfd8b
interactive: Use the newly added CLUTTER_ALIGN_BOTH value
...
We center a lot of stuff using ClutterAlignConstraints.
2011-10-15 18:36:27 +01:00
Emmanuele Bassi
96cb1d7128
Disable deprecation warnings for the test suite
...
We test deprecated functionality as well as current one, so we need to
enable all symbols and disable the deprecation warnings.
2011-10-13 17:50:25 +01:00
Emmanuele Bassi
c58baf42ca
interactive/threads: Clean up
...
Add some comments explaining why we use idle handlers to update the UI,
and update to the newest API in GLib master.
2011-10-13 10:38:36 +01:00
Emmanuele Bassi
9901a06a1f
tests: Fix some compiler warnings
2011-10-12 09:57:53 +01:00
Emmanuele Bassi
9e61cfcf38
tests: Disable deprecation warnings
2011-10-12 09:57:33 +01:00
Chun-wei Fan
bd991e625b
Merge branch 'master' into msvc-support-master
2011-10-12 14:37:19 +08:00