profile/ivi/clutter.git
17 years agoIniticalize stage perspective matrix for defaults
Tomas Frydrych [Fri, 1 Jun 2007 11:30:52 +0000 (11:30 +0000)]
Initicalize stage perspective matrix for defaults

17 years agoDocumentation updates
Tomas Frydrych [Fri, 1 Jun 2007 10:00:35 +0000 (10:00 +0000)]
Documentation updates

17 years agofix up ChangeLog after merge
Tomas Frydrych [Thu, 31 May 2007 19:14:37 +0000 (19:14 +0000)]
fix up ChangeLog after merge

17 years agoinclude perspective transfore in calculation of vertices
Tomas Frydrych [Thu, 31 May 2007 19:14:28 +0000 (19:14 +0000)]
include perspective transfore in calculation of vertices

17 years agoInitial import of ClutterEntry, a text-entry actor
Neil J. Patel [Thu, 31 May 2007 18:33:42 +0000 (18:33 +0000)]
Initial import of ClutterEntry, a text-entry actor

17 years agofixed coordinance translation in clutter_actor_get_transformed_point
Tomas Frydrych [Thu, 31 May 2007 18:22:41 +0000 (18:22 +0000)]
fixed coordinance translation in clutter_actor_get_transformed_point

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
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.

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
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

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
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

17 years agoChanged behaviour so that a beginning angle of 0 would correspond to 12 o'clock
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

17 years agoadded missing clutter_actor_get_transformed_vertices prototype; removed related debug...
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

17 years agoFixed ellipse behaviour for negative angles; fixed double to int conversion for negat...
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()

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
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)

17 years ago2007-05-31 Matthew Allum <mallum@openedhand.com>
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.

17 years agoremoved ClutterSmoothstep type; renamed clutter_smoothstep_func to clutter_smoothstep...
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

17 years agofixed clutter cos functions; fixed tilt calculations in elliptic path
Tomas Frydrych [Tue, 29 May 2007 09:21:18 +0000 (09:21 +0000)]
fixed clutter cos functions; fixed tilt calculations in elliptic path

17 years agofix z_camera calcualtion in gles/cogl
Tomas Frydrych [Tue, 29 May 2007 07:26:32 +0000 (07:26 +0000)]
fix z_camera calcualtion in gles/cogl

17 years ago2007-05-28 Matthew Allum <mallum@openedhand.com>
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

17 years ago2007-05-28 Matthew Allum <mallum@openedhand.com>
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)

17 years ago2007-05-28 Matthew Allum <mallum@openedhand.com>
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.

17 years ago2007-05-25 Matthew Allum <mallum@openedhand.com>
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()

17 years agoClutterBehaviourEllipse api changes; z_camera calculation
Tomas Frydrych [Fri, 25 May 2007 12:07:24 +0000 (12:07 +0000)]
ClutterBehaviourEllipse api changes; z_camera calculation

17 years ago2007-05-25 Matthew Allum <mallum@openedhand.com>
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.

17 years agoremoved clutter_actor_get_abs_position_units() and clutter_actor_get_abs_size_units...
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

17 years agoupdated clutter-behaviour-ellipse.sgml template
Tomas Frydrych [Tue, 22 May 2007 09:32:09 +0000 (09:32 +0000)]
updated clutter-behaviour-ellipse.sgml template

17 years agoremoved ClutterReal; added clutter-units
Tomas Frydrych [Tue, 22 May 2007 09:31:40 +0000 (09:31 +0000)]
removed ClutterReal; added clutter-units

17 years agoadd missing clutter-real.h
Tomas Frydrych [Fri, 18 May 2007 07:32:41 +0000 (07:32 +0000)]
add missing clutter-real.h

17 years agoClutterReal type
Tomas Frydrych [Fri, 18 May 2007 07:30:06 +0000 (07:30 +0000)]
ClutterReal type

17 years agoUpdate ChangeLog (and fix last commit)
Emmanuele Bassi [Thu, 17 May 2007 12:07:17 +0000 (12:07 +0000)]
Update ChangeLog (and fix last commit)

17 years agoRemove ClutterLayout from the main branch
Emmanuele Bassi [Thu, 17 May 2007 12:03:43 +0000 (12:03 +0000)]
Remove ClutterLayout from the main branch

17 years agoUse clutter_base_init() in the init process
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.

17 years agoHush compiler warning
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.

17 years ago2007-05-17 Matthew Allum <mallum@openedhand.com>
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.

