Tomas Frydrych
f0364b2eed
Panel sliding
2008-10-15 18:14:52 +01:00
Tomas Frydrych
5af56eebd1
panel slide timeout
2008-10-15 17:57:41 +01:00
Tomas Frydrych
5f3e27bbd7
Mockup panel, xevent skeleton.
2008-10-15 17:50:06 +01:00
Tomas Frydrych
f6c958ff26
Added moblin plugin to build system.
2008-10-15 17:26:24 +01:00
Emmanuele Bassi
74b34fe239
[default] Use the slice allocator
...
The actor's private data created by the compositor is allocated
using g_new(), but since we are allocating a lot of small structures
all the time it's better to use the slice allocator instead.
Also, use a GQuark instead of using a string, so that the quark
lookup is done only once and the rest of the time is just an
integer comparison.
2008-10-10 17:11:13 +01:00
Tomas Frydrych
7124a7acc1
Removed unused compositer-clutter-plugin.c file.
2008-10-10 11:38:58 +01:00
Tomas Frydrych
2fffd6fe9f
Removed no longer needed completed() pointer from plugin struct.
2008-10-10 11:38:00 +01:00
Tomas Frydrych
6b1719de1c
Added direction parameter to plugin switch_workspace()
...
To facilitate nicer effects; extended direction defined in workspace.h so we
can represent up-left, etc.
2008-10-09 17:57:12 +01:00
Tomas Frydrych
0225449e12
Fallback to default plugin if no plugins are specified via gconf.
2008-10-09 15:33:06 +01:00
Tomas Frydrych
1a8e5872d1
Accessors for plugins to obtain stage and overlay_group actors.
2008-10-09 13:22:32 +01:00
Tomas Frydrych
0e6fba083f
Removed unnecessary ActorPrivate::workspace member.
2008-10-08 16:10:15 +01:00
Tomas Frydrych
1178800abb
Added convenience get_plugin () accessor.
2008-10-08 16:05:09 +01:00
Tomas Frydrych
f061a6d793
Added convenience function meta_comp_clutter_plugin_effect_completed()
2008-10-08 16:01:04 +01:00
Tomas Frydrych
976635a22b
Merge branch 'clutter' of ssh://gitserver@git.o-hand.com/metacity-clutter into clutter
2008-10-08 14:53:37 +01:00
Robert Bragg
69c0da91e5
Creates a src/compositor/clutter directory to help de-clutter things
2008-10-08 14:17:54 +01:00
Tomas Frydrych
306a7497fc
Fixed up for new plugin API; changed private key not to colide with default plugin.
2008-10-08 12:33:24 +01:00
Tomas Frydrych
0a7fc94799
Revert "Build metacity as library so that plugins can link against it."
...
This reverts commit 57c2e6d716485205a9178afe01dbc43641b5c2aa.
2008-10-08 12:19:08 +01:00
Tomas Frydrych
cca5e69c64
Removed debug printfs.
2008-10-08 10:16:53 +01:00
Tomas Frydrych
bbdd7d9b15
Build metacity as library so that plugins can link against it.
...
Renamed original main() to meta_main(); added wrapper main() into metacity.c.
2008-10-08 10:11:57 +01:00
Tomas Frydrych
60695fd89a
Refactored plugin API to use MetaCompWindow.
2008-10-07 16:29:03 +01:00
Tomas Frydrych
c5d59254af
Moved compositor-clutter.h to src/include so it can be used from plugins.
2008-10-07 15:08:36 +01:00
Tomas Frydrych
2bcd7c839b
Renamed simple plugin to 'default'
2008-10-07 14:58:34 +01:00
Tomas Frydrych
cc50d99712
Public API around MetaCompWindow actor
...
Added accessors for xwindow, window type and workspace number.
2008-10-07 14:52:21 +01:00
Tomas Frydrych
93c316f3b8
Fixed warning
...
Removed static declartion of tidy_texture_frame_new and added appropriate #include.
2008-10-07 09:07:51 +01:00
Tomas Frydrych
7983c29f67
Plugin manager API cleanup
...
Renamed meta_compositor_clutter_plugin_manager_event_0 to
meta_compositor_clutter_plugin_manager_event_simple and
meta_compositor_clutter_plugin_manager_event_4i to
meta_compositor_clutter_plugin_manager_event_maximize for improved clarity.
2008-10-07 09:01:58 +01:00
Robert Bragg
22f386b35b
Removes old static prototype for tidy_texture_frame_new from compositor-clutter.c
2008-10-06 15:52:01 +01:00
Robert Bragg
d6e4fc41c2
Splits tidy-texture-frame out from compositor-clutter.c
2008-10-06 15:07:39 +01:00
Neil Roberts
735877d89a
Don't try to use multisampling for textures that are sliced.
2008-09-30 16:54:12 +01:00
Neil Roberts
ee60128334
Support for GL ES in the Clutter compositor.
...
Check for whether clutter/glx/clutter-glx-texture-pixmap.h is
available in the configure script and if not use
ClutterX11TexturePixmap directly.
glGetTexLevelParameter isn't available on GL ES so instead it checks
whether NPOTs textures are available and assumes the next power of two
size if not.
2008-09-30 15:33:18 +01:00
Matthew Allum
3bbd5e32f2
Fix configure events generating too many updates
...
Split stage into window and overlay groups
Add an event hook to plugins
2008-10-02 12:16:15 +01:00
Neil Roberts
43e3fbc518
Set the input mask on the composited windows to include
...
ShapeNotifyMask. Remove the call to resize_win in process_shape
because it is redundant.
2008-09-25 13:30:34 +01:00
Tomas Frydrych
c58ade6600
When testing for shadow, test for window shape before override redirect.
2008-09-25 09:30:13 +01:00
Tomas Frydrych
33ae559eca
Stripped trailing space.
2008-09-25 09:29:57 +01:00
Neil Roberts
4f1fd37231
Handle ShapeNotify events in the clutter compositor and update the
...
clip rectangles on the MetaShapedTexture.
2008-09-24 22:53:39 +01:00
Neil Roberts
6654cb65d7
Made MetaShapedTexure take XRectangles instead of ClutterGeometries to
...
represent the rectangles.
2008-09-24 22:52:56 +01:00
Neil Roberts
19d338cb50
Make MetaShapedTexture a subclass of ClutterGLXTexturePixmap and use
...
it for window actors.
2008-09-24 21:48:02 +01:00
Neil Roberts
0bbe8b8004
Add a cast in shaped-texture.c to prevent warnings about comparing
...
signed and unsigned integers.
2008-09-24 21:40:10 +01:00
Neil Roberts
99d3cc1b2b
Add an actor for drawing textures clipped to a list rectangles
2008-09-24 21:36:38 +01:00
Tomas Frydrych
d6f340eb96
Fixed install-exec-hook for plugins to work correctly when $DESTDIR is set.
2008-09-24 09:46:52 +01:00
Tomas Frydrych
9b3a0d1ad8
Basic plugin infastructure and a sample simple plugin.
2008-09-18 16:09:11 +01:00
Tomas Frydrych
b7bdc5ec69
Fall back on XRender if initializing clutter fails.
2008-09-17 16:39:32 +01:00
Tomas Frydrych
6946d6a4a3
Moved shadow source actor form screen to the compositor (only one needed).
2008-08-20 13:18:43 +01:00
Tomas Frydrych
2bcb7d73be
Handle resize on root window.
2008-08-20 13:01:40 +01:00
Tomas Frydrych
655bfaec80
GType wrapper for XWindowAttributes, MetaCompWindow::x-window-attributes prop
...
So we do not have to query window attributes in the MetaCompWindow constructor
but can pass them as a property (so we can gracefully handle the case where no
attributes can be retrieved).
2008-08-20 11:48:00 +01:00
Tomas Frydrych
a3f56bb289
Added --with-clutter option; initialize Clutter from meta_ui_init().
...
Fixed up the build files so we do not build xrender compositor when building
clutter backend; moved clutter initialization to meta_ui_init() so commandline
arguments can be passed into clutter_init().
2008-08-20 10:31:10 +01:00
Tomas Frydrych
b48f9ca907
Code cleanup and pretification.
2008-08-20 09:33:39 +01:00
Tomas Frydrych
8589eab403
Cleaned up MetaCompWindow disposal.
2008-08-20 08:26:52 +01:00
Tomas Frydrych
1ee1842638
Made MetaCompWindow into ClutterGroup sub-class.
2008-08-19 17:02:00 +01:00
Tomas Frydrych
70afce0325
Cast shadows to SE.
2008-08-19 14:33:20 +01:00
Tomas Frydrych
1f29679c0d
Basic CM minimize effect
...
Added minimize hook to the compositor, hooked up into MetaWindow, implemented
in the clutter compositor.
2008-08-19 11:47:30 +01:00