1. 25 Oct, 2010 23 commits
  2. 24 Oct, 2010 2 commits
  3. 22 Oct, 2010 3 commits
    • Neil Roberts's avatar
      cogl-texture-2d-sliced: Use the other backends for the slices · d5634e37
      Neil Roberts authored
      Instead of directly manipulating GL textures itself,
      CoglTexture2DSliced now works in terms of CoglHandles. It creates the
      texture slices using cogl_texture_new_with_size which should always
      end up creating a CoglTexture2D because the size should fit. This
      allows us to avoid replicating some code such as the first pixel
      mipmap tracking and it better enforces the separation that each
      texture backend is the only place that contains code dealing with each
      texture target.
    • Neil Roberts's avatar
      Support foreign textures in the texture-2d and rectangle backends · 61f2f1c0
      Neil Roberts authored
      This adds two new internal functions to create a foreign texture for
      the texture 2d and rectangle backends. cogl_texture_new_from_foreign
      will now use one of these backends directly if there is no waste
      instead of always using the sliced texture backend.
    • Damien Lespiau's avatar
      build: Dist cookbook.xsl · 7b7b655e
      Damien Lespiau authored
      cookbook.xsl was not in EXTRA_DIST, so the cookbook was not buildable
      with released tarballs.
  4. 20 Oct, 2010 1 commit
    • Emmanuele Bassi's avatar
      build: Go back to autoreconf · f709664f
      Emmanuele Bassi authored
      After testing and distchecking, I verified that autoreconf can still be
      used to rebuild the autotools setup.
      Thanks to Javier Jardón for the second pair of eyes.
  5. 19 Oct, 2010 8 commits
    • Emmanuele Bassi's avatar
      build: Remove unused Makefile.am · 68156c24
      Emmanuele Bassi authored
      We switched to a non-recursive layout, hence we don't need Makefile.am
      in the osx/ and fruity/ sub-directories.
    • Emmanuele Bassi's avatar
      conform: Remove unnecessary destroy() calls · ce3311df
      Emmanuele Bassi authored
      Unparented actors are owned by the Script instance, and if that goes
      away then the actors go away with it. The fact that we needed an
      explicit destroy() before was a hint of a memory management issue that I
      blissfully - and regretfully - ignored for the sake of a passing test
    • Emmanuele Bassi's avatar
      build: Add test wrappers to the main ignore file · b5bbdd6c
      Emmanuele Bassi authored
      They are generated at configure time, so it's a good idea to have them
      in the main ignore file instead of adding them to the built ignore files
      under tests.
    • Emmanuele Bassi's avatar
      build: Show whether we have XComposite · e8082553
      Emmanuele Bassi authored
      Since we're doing it for other optional X11 extensions as well.
    • Emmanuele Bassi's avatar
      x11: Protect XComposite API calls · dd2f55c6
      Emmanuele Bassi authored
      Since we allow compiling Clutter without the XComposite extension
      available, we need to protect the calls to the XComposite API with
      the guards provided by the configure script.
    • Emmanuele Bassi's avatar
      script: Fix the memory management · 21eb4909
      Emmanuele Bassi authored
      Currently, the memory management in ClutterScript is overly complicated.
      The basic design tenet should be:
        - ClutterScript owns a reference on every object it creates
      This allows the Script instance to reliably handle the lifetime of the
      instances from creation to disposal.
      In case of unmerge, the Script instance should destroy any Actor
      instance, except for the Stage, and release the reference it owns. The
      Stage is special because it's really owned by Clutter itself, and it
      should be destroyed explicitly.
      When disposing the Script itself, it should just release the reference;
      any parented actor, or any InitiallyUnowned instance, will then be
      managed by the parent object, as they should, while every GObject
      instance will go away, as documented.
      This commit is based on a patch by:
        Henrik Hedberg <hhedberg@innologies.fi>
    • Emmanuele Bassi's avatar
      debug: Do not use '&' in the messages · 20a359cc
      Emmanuele Bassi authored
      Use ':' as a separator between G_STRLOC and the debug message, like we
      do for warnings.
    • Emmanuele Bassi's avatar
      Remove unused variables · 78d4073f
      Emmanuele Bassi authored
  6. 18 Oct, 2010 3 commits
    • Damien Lespiau's avatar
      build: Fix CLUTTER_EGL_BACKEND definition for eglnative and cex100 · 1c9dcdae
      Damien Lespiau authored
      CLUTTER_EGL_BACKEND is used to define a special EGL native backend to
      use and was introduced for the CEX100 EGL backend. Unfortunately
      CLUTTER_EGL_BACKEND was defined to "cex100" for eglnative, which is
      obviously wrong.
      The paches defines the right values for CLUTTER_EGL_BACKEND for the
      eglnative and cex100 flavours.
    • Damien Lespiau's avatar
      build: Fix EGL/CEX100 build with GLES2 · 32270730
      Damien Lespiau authored
      Some headers files have been renamed or removed and the gles(2) did not
      compile anymore, fix that.
    • Emmanuele Bassi's avatar
      cairo-texture: Allow overriding the surface creation · 0f613ea1
      Emmanuele Bassi authored
      By using a new signal, ::create-surface (width, height), it should be
      possible for third party code and sub-classes to override the default
      surface creation code in CairoSurface.
      This commit takes a bit of the patch from:
      which cleans up CairoTexture; the idea, mutuated from that bug, is that
      the CairoTexture actor checks whether the surface it has it's an image
      one, and in that case it uses a Cogl texture as the backing store. In
      case the surface is not an image one we assume that the surface itself
      has some way of updating the GL state and flush the surface.