17 years agoadded clutter_exp_inc_func() and clutter_exp_dec_func()
Tomas Frydrych [Thu, 17 May 2007 07:09:24 +0000 (07:09 +0000)]
added clutter_exp_inc_func() and clutter_exp_dec_func()

17 years agoadded clutter_pow2x() and clutter_log2x()
Tomas Frydrych [Thu, 17 May 2007 07:09:18 +0000 (07:09 +0000)]
added clutter_pow2x() and clutter_log2x()

17 years agoAdd base initialisation function
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.

17 years agoadded clutter_sine_half_func()
Tomas Frydrych [Wed, 16 May 2007 13:53:39 +0000 (13:53 +0000)]
added clutter_sine_half_func()

17 years agoFixed clutter_sine_inc_func(); added clutter_sine_dec_func()
Tomas Frydrych [Wed, 16 May 2007 13:46:54 +0000 (13:46 +0000)]
Fixed clutter_sine_inc_func(); added clutter_sine_dec_func()

17 years agoimplemented smoothstep alpha function
Tomas Frydrych [Wed, 16 May 2007 11:32:50 +0000 (11:32 +0000)]
implemented smoothstep alpha function

17 years ago2007-05-16 Matthew Allum <mallum@openedhand.com>
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.

17 years agoremoved unnecessary CFX_MUL from clutter_actor_get_abs_position
Tomas Frydrych [Tue, 15 May 2007 15:41:30 +0000 (15:41 +0000)]
removed unnecessary CFX_MUL from clutter_actor_get_abs_position

17 years agoadded tilt parameter to clutter_behaviour_ellipse_new()
Tomas Frydrych [Tue, 15 May 2007 11:51:14 +0000 (11:51 +0000)]
added tilt parameter to clutter_behaviour_ellipse_new()

17 years ago2007-05-14 Matthew Allum <mallum@openedhand.com>
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.

17 years ago2007-05-10 Matthew Allum <mallum@openedhand.com>
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.

17 years agofixed gtkdoc comments for hls functions
Tomas Frydrych [Thu, 10 May 2007 11:50:07 +0000 (11:50 +0000)]
fixed gtkdoc comments for hls functions

17 years agoadded clutter_color_to/from_hlsx(); clobbered hue to 0..255 in clutter_colour_to...
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()

17 years ago2007-05-10 Matthew Allum <mallum@openedhand.com>
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.

17 years ago2007-05-05 Matthew Allum <mallum@openedhand.com>
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.

17 years ago2007-05-02 Matthew Allum <mallum@openedhand.com>
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.

17 years ago2007-05-02 Matthew Allum <mallum@openedhand.com>
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.

17 years agofixed sign problem in cogl_setup_vieport
Tomas Frydrych [Tue, 1 May 2007 20:13:15 +0000 (20:13 +0000)]
fixed sign problem in cogl_setup_vieport

17 years ago2007-05-01 Matthew Allum <mallum@openedhand.com>
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.

17 years agoUpdated changelog
Tomas Frydrych [Mon, 30 Apr 2007 08:39:38 +0000 (08:39 +0000)]
Updated changelog

17 years agoremoved debugging messages
Tomas Frydrych [Mon, 30 Apr 2007 08:39:35 +0000 (08:39 +0000)]
removed debugging messages

17 years agoadded --path command line argument to examples/behave; removed bspline example
Tomas Frydrych [Mon, 30 Apr 2007 08:39:31 +0000 (08:39 +0000)]
added --path command line argument to examples/behave; removed bspline example

17 years agocleaned up ClutterBehaviourEllipse api, added documentation
Tomas Frydrych [Mon, 30 Apr 2007 08:39:20 +0000 (08:39 +0000)]
cleaned up ClutterBehaviourEllipse api, added documentation

17 years agoclutter_sini(): fixed reduction to 0,2pi
Tomas Frydrych [Mon, 30 Apr 2007 08:39:15 +0000 (08:39 +0000)]
clutter_sini(): fixed reduction to 0,2pi

17 years agoinitial stab at elliptic path behaviour
Tomas Frydrych [Mon, 30 Apr 2007 08:39:11 +0000 (08:39 +0000)]
initial stab at elliptic path behaviour

17 years ago2007-04-28 Matthew Allum <mallum@openedhand.com>
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.

17 years ago2007-04-27 Matthew Allum <mallum@openedhand.com>
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.

17 years ago2007-04-26 Emmanuele Bassi <ebassi@openedhand.com>
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().

17 years ago2007-04-25 Emmanuele Bassi <ebassi@openedhand.com>
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.

