1. 31 Mar, 2011 2 commits
    • Emmanuele Bassi's avatar
      po: Update the PO files · 7ffeaef0
      Emmanuele Bassi authored
    • Emmanuele Bassi's avatar
      po: Track Clutter's POT file in Git · 5e8b491d
      Emmanuele Bassi authored
      If no POT file is found, gettext will automatically create it; this, in
      turn, will cause msgmerge to be run, and that will cause the PO files to
      be touched and changed at the very first call for `make`.
      Having the PO files with unstaged changes will ultimately lead to merge
      issues will pulling from the remote repository between releases - unless
      `git checkout -f` is called prior to `git pull -r`.
      I think intltool only has some rule to avoid that from happening unless
      on dist, but I have no intention of dragging intltool into the build of
      a library that barely has localized messages.
  2. 30 Mar, 2011 1 commit
  3. 29 Mar, 2011 3 commits
  4. 28 Mar, 2011 1 commit
  5. 24 Mar, 2011 1 commit
  6. 22 Mar, 2011 3 commits
  7. 21 Mar, 2011 2 commits
  8. 18 Mar, 2011 1 commit
  9. 17 Mar, 2011 5 commits
    • Elliot Smith's avatar
      docs: Remove checks for whether an effect is disabled · 57a5f229
      Elliot Smith authored
      pre_paint() and post_paint() implementations don't need
      to check whether an effect is disabled: Clutter will
      not apply an effect unless it is enabled.
      So remove code which checks whether the effect is
      enabled or disabled from the example applications and the
    • Elliot Smith's avatar
      docs: Add recipe about implementing a ClutterEffect · b5af8fbf
      Elliot Smith authored
      Add a recipe showing how to implement two simple
      effects, based on ClutterEffect: an always gray background,
      and a border with configurable width and color.
      Also explains the necessity to queue a redraw on
      the associated actor if the effect's properties change,
      and shows how to implement that.
      The example gives the GObject code for both effects,
      as well as an example application showing how to use them.
      The example also demonstrates how to disable/enable an effect,
      making the border round an actor togglable.
    • Elliot Smith's avatar
      docs: Add example of setting background color with ClutterEffect · 5732b118
      Elliot Smith authored
      Add example of a simple background color effect applied via
      pre_paint() implementation in a ClutterEffect subclass.
      This is a simple effect with an incomplete GObject
      implementation (no properties, setters or getters)
      to make it as easy to follow as possible.
    • Elliot Smith's avatar
      docs: Add example of a border added through ClutterEffect · a81dbcf4
      Elliot Smith authored
      Add a basic example showing how to implement a ClutterEffect
      post_paint() function to overlay a highlight border over a
      rectangular actor.
    • Neil Roberts's avatar
      clutter-offscreen-effect: Paint with 'nearest' texture filter mode · 1d14e746
      Neil Roberts authored
      The texture containing the image for the redirected actor will always
      be painted at a 1:1 texel:pixel ratio so there's no need to use linear
      filtering. This should also counteract some of the effects of rounding
      errors when calculating the geometry for the quad.
  10. 16 Mar, 2011 10 commits
    • Emmanuele Bassi's avatar
      docs: Update RELEASING · 6910be9b
      Emmanuele Bassi authored
    • Neil Roberts's avatar
      mingw-fetch-dependencies.sh: Add a wrapper for pkg-config · f23a7583
      Neil Roberts authored
      On a Fedora system (and maybe others) there is a wrapper script called
      i686-pc-mingw32-pkg-config. This script unsets the PKG_CONFIG_PATH
      variable and then sets the PKG_CONFIG_LIBDIR variable so that it won't
      pick up the native system .pc files. This breaks cross compiling in
      mingw-fetch-dependencies.sh because it ends up removing its attempts
      to set a local search path.
      To fix this, the mingw-fetch-dependencies script now generates its own
      wrapper script which instead sets PKG_CONFIG_LIBDIR to the local
      clutter-cross prefix and then runs the original pkg-config program
      from the search path. This should have the same benefit of preventing
      it from finding native system .pc files on systems that don't provide
      a cross pkg-config. The cross compiling for json-glib and the
      recommend args to pass to configure when building clutter are updated
      to set the PKG_CONFIG varible to point to this wrapper script.
    • Robert Bragg's avatar
      win32: remove env.sh generated by mingw-fetch-dependencies.sh · 4dc8ccf9
      Robert Bragg authored
      Since there is very little now left in the env.sh file generated by
      mingw-fetch-dependencies.sh it can be removed. What remained (The
      CFLAGS="-mms-bitfields" and PKG_CONFIG_PATH=$ROOT_DIR/lib/pkgconfig) can
      simply be passed explicitly when calling ./configure.
    • Robert Bragg's avatar
      win32: remove deprecated -mno-cygwin options from env.sh · 5faf7666
      Robert Bragg authored
      This removes the use of -mno-cygwin from our generated env.sh for cross
      compiling with mingw.
      I don't know that anyone is building clutter under cygwin, and our
      BuildingClutterOnWindows wiki page only describes building with msys not
      cygwin so I think its fair to assume that this build configuration is
      untested and thus not supported by us currently. Since the -mno-cygwin
      option is deprecated it could well be that there is a better
      cross-compilation solution available for cygwin these days if you want
      to build programs that don't depend on cygwin libraries.
    • Robert Bragg's avatar
      win32: Strip unneeded flags from env.sh · 861bda91
      Robert Bragg authored
      This remove CXXFLAGS since we don't have any c++ code in Clutter and
      also removes the redundant -L$ROOT_DIR/lib from LDFLAGS and
      -I$ROOT_DIR/include from CPPFLAGS and CFLAGS. (These should get added by
    • Robert Bragg's avatar
      win32: Add blurb at end of mingw helper script · 6340f3a2
      Robert Bragg authored
      This adds some blurb at the end the mingw-fetch-dependencies.sh script
      that gives an example of how to go on and build clutter after fetching
      all dependencies.
    • Robert Bragg's avatar
      win32: support building json-glib in mingw script · 130135a0
      Robert Bragg authored
      Since Tor does not currently provide win32 binaries for json-glib we
      need to cross compile it before we can build clutter. This extends
      mingw-fetch-dependencies.sh so it can fetch, unpack and cross-compile
      json-glib into the same prefix as the binary dependencies.
    • Robert Bragg's avatar
      win32: don't set CC,CPP,AR,NM,LD etc in mingw env.sh · 820765ee
      Robert Bragg authored
      It shouldn't be necessary to explicitly override CC,CPP,AR,NM,LD etc in
      the env.sh helper script that mingw-fetch-dependencies.sh generates.
      Clutter's ./configure script should figure all of those out for us.
    • Robert Bragg's avatar
      win32: remove automatic build option from mingw script · ed025f1c
      Robert Bragg authored
      This removes the "Do you want to checkout and build Clutter?" option
      from the mingw-cross-compile.sh script and renames the script
      As it stands the mingw-cross-compile.sh script isn't enough to fetch all
      the dependencies for building clutter, since Tor doesn't provide binaries
      for json-glib so the option to checkout and build clutter can't work.
      Also it doesn't seem ideal to clone a fresh clutter repo instead of
      being able to compile the source of the current repo.
    • Robert Bragg's avatar
      win32: mkdir -p win32 needed for out of tree builds · e51749d3
      Robert Bragg authored
      if cross compiling clutter using mingw using an out of tree build
      directory then a pre-requisite for creating the resources.o file
      containing the transparent cursor is for the win32 directory itself to
      be created at $(top_builddir)/clutter/win32.
  11. 14 Mar, 2011 5 commits
  12. 11 Mar, 2011 1 commit
  13. 10 Mar, 2011 4 commits
    • Robert Bragg's avatar
      culling: Don't cull actors not being painted on the stage · 49ca9e8f
      Robert Bragg authored
      Previously we were applying the culling optimization to any actor
      painted without considering that we may be painting to an offscreen
      framebuffer where the stage clip isn't applicable.
      For now we simply expose a getter for the current draw framebuffer
      and we can assume that a return value of NULL corresponds to the
      Note: This will need to be updated as stages start to be backed by real
      CoglFramebuffer objects and so we won't get NULL in those cases.
    • Robert Bragg's avatar
      debug: Add more CLIPPING debug notes · 5ce13b58
      Robert Bragg authored
      To give quick visibility to the things going on relating to clipping and
      culling this adds some more CLIPPING debug notes to clutter-actor.c and
    • Robert Bragg's avatar
      culling: check volume->is_empty before ->is_complete · 3303b081
      Robert Bragg authored
      As documented in cogl-pipeline-private.h, there is a precedence to the
      ClutterPaintVolume bitfields that should be considered whenever we
      implement code that manipulates PaintVolumes...
      Firstly if ->is_empty == TRUE then the values for ->is_complete and
      ->is_2d are undefined, so we should typically check ->is_empty as the
      first priority.
      This fixes a bug in _clutter_paint_volume_cull() whereby we were
      checking pv->is_complete before checking pv->is_empty which was
      resulting in assertions for actors with no size.
    • Jasper St. Pierre's avatar
      cogl-clip-state: Adapt to experimental cogl2 API. · 0b9aa1fa
      Jasper St. Pierre authored
      The current clip state implementation couldn't be used in
      conjunction with the CoglPath experimental API.
      http://bugzilla.clutter-project.org/show_bug.cgi?id=2594Signed-off-by: default avatarNeil Roberts <neil@linux.intel.com>
  14. 09 Mar, 2011 1 commit
    • Neil Roberts's avatar
      cogl-path: Optimise paths that are just a rectangle · 9cba5b83
      Neil Roberts authored
      Drawing and clipping to paths is generally quite expensive because the
      geometry has to be tessellated into triangles in a single VBO which
      breaks up the journal batching. If we can detect when the path
      contains just a single rectangle then we can instead divert to calling
      cogl_rectangle which will take advantage of the journal, or by pushing
      a rectangle clip which usually ends up just using the scissor.
      This patch adds a boolean to each path to mark when it is a
      rectangle. It gets cleared whenever a node is added or gets set to
      TRUE whenever cogl2_path_rectangle is called. This doesn't try to
      catch cases where a rectangle is composed by cogl_path_line_to and
      cogl_path_move_to commands.