Tomas Frydrych [Tue, 12 Jun 2007 11:42:29 +0000 (11:42 +0000)]
clutter_actor_project_point/vertices
Matthew Allum [Tue, 12 Jun 2007 10:36:28 +0000 (10:36 +0000)]
2007-06-12 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-alpha.c:
Remove stray g_debug.
* clutter/clutter-behaviour-rotate.c:
Register private class member.
* clutter/clutter-behaviour.c:
* clutter/clutter-behaviour.h:
Add applied and removed signals.
* Makefile.am:
* configure.ac:
* examples/Makefile.am:
* examples/README:
* examples/behave.c:
* examples/slider.c:
* examples/super-oh.c:
* examples/test-entry.c:
* examples/test-text.c:
* examples/test.c:
* tests/Makefile.am:
Remove examples, moving applicable code into tests.
Tomas Frydrych [Mon, 11 Jun 2007 15:47:26 +0000 (15:47 +0000)]
Fixed unsigned overflow in sine alpha functions
Emmanuele Bassi [Mon, 11 Jun 2007 09:02:40 +0000 (09:02 +0000)]
Update Clutter event structures to use the ModifierType enum
Emmanuele Bassi [Mon, 11 Jun 2007 09:02:35 +0000 (09:02 +0000)]
Update ChangeLog
Emmanuele Bassi [Mon, 11 Jun 2007 09:02:28 +0000 (09:02 +0000)]
Use a full enum for the modifier masks
Emmanuele Bassi [Sat, 9 Jun 2007 13:25:59 +0000 (13:25 +0000)]
Update ChangeLog for SVN repo
Emmanuele Bassi [Sat, 9 Jun 2007 13:20:22 +0000 (13:20 +0000)]
Compilation fixes
Emmanuele Bassi [Sat, 9 Jun 2007 13:20:13 +0000 (13:20 +0000)]
Document ClutterTimeoutPool
Add ClutterTimeoutPool API documentation to the source and to the
gtk-doc sections.
Emmanuele Bassi [Sat, 9 Jun 2007 13:20:06 +0000 (13:20 +0000)]
Add copyright license and make ClutterTimeoutPool public
ClutterTimeoutPool can be useful for manually animating without using
timelines or behaviours.
Emmanuele Bassi [Sat, 9 Jun 2007 13:20:00 +0000 (13:20 +0000)]
Use ClutterTimeoutPool in ClutterTimeline
Use a per-class timeout pool into ClutterTimeline so that every timeline
instance will use a pooled timeout function to execute the tick. This
should make multiple timelines not starve the main loop.
Emmanuele Bassi [Sat, 9 Jun 2007 13:19:52 +0000 (13:19 +0000)]
Add timeout pool source
A ClutterTimeoutPool is a source for the GLib main loop which pools
multiple timeout functions. The pool is always sorted so that the first
timeout to expire is also the first element of the pool; hence, extraction
is a constant time operation. This also makes the usage of multiple
timeouts at the same priority not compete for a timeslice of the main
loop, leading to starvation.
Matthew Allum [Thu, 7 Jun 2007 23:55:25 +0000 (23:55 +0000)]
2007-06-08 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c: (clutter_texture_get_pixbuf):
Remove stray printf.
Matthew Allum [Thu, 7 Jun 2007 23:51:53 +0000 (23:51 +0000)]
2007-06-08 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-actor.c:
* clutter/clutter-debug.h:
* clutter/clutter-main.c:
* clutter/clutter-main.h:
* clutter/clutter-private.h:
* clutter/clutter-timeline.c:
Add 'schedule' debug flag and new CLUTTER_TIMESTAMP macro.
* clutter/clutter-texture.c:
* clutter/clutter-texture.h:
* clutter/cogl/cogl.h:
* clutter/cogl/gl/cogl-defines.h:
* clutter/cogl/gles/cogl-defines.h:
* clutter/cogl/gl/cogl.c:
* clutter/cogl/gles/cogl.c:
Add initial experiemental YUV texture support.
Move texture rect size checks into cogl.
Better handle moving texture data from video -> system memory
(if support available).
Neil J. Patel [Thu, 7 Jun 2007 21:23:07 +0000 (21:23 +0000)]
Added a 'activate' signal, which is emitted when the 'Enter' key is pressed
Emmanuele Bassi [Thu, 7 Jun 2007 19:23:04 +0000 (19:23 +0000)]
Don't forget files when committing, stoopeed
Emmanuele Bassi [Thu, 7 Jun 2007 15:28:59 +0000 (15:28 +0000)]
2007-06-07 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/*: Move documentation from the templates into the
source code.
Emmanuele Bassi [Thu, 7 Jun 2007 14:41:35 +0000 (14:41 +0000)]
2007-06-07 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-container.[ch]: Add a generic actor container
interface, for actors to implement without subclassing ClutterGroup.
* clutter/clutter-group.[ch]: Make ClutterGroup implement the
ClutterContainer interface, and deprecate the colliding methods.
* clutter/clutter-layout.[ch]: Add extended layout interface.
Actors and containers requiring or honouring complex layout
management should implement this interface and provide at least
one of the available layout types: width for height, height for
width, natural size, iterative size request.
* clutter/clutter-label.c: A ClutterLabel requires height for
width layout management, so it implements the ClutterLayout
interface.
* clutter/Makefile.am: Add new files to the build.
* tests/*.c:
* examples/*.c: Update tests and examples code to use the
new ClutterContainer API instead of ClutterGroup.
Emmanuele Bassi [Thu, 7 Jun 2007 10:26:29 +0000 (10:26 +0000)]
Update ChangeLogs
Emmanuele Bassi [Thu, 7 Jun 2007 10:26:18 +0000 (10:26 +0000)]
Add delay property to ClutterTimeline
This patch adds a "delay" property to the timeline object. If set,
it will delay the start of the timeline of a number of milliseconds.
If the timeline is looping, the delay will be applied just the first
time and not for every loop.
Emmanuele Bassi [Thu, 7 Jun 2007 10:26:07 +0000 (10:26 +0000)]
Rename clutter_timeline_copy to clutter_timeline_clone
Usually, in OOP objects are cloned, while boxed types are copied; this
holds true in GObject, where GBoxed types have copy functions.
Matthew Allum [Wed, 6 Jun 2007 14:27:52 +0000 (14:27 +0000)]
2007-06-06 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-texture.c:
* clutter/clutter-texture.h:
Fix GError Args.
Neil J. Patel [Fri, 1 Jun 2007 17:18:21 +0000 (17:18 +0000)]
2007-06-01 Neil J. Patel <njp@o-hand.com>
* clutter/clutter-entry.c: (clutter_entry_set_property),
(clutter_entry_get_property), (clutter_entry_class_init),
(clutter_entry_init), (clutter_entry_set_text),
(clutter_entry_set_max_length):
* clutter/clutter-entry.h:
* examples/test-entry.c: (main):
Added a max-length property whihc limits the length of the text in the
entry.
Neil J. Patel [Fri, 1 Jun 2007 16:50:35 +0000 (16:50 +0000)]
Clipping within the entry class to stop it over-slipping its
boundries.
Text will move within the clip region to keep the cursor always
visible.
Added some padding to the left and right to make sure cursor is
always show.
Tomas Frydrych [Fri, 1 Jun 2007 16:20:57 +0000 (16:20 +0000)]
removed perspective matrix caching from ClutterStage
Neil J. Patel [Fri, 1 Jun 2007 15:58:17 +0000 (15:58 +0000)]
Added text-visibility, which will allow you to show all entered text
as a nominated charaecter ('*' is default).
Neil J. Patel [Fri, 1 Jun 2007 15:18:05 +0000 (15:18 +0000)]
Added signal to track cursor movements\nMoved the curor painting function into the class functions so it can be sub-classed
Tomas Frydrych [Fri, 1 Jun 2007 15:15:13 +0000 (15:15 +0000)]
make clutter_actor_get_transformed_point input relative to actor; feed actor depth into transform
Neil J. Patel [Fri, 1 Jun 2007 11:50:18 +0000 (11:50 +0000)]
Add a text-changed signal to the entry
Tomas Frydrych [Fri, 1 Jun 2007 11:43:53 +0000 (11:43 +0000)]
when calculating vertices, apply perspective before all other tranforms
Neil J. Patel [Fri, 1 Jun 2007 11:35:56 +0000 (11:35 +0000)]
Missed some info in Changelog
Neil J. Patel [Fri, 1 Jun 2007 11:34:40 +0000 (11:34 +0000)]
Added a function to deal with ClutterKeyEvents. Handles the majority
of entry-related keyboard keys. However modifiers still need to be
implemented.
Tomas Frydrych [Fri, 1 Jun 2007 11:30:52 +0000 (11:30 +0000)]
Initicalize stage perspective matrix for defaults
Tomas Frydrych [Fri, 1 Jun 2007 10:00:35 +0000 (10:00 +0000)]
Documentation updates
Tomas Frydrych [Thu, 31 May 2007 19:14:37 +0000 (19:14 +0000)]
fix up ChangeLog after merge
Tomas Frydrych [Thu, 31 May 2007 19:14:28 +0000 (19:14 +0000)]
include perspective transfore in calculation of vertices
Neil J. Patel [Thu, 31 May 2007 18:33:42 +0000 (18:33 +0000)]
Initial import of ClutterEntry, a text-entry actor
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.