17 years agoUpdating ChangeLog for SVN users
Emmanuele Bassi [Thu, 19 Apr 2007 15:28:17 +0000 (15:28 +0000)]
Updating ChangeLog for SVN users

17 years agoChange clutter_glx_get_default_screen() to return a Screen pointer
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.

17 years agoFix delete-event signal handler
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.

17 years agoAdd support for WM_PROTOCOLS to the ClutterStage window
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.

17 years agoAdd clutter_backend_get_n_screens()
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.

17 years agoAdd new ClutterBackend functions to the API documentation
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.

17 years agoUpdate the EGL backend code
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.

17 years agoAdd documentation to the new ClutterBackend API
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.

17 years agoAdd API for getting properties of the ClutterBackend
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.

17 years agoUpdate ChangeLog for SVN merge
Emmanuele Bassi [Thu, 19 Apr 2007 15:25:19 +0000 (15:25 +0000)]
Update ChangeLog for SVN merge

17 years agoMerge from stable: add XEMBED support
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.

17 years agoMerge from stable: implement gravity in scale behaviour
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.

17 years agoMerge from stable: fix texture tiling
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.

17 years agoFreeze notification queue when changing multiple properties.
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.

17 years agoAdd missing template files.
Emmanuele Bassi [Thu, 19 Apr 2007 15:22:49 +0000 (15:22 +0000)]
Add missing template files.

17 years agoUpdate ChangeLog for SVN merge
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:51 +0000 (16:50 +0000)]
Update ChangeLog for SVN merge

17 years agoMerge from stable: add XEMBED support
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.

17 years agoMerge from stable: implement gravity in scale behaviour
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.

17 years agoMerge from stable: fix texture tiling
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.

17 years agoFreeze notification queue when changing multiple properties.
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.

17 years agoAdd missing template files.
Emmanuele Bassi [Mon, 16 Apr 2007 16:50:15 +0000 (16:50 +0000)]
Add missing template files.

17 years agoUpdate changelogs for SVN merge.
Emmanuele Bassi [Mon, 16 Apr 2007 10:26:11 +0000 (10:26 +0000)]
Update changelogs for SVN merge.

17 years agoReturn a ClutterBehaviour when splicing the b-spline behaviour.
Emmanuele Bassi [Mon, 16 Apr 2007 10:26:05 +0000 (10:26 +0000)]
Return a ClutterBehaviour when splicing the b-spline behaviour.

17 years agoAdd missing types and sections in the API documentation.
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.

17 years agoAdd ClutterBehaviourRotate section to the documentation.
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:47 +0000 (10:25 +0000)]
Add ClutterBehaviourRotate section to the documentation.

17 years agoAdd API documentation to ClutterBehaviourRotate. Also add properties
Emmanuele Bassi [Mon, 16 Apr 2007 10:25:41 +0000 (10:25 +0000)]
Add API documentation to ClutterBehaviourRotate. Also add properties
handling.

17 years agoAdd ClutterBehaviourRotate
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).

17 years agoHush compiler warning in ClutterBehaviourBspline.
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.

17 years agoUse g_return_val_if_fail() in clutter_behaviour_is_applied().
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.

17 years agobezier spline behaviours
Tomas Frydrych [Thu, 12 Apr 2007 12:42:07 +0000 (12:42 +0000)]
bezier spline behaviours

17 years ago2007-04-07 Matthew Allum <mallum@openedhand.com>
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.

17 years agofixed bug in fovy angle degree -> rad conversion, added glMultMatrixx() code
Tomas Frydrych [Thu, 29 Mar 2007 11:30:30 +0000 (11:30 +0000)]
fixed bug in fovy angle degree -> rad conversion, added glMultMatrixx() code

17 years agofixed typo in configure.ac; fixed point perspective()
Tomas Frydrych [Thu, 29 Mar 2007 10:41:23 +0000 (10:41 +0000)]
fixed typo in configure.ac; fixed point perspective()

17 years ago2007-03-27 Matthew Allum <mallum@openedhand.com>
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()

17 years agoRemove the unused clutter_stage_flush() declaration, now that we
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.

17 years agoFix 'Since' apidoc
Emmanuele Bassi [Tue, 27 Mar 2007 10:46:40 +0000 (10:46 +0000)]
Fix 'Since' apidoc

17 years agoIgnore the clutter/cogl directory when building documentation, as it
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.

17 years agoReimplement the clutter_glx_set_stage_foreign() function, used to
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.