Tomas Frydrych [Thu, 31 May 2007 18:22:41 +0000 (18:22 +0000)]
fixed coordinance translation in clutter_actor_get_transformed_point
Matthew Allum [Thu, 31 May 2007 17:11:09 +0000 (17:11 +0000)]
2007-05-31 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-actor.c:
* clutter/clutter-actor.h:
Add clutter_actor_get_transformed_point()
* clutter/clutter-main.c:
Plug in perspective setup to redraw
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
Remove audience code for now.
Matthew Allum [Thu, 31 May 2007 12:35:36 +0000 (12:35 +0000)]
2007-05-31 Matthew Allum <mallum@openedhand.com>
* clutter/egl/clutter-backend-egl.c:
* clutter/egl/clutter-backend-egl.h:
* clutter/egl/clutter-event-egl.c:
* clutter/egl/clutter-stage-egl.c:
* clutter/egl/clutter-stage-egl.h:
Rename Egl -> EGL
Matthew Allum [Thu, 31 May 2007 11:13:43 +0000 (11:13 +0000)]
2007-05-31 Matthew Allum <mallum@openedhand.com>
* clutter/glx/clutter-backend-glx.c:
* clutter/glx/clutter-backend-glx.h:
* clutter/glx/clutter-event-glx.c:
* clutter/glx/clutter-glx.h:
* clutter/glx/clutter-stage-glx.c:
* clutter/glx/clutter-stage-glx.h:
Change type nameing from Glx -> GLX.
Add basic event filtering functionality
Tomas Frydrych [Thu, 31 May 2007 10:11:06 +0000 (10:11 +0000)]
Changed behaviour so that a beginning angle of 0 would correspond to 12 o'clock
Tomas Frydrych [Thu, 31 May 2007 09:38:57 +0000 (09:38 +0000)]
added missing clutter_actor_get_transformed_vertices prototype; removed related debug code
Tomas Frydrych [Thu, 31 May 2007 09:29:12 +0000 (09:29 +0000)]
Fixed ellipse behaviour for negative angles; fixed double to int conversion for negative numbers; fixed CLUTTER_ANGLE_FROM_DEGX; added ClutterVertices and clutter_actor_get_transformed_vertices()
Matthew Allum [Wed, 30 May 2007 23:43:13 +0000 (23:43 +0000)]
2007-05-31 Matthew Allum <mallum@openedhand.com>
* TODO:
Sync up for whats left for 0.4 release (and 0.6 ideas)
Matthew Allum [Wed, 30 May 2007 23:16:58 +0000 (23:16 +0000)]
2007-05-31 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-behaviour-ellipse.c:
Remove uneeded knot signal
* clutter/clutter-behaviour-path.c:
Fix so knot signal is emitted only when a knot is reached.
* clutter/clutter-effect.c:
* clutter/clutter-effect.h:
Add a scale effect.
* configure.ac:
* doc/manual/Makefile.am:
* doc/manual/clutter-manual.xml.in:
* doc/manual/manual.xsl:
* doc/manual/style.css:
Add various bits for application developers manual.
Tomas Frydrych [Wed, 30 May 2007 10:52:06 +0000 (10:52 +0000)]
removed ClutterSmoothstep type; renamed clutter_smoothstep_func to clutter_smoothstep_inc_func; added clutter_smoothstep_dec_func
Tomas Frydrych [Tue, 29 May 2007 09:21:18 +0000 (09:21 +0000)]
fixed clutter cos functions; fixed tilt calculations in elliptic path
Tomas Frydrych [Tue, 29 May 2007 07:26:32 +0000 (07:26 +0000)]
fix z_camera calcualtion in gles/cogl
Matthew Allum [Mon, 28 May 2007 20:09:19 +0000 (20:09 +0000)]
2007-05-28 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c: (clutter_texture_unrealize):
Dont even try to move texture pixels from video -> system
ram on unrealisation for GL/ES
Matthew Allum [Mon, 28 May 2007 19:14:40 +0000 (19:14 +0000)]
2007-05-28 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-stage.c: (clutter_stage_get_actor_at_pos):
Fix for GL/ES. Barring texture reads this means all clutter
functionality now works on GL/ES! (no doubt with a few yet to
be discovered bugs)
Matthew Allum [Mon, 28 May 2007 18:49:34 +0000 (18:49 +0000)]
2007-05-28 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-backend.c:
* clutter/clutter-backend.h:
* clutter/glx/clutter-stage-glx.c:
* clutter/glx/clutter-backend-glx.c:
Fix up rendering pipeline removing clutter_backend_XXX_stage_paint
and adding clutter_backend_XXX_redraw instead. Duplicates less
code in backends, avoids clutter_actor_paint() getting called
before stage is set up (viewport wise) and unbreaks things like
picking.
* clutter/clutter-actor.c:
* clutter/clutter-actor.h:
* clutter/clutter-main.c:
* clutter/clutter-private.h:
* clutter/clutter-stage.c: (clutter_stage_get_actor_at_pos):
Redo picking functionality a different way (via color indexing)
as to provide more flexibility, possibly speed and more likely
work with GL/ES (doesn't currently however - not sure why).
* clutter/clutter-group.c:
Add groups own 'pick' method.
* clutter/cogl/cogl.h:
* clutter/cogl/gl/cogl.c:
* clutter/cogl/gles/cogl.c:
Move clipping funtionality into cogl.
* clutter/cogl/gles/cogl-defines.h:
Hack around missing BGR format in GL/ES.
* clutter/egl/clutter-backend-egl.c:
* clutter/egl/clutter-backend-egl.h:
* clutter/egl/clutter-stage-egl.c:
* clutter/sdl/clutter-backend-sdl.c:
* clutter/sdl/clutter-backend-sdl.h:
* clutter/sdl/clutter-event-sdl.c:
* clutter/sdl/clutter-stage-sdl.c:
Update backends to newer API.
Add basic mouse event translation to SDL.
Matthew Allum [Fri, 25 May 2007 16:35:57 +0000 (16:35 +0000)]
2007-05-25 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-color.c: (clutter_color_parse):
Handle #rrggbbaa color setting strings (i.e with alpha).
Set alpha to 0xff if it is not specified.
* clutter/clutter-stage.c: (clutter_stage_get_actor_at_pos)
Increase select buffer.
* examples/super-oh.c:
Fix up use of clutter_group_show_all()
Tomas Frydrych [Fri, 25 May 2007 12:07:24 +0000 (12:07 +0000)]
ClutterBehaviourEllipse api changes; z_camera calculation
Matthew Allum [Fri, 25 May 2007 10:56:09 +0000 (10:56 +0000)]
2007-05-25 Matthew Allum <mallum@openedhand.com>
* Makefile.am:
Install a default flavour .pc file.
* clutter/clutter-actor.c:
Translate units correctly for translate()
* clutter/clutter-feature.h:
Add new texture features.
* clutter/clutter-fixed.h:
Add clutter angle conversion defines.
* clutter/clutter-group.c:
Use cogl not GL. Dont recurse on show all.
* clutter/clutter-private.h:
Remove sync_viewport.
* clutter/clutter-rectangle.c:
Fix cogl typo.
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
Add perspective settings. Remove viewport_sync.
Add audience stubs. Fix up actor_at_pos a little (still broken)
* clutter/clutter-texture.h:
* clutter/clutter-texture.c:
Redo pixel uploading. Add initial (disabled) YUV support.
* clutter/clutter-timeline.c:
Fire 'completed' signal when looping.
* clutter/cogl/gl/cogl.c:
Move some backend checks here.
* clutter/glx/clutter-backend-glx.c:
Actually check target display has GLX ext.
* clutter/glx/clutter-stage-glx.c:
Handle offscreen failing more gracefully.
* examples/Makefile.am:
Use AM_LDFLAGS.
* clutter/clutter-main.c:
* clutter/clutter-feature.c:
* clutter/clutter-backend.c:
* clutter/clutter-alpha.c:
Fix a compile warnings.
* tests/Makefile.am:
* tests/test-offscreen.c:
* tests/test-scale.c:
More tests.
Tomas Frydrych [Wed, 23 May 2007 10:47:35 +0000 (10:47 +0000)]
removed clutter_actor_get_abs_position_units() and clutter_actor_get_abs_size_units() from public api
Tomas Frydrych [Tue, 22 May 2007 09:32:09 +0000 (09:32 +0000)]
updated clutter-behaviour-ellipse.sgml template
Tomas Frydrych [Tue, 22 May 2007 09:31:40 +0000 (09:31 +0000)]
removed ClutterReal; added clutter-units
Tomas Frydrych [Fri, 18 May 2007 07:32:41 +0000 (07:32 +0000)]
add missing clutter-real.h
Tomas Frydrych [Fri, 18 May 2007 07:30:06 +0000 (07:30 +0000)]
ClutterReal type
Emmanuele Bassi [Thu, 17 May 2007 12:07:17 +0000 (12:07 +0000)]
Update ChangeLog (and fix last commit)
Emmanuele Bassi [Thu, 17 May 2007 12:03:43 +0000 (12:03 +0000)]
Remove ClutterLayout from the main branch
Emmanuele Bassi [Thu, 17 May 2007 12:03:38 +0000 (12:03 +0000)]
Use clutter_base_init() in the init process
Use clutter_base_init() instead of g_type_init(), as it calls the type
function for ClutterActor and allows the compiler to use a constant value
instead of the computed result.
Emmanuele Bassi [Thu, 17 May 2007 12:03:31 +0000 (12:03 +0000)]
Hush compiler warning
When forcing a call to clutter_actor_get_type() to cache the result, ignore
the returned value and hush a compiler warning.
Matthew Allum [Thu, 17 May 2007 09:08:50 +0000 (09:08 +0000)]
2007-05-17 Matthew Allum <mallum@openedhand.com>
* configure.ac:
Fix CLUTTER_NO_FPU typo.
Tomas Frydrych [Thu, 17 May 2007 07:09:24 +0000 (07:09 +0000)]
added clutter_exp_inc_func() and clutter_exp_dec_func()
Tomas Frydrych [Thu, 17 May 2007 07:09:18 +0000 (07:09 +0000)]
added clutter_pow2x() and clutter_log2x()
Emmanuele Bassi [Wed, 16 May 2007 15:00:41 +0000 (15:00 +0000)]
Add base initialisation function
Add a semi-private function, called clutter_base_init(), which initialises
the basic Clutter functionalities (at the moment, just the GLib type system)
without calling in the backend-specific code. This function is only useful
for gtk-doc, to introspect the library when generating documentation for
signals, properties and class hierarchy.
Also, change the documentation build system to use clutter_base_init() when
launching the scanner program.
Tomas Frydrych [Wed, 16 May 2007 13:53:39 +0000 (13:53 +0000)]
added clutter_sine_half_func()
Tomas Frydrych [Wed, 16 May 2007 13:46:54 +0000 (13:46 +0000)]
Fixed clutter_sine_inc_func(); added clutter_sine_dec_func()
Tomas Frydrych [Wed, 16 May 2007 11:32:50 +0000 (11:32 +0000)]
implemented smoothstep alpha function
Matthew Allum [Wed, 16 May 2007 09:08:30 +0000 (09:08 +0000)]
2007-05-16 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-backend.c:
* clutter/clutter-backend.h:
* clutter/clutter-feature.c:
* clutter/clutter-feature.h:
* clutter/clutter-main.c:
* clutter/clutter-main.h:
* clutter/clutter-private.h:
* clutter/clutter-stage.c:
* clutter/cogl/cogl.h:
* clutter/cogl/gl/cogl.c:
* clutter/cogl/gles/cogl.c:
* clutter/glx/clutter-backend-glx.c:
* clutter/glx/clutter-backend-glx.h:
* clutter/glx/clutter-glx.h:
* clutter/glx/clutter-stage-glx.c:
* clutter/glx/clutter-stage-glx.h:
Rejig the features() foo, moving mostly into backends/cogl.
Tomas Frydrych [Tue, 15 May 2007 15:41:30 +0000 (15:41 +0000)]
removed unnecessary CFX_MUL from clutter_actor_get_abs_position
Tomas Frydrych [Tue, 15 May 2007 11:51:14 +0000 (11:51 +0000)]
added tilt parameter to clutter_behaviour_ellipse_new()
Matthew Allum [Mon, 14 May 2007 09:11:23 +0000 (09:11 +0000)]
2007-05-14 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-behaviour-path.c:
Fix bug where last knot position wouldn't get reached.
* clutter/clutter-group.c:
Add some docs
* clutter/clutter-timeline.h:
* clutter/clutter-timeline.c:
Add clutter_timeline_copy (needed for ClutterEffect)
* clutter/clutter-version.h.in:
Export windowing system / GL backend etc defines.
* clutter/Makefile.am:
* clutter/clutter-effect.c:
* clutter/clutter-effect.h:
* clutter/clutter.h:
* clutter/glx/clutter-backend-glx.c:
Minor clean ups.
* clutter/clutter-alpha.h:
Add a fixme.
* configure.ac:
Add FPU define.
* examples/Makefile.am:
* examples/slider.c:
Add Robs slider game.
Matthew Allum [Thu, 10 May 2007 12:49:34 +0000 (12:49 +0000)]
2007-05-10 Matthew Allum <mallum@openedhand.com>
* clutter/egl/clutter-backend-egl.c:
* clutter/egl/clutter-event-egl.c:
* clutter/sdl/clutter-backend-sdl.c:
* clutter/sdl/clutter-event-sdl.c:
Fix SDL & EGL backends to work with newer backend code.
Tomas Frydrych [Thu, 10 May 2007 11:50:07 +0000 (11:50 +0000)]
fixed gtkdoc comments for hls functions
Tomas Frydrych [Thu, 10 May 2007 11:37:45 +0000 (11:37 +0000)]
added clutter_color_to/from_hlsx(); clobbered hue to 0..255 in clutter_colour_to/from_hls()
Matthew Allum [Wed, 9 May 2007 23:31:08 +0000 (23:31 +0000)]
2007-05-10 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-backend.c:
* clutter/clutter-backend.h:
* clutter/clutter-event.c:
* clutter/clutter-main.c:
* clutter/clutter-private.h:
* clutter/glx/clutter-backend-glx.c:
* clutter/glx/clutter-backend-glx.h:
* clutter/glx/clutter-event-glx.c:
Rejig backend event code as to simplify a little.
NOTE: This breaks non glx backends.
* tests/Makefile.am:
* tests/test-events.c:
Add a very simple event test.
* tests/test-textures.c: (main):
Add some more sizes to the test.
Matthew Allum [Fri, 4 May 2007 23:53:49 +0000 (23:53 +0000)]
2007-05-05 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c:
Fix typos with new cogl using texture code. Fixes tiled textures.
Add a check for max npots size.
* configure.ac:
* Makefile.am:
* tests/Makefile.am:
* tests/test-textures.c:
Add a simple texture test.
Matthew Allum [Wed, 2 May 2007 20:05:29 +0000 (20:05 +0000)]
2007-05-02 Matthew Allum <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/clutter-stage.c:
* clutter/sdl/Makefile.am:
* clutter/sdl/clutter-backend-sdl.c:
* clutter/sdl/clutter-backend-sdl.h:
* clutter/sdl/clutter-event-sdl.c:
* clutter/sdl/clutter-sdl.h:
* clutter/sdl/clutter-stage-sdl.c:
* clutter/sdl/clutter-stage-sdl.h:
* configure.ac:
Add a basic SDL based backend. Lacks real input event handling
(translation) as yet.
Also allows for clutter to be built against dgles.
Matthew Allum [Wed, 2 May 2007 09:01:11 +0000 (09:01 +0000)]
2007-05-02 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-actor.c:
* clutter/cogl/gles/cogl.c:
Fix rotation + other fixed point cleanups.
* clutter/clutter-texture.h:
Sketch out an updated API.
Tomas Frydrych [Tue, 1 May 2007 20:13:15 +0000 (20:13 +0000)]
fixed sign problem in cogl_setup_vieport
Matthew Allum [Tue, 1 May 2007 15:26:12 +0000 (15:26 +0000)]
2007-05-01 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-rectangle.c:
Comment out color match check for now as appears to be causing
borders to always get pained.
* clutter/clutter-texture.h:
Add some format defines (unused as yet)
* clutter/cogl/gles/cogl.c:
* clutter/egl/clutter-stage-egl.c:
* configure.ac:
Various OpenGL ES backend related fixes and tweaks.
Tomas Frydrych [Mon, 30 Apr 2007 08:39:38 +0000 (08:39 +0000)]
Updated changelog
Tomas Frydrych [Mon, 30 Apr 2007 08:39:35 +0000 (08:39 +0000)]
removed debugging messages
Tomas Frydrych [Mon, 30 Apr 2007 08:39:31 +0000 (08:39 +0000)]
added --path command line argument to examples/behave; removed bspline example
Tomas Frydrych [Mon, 30 Apr 2007 08:39:20 +0000 (08:39 +0000)]
cleaned up ClutterBehaviourEllipse api, added documentation
Tomas Frydrych [Mon, 30 Apr 2007 08:39:15 +0000 (08:39 +0000)]
clutter_sini(): fixed reduction to 0,2pi
Tomas Frydrych [Mon, 30 Apr 2007 08:39:11 +0000 (08:39 +0000)]
initial stab at elliptic path behaviour
Matthew Allum [Sat, 28 Apr 2007 00:37:11 +0000 (00:37 +0000)]
2007-04-28 Matthew Allum <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/clutter-debug.h:
* clutter/clutter-fixed.h:
* clutter/clutter-main.c:
* clutter/cogl/gles/Makefile.am:
* clutter/cogl/gles/cogl-defines.h:
* clutter/cogl/gles/cogl.c:
* clutter/egl/clutter-backend-egl.c:
* clutter/egl/clutter-backend-egl.h:
* clutter/egl/clutter-stage-egl.c:
* configure.ac:
Populate most stubs for cogl GL/ES implementation.
(against vincent - see http://svn.o-hand.com/repos/misc/ogles)
Add various fixups to EGL backend.
Code builds and runs (on 16bpp) but yet displays much (is close!)
* clutter/pango/pangoclutter-render.c:
comment out some rouge glBegin/end calls.
Matthew Allum [Fri, 27 Apr 2007 21:13:06 +0000 (21:13 +0000)]
2007-04-27 Matthew Allum <mallum@openedhand.com>
* clutter/Makefile.am:
* clutter/clutter-actor.c:
* clutter/clutter-clone-texture.c:
* clutter/clutter-rectangle.c:
* clutter/clutter-stage.c:
* clutter/clutter-texture.c:
* clutter/cogl/cogl.h:
* clutter/cogl/gl/Makefile.am:
* clutter/cogl/gl/cogl-defines.h:
* clutter/cogl/gl/cogl.c:
* clutter/cogl/gles/Makefile.am:
* clutter/cogl/gles/cogl-defines.h:
* clutter/cogl/gles/cogl.c:
* clutter/glx/Makefile.am:
* clutter/glx/clutter-stage-glx.c:
* clutter/pango/Makefile.am:
* clutter/pango/pangoclutter-render.c:
* configure.ac:
Add initial 'cogl' implementation. 'cogl' is a simple abstration
layer over GL and GL/ES used by clutter internally. It should
eventually allow clutter applications to be run on both GL and GL/ES
with just a recompile as well as provide more debugging and potentially
profiling information for GL and GL/ES usage.
This commit contains the initial GL implementation.
Emmanuele Bassi [Thu, 26 Apr 2007 19:11:24 +0000 (19:11 +0000)]
2007-04-26 Emmanuele Bassi <ebassi@openedhand.com>
Merge from clutter-0-2
* clutter/clutter-label.c: Unbreak the "use-markup" property
by actually passing the markup to pango_layout_set_markup().
Emmanuele Bassi [Wed, 25 Apr 2007 14:22:24 +0000 (14:22 +0000)]
2007-04-25 Emmanuele Bassi <ebassi@openedhand.com>
Merge from clutter.git/master
* clutter/glx/clutter-event-glx.c:
* clutter/glx/clutter-stage-glx.c: Implement the _NET_WM_PING
protocol handling on the main stage window.
* clutter/clutter-stage.h:
* clutter/clutter-stage.c:
* clutter/clutter-main.c: Handle CLUTTER_DELETE events internally,
by calling clutter_main_quit(), and remove the ::delete-event
signal from ClutterStage; clean up the signal emission sequence
for the events: emit the ::event signal before emitting any signal
and the ::event-after signal after the signal has been emitted; move
the signal emission calls inside ClutterStage so we can call
g_signal_emit() instead of g_signal_emit_by_name(), thus sparing us
a lookup for each event.
* examples/test.c: Remove ::delete-event signal handling.
Emmanuele Bassi [Thu, 19 Apr 2007 15:28:17 +0000 (15:28 +0000)]
Updating ChangeLog for SVN users
Emmanuele Bassi [Thu, 19 Apr 2007 15:28:04 +0000 (15:28 +0000)]
Change clutter_glx_get_default_screen() to return a Screen pointer
Now that we have clutter_backend_get_screen_number(), we can directly
return the Screen pointer inside the GLX backend API.
Emmanuele Bassi [Thu, 19 Apr 2007 15:27:46 +0000 (15:27 +0000)]
Fix delete-event signal handler
Use the right marshaller signature (boolean:boxed) for the delete-event
signal handlers. Add a debug note in clutter_main_do_event() to track the
signal return. Test the delete-event handler inside test.c.
Emmanuele Bassi [Thu, 19 Apr 2007 15:26:54 +0000 (15:26 +0000)]
Add support for WM_PROTOCOLS to the ClutterStage window
Supporting WM_PROTOCOLS allows handling the WM_DELETE_WINDOW ClientMessage,
which is then relayed to the ClutterStage actor in form of the "delete-event"
signal. Returning TRUE will block the propagation and won't close the
stage window.
Emmanuele Bassi [Thu, 19 Apr 2007 15:26:28 +0000 (15:26 +0000)]
Add clutter_backend_get_n_screens()
Add clutter_backend_get_n_screens(), which returns the number of screens
manager by the ClutterBackend, and change clutter_backend_get_screen_number()
to return the screen number of the currently used screen; this is semantically
equivalent to clutter_glx_get_default_screen(), but leaves the door open for
a "screen" abstraction in Clutter, handled by the backend. Update the GLX
and EGL backends to retrieve and set the screen_num and n_screens members of
ClutterBackend using Xlib calls.
Emmanuele Bassi [Thu, 19 Apr 2007 15:26:17 +0000 (15:26 +0000)]
Add new ClutterBackend functions to the API documentation
Update the clutter-sections.txt to pick up the newly added functions.
Emmanuele Bassi [Thu, 19 Apr 2007 15:26:06 +0000 (15:26 +0000)]
Update the EGL backend code
Initialise the ClutterBackend object members when creating the
ClutterBackendEgl instance.
Emmanuele Bassi [Thu, 19 Apr 2007 15:25:53 +0000 (15:25 +0000)]
Add documentation to the new ClutterBackend API
Add API documentation for the new functions in ClutterBackend. Fixes
the resolution computation.
Emmanuele Bassi [Thu, 19 Apr 2007 15:25:34 +0000 (15:25 +0000)]
Add API for getting properties of the ClutterBackend
Add functions to retrieve some of the properties of the screen used by
the backend, like its dimensions (also physical, in millimeters); the
number of screens. Also add setters and getters for the double click
time (in milliseconds) and distance.
Emmanuele Bassi [Thu, 19 Apr 2007 15:25:19 +0000 (15:25 +0000)]
Update ChangeLog for SVN merge
Emmanuele Bassi [Thu, 19 Apr 2007 15:24:57 +0000 (15:24 +0000)]
Merge from stable: add XEMBED support
Add the XEMBED protocol support in the GLX backend, for embedding the
stage window into another X window. This allows cross-toolkit inclusion
and makes clutter-gtk possible.
Emmanuele Bassi [Thu, 19 Apr 2007 15:24:35 +0000 (15:24 +0000)]
Merge from stable: implement gravity in scale behaviour
Implement every ClutterGravity value inside the scale behaviour and make
the actors anchor to a gravity when scaling up and down.
Emmanuele Bassi [Thu, 19 Apr 2007 15:24:20 +0000 (15:24 +0000)]
Merge from stable: fix texture tiling
Revert to copying GdkPixbuf areas to correctly implement the texture
tiling. This fixes segmentation faults occurring with cards with a
small texture memory area.
Emmanuele Bassi [Thu, 19 Apr 2007 15:24:04 +0000 (15:24 +0000)]
Freeze notification queue when changing multiple properties.
Call g_object_freeze_notify() (and take a reference on the actor) inside
clutter_actor_request_size() so that the notifications get unqueued at the
end of the size request.
Emmanuele Bassi [Thu, 19 Apr 2007 15:22:49 +0000 (15:22 +0000)]
Add missing template files.
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:51 +0000 (16:50 +0000)]
Update ChangeLog for SVN merge
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:40 +0000 (16:50 +0000)]
Merge from stable: add XEMBED support
Add the XEMBED protocol support in the GLX backend, for embedding the
stage window into another X window. This allows cross-toolkit inclusion
and makes clutter-gtk possible.
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:34 +0000 (16:50 +0000)]
Merge from stable: implement gravity in scale behaviour
Implement every ClutterGravity value inside the scale behaviour and make
the actors anchor to a gravity when scaling up and down.
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:29 +0000 (16:50 +0000)]
Merge from stable: fix texture tiling
Revert to copying GdkPixbuf areas to correctly implement the texture
tiling. This fixes segmentation faults occurring with cards with a
small texture memory area.
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:23 +0000 (16:50 +0000)]
Freeze notification queue when changing multiple properties.
Call g_object_freeze_notify() (and take a reference on the actor) inside
clutter_actor_request_size() so that the notifications get unqueued at the
end of the size request.
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:15 +0000 (16:50 +0000)]
Add missing template files.
Emmanuele Bassi [Mon, 16 Apr 2007 10:26:11 +0000 (10:26 +0000)]
Update changelogs for SVN merge.
Emmanuele Bassi [Mon, 16 Apr 2007 10:26:05 +0000 (10:26 +0000)]
Return a ClutterBehaviour when splicing the b-spline behaviour.
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:53 +0000 (10:25 +0000)]
Add missing types and sections in the API documentation.
Fix the ClutterBehaviourBspline header file. Fix typos in
ClutterBehaviourRotate API documentation.
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:47 +0000 (10:25 +0000)]
Add ClutterBehaviourRotate section to the documentation.
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:41 +0000 (10:25 +0000)]
Add API documentation to ClutterBehaviourRotate. Also add properties
handling.
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:30 +0000 (10:25 +0000)]
Add ClutterBehaviourRotate
Add initial implementation of a rotate behaviour; this behaviour rotates
actors along a chosen axis, with a chosen direction, between two angles.
Missing: API documentation and the implementation for the angle boundaries
setters (double and fixed API).
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:25 +0000 (10:25 +0000)]
Hush compiler warning in ClutterBehaviourBspline.
Cast the knots to const ClutterKnot **; add type checks and use a variable
to hold the private pointer in order to kill off some of the indirections.
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:19 +0000 (10:25 +0000)]
Use g_return_val_if_fail() in clutter_behaviour_is_applied().
Return FALSE if the parameters fail the ISA check, instead of returning void.
Tomas Frydrych [Thu, 12 Apr 2007 12:42:07 +0000 (12:42 +0000)]
bezier spline behaviours
Matthew Allum [Sat, 7 Apr 2007 21:01:49 +0000 (21:01 +0000)]
2007-04-07 Matthew Allum <mallum@openedhand.com>
* clutter/glx/clutter-backend-glx.c:
Fix version check.
Tomas Frydrych [Thu, 29 Mar 2007 11:30:30 +0000 (11:30 +0000)]
fixed bug in fovy angle degree -> rad conversion, added glMultMatrixx() code
Tomas Frydrych [Thu, 29 Mar 2007 10:41:23 +0000 (10:41 +0000)]
fixed typo in configure.ac; fixed point perspective()
Matthew Allum [Tue, 27 Mar 2007 21:09:11 +0000 (21:09 +0000)]
2007-03-27 Matthew Allum <mallum@openedhand.com>
* clutter/cogl/Makefile.am:
* clutter/cogl/cogl.h:
* clutter/cogl/gles/Makefile.am:
* clutter/cogl/gles/cogl.c:
Begin poplulating cogl GLES code.
* configure.ac:
* clutter/egl/clutter-event-egl.c:
* clutter/egl/clutter-stage-egl.c:
* clutter/egl/clutter-stage-egl.h:
* clutter/egl/clutter-backend-egl.c:
* clutter/egl/clutter-backend-egl.h:
* clutter/egl/clutter-egl.h:
Add initial EGL/X backend work mostly ported from backend branch.
Builds but untested as yet.
* clutter/glx/clutter-stage-glx.c:
Only include XFixes Header if we have have it.
* clutter/clutter-behaviour.c: (clutter_behaviour_apply):
* clutter/clutter-behaviour.h:
Add clutter_behaviour_is_applied()
Emmanuele Bassi [Tue, 27 Mar 2007 11:20:59 +0000 (11:20 +0000)]
Remove the unused clutter_stage_flush() declaration, now that we
don't have the ClutterStage::flush vfunc anymore.
Emmanuele Bassi [Tue, 27 Mar 2007 10:46:40 +0000 (10:46 +0000)]
Fix 'Since' apidoc
Emmanuele Bassi [Tue, 27 Mar 2007 09:39:00 +0000 (09:39 +0000)]
Ignore the clutter/cogl directory when building documentation, as it
is private API; remove the now private ClutterBackend API; add the
ClutterPerspective API to the documentation.
Emmanuele Bassi [Tue, 27 Mar 2007 09:38:50 +0000 (09:38 +0000)]
Reimplement the clutter_glx_set_stage_foreign() function, used to
set an existing X window as the window for the main stage.
Emmanuele Bassi [Tue, 27 Mar 2007 09:38:43 +0000 (09:38 +0000)]
Declare clutter_perspective_get_type() in the stage header.
Emmanuele Bassi [Tue, 27 Mar 2007 09:38:35 +0000 (09:38 +0000)]
Add header and compiler guards.
Emmanuele Bassi [Tue, 27 Mar 2007 09:38:27 +0000 (09:38 +0000)]
Do not check if the ClutterStageGlx parent paint vfunc is set: we
set it ourselves.
Matthew Allum [Mon, 26 Mar 2007 23:18:39 +0000 (23:18 +0000)]
2007-03-27 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-feature.c:
Rejig ifdef's a little. Make drm vblanking Linux only.
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
Add a perspective boxed type.
* clutter/glx/clutter-stage-glx.c:
Add some FIXMEs
* clutter/Makefile.am:
* clutter/cogl/Makefile.am:
* clutter/cogl/cogl.h:
* clutter/cogl/gl/Makefile.am:
* clutter/cogl/gl/cogl.c:
* configure.ac:
Very initial work on 'cogl' GL/GLES abstraction/utility code.
Emmanuele Bassi [Sun, 25 Mar 2007 22:37:28 +0000 (22:37 +0000)]
Add API for getting the scale bounds from a scale behaviour instance.