1. 31 Jan, 2011 2 commits
  2. 24 Jan, 2011 2 commits
  3. 21 Jan, 2011 2 commits
    • Emmanuele Bassi's avatar
      Enable XInput support by default · 001f8487
      Emmanuele Bassi authored
      Since we have a decent XI1 and XI2 implementation, now, we should turn
      the support for XInput on by default.
      
      The actual implementation to be used at run-time is still left to be
      decided by the user.
      001f8487
    • Emmanuele Bassi's avatar
      event/x11: Rework the way we translate X11 events · 1b1e77b4
      Emmanuele Bassi authored
      This is a lump commit that is fairly difficult to break down without
      either breaking bisecting or breaking the test cases.
      
      The new design for handling X11 event translation works this way:
      
        - ClutterBackend::translate_event() has been added as the central
          point used by a ClutterBackend implementation to translate a
          native event into a ClutterEvent;
      
        - ClutterEventTranslator is a private interface that should be
          implemented by backend-specific objects, like stage
          implementations and ClutterDeviceManager sub-classes, and
          allows dealing with class-specific event translation;
      
        - ClutterStageX11 implements EventTranslator, and deals with the
          stage-relative X11 events coming from the X11 event source;
      
        - ClutterStageGLX overrides EventTranslator, in order to
          deal with the INTEL_GLX_swap_event extension, and it chains up
          to the X11 default implementation;
      
        - ClutterDeviceManagerX11 has been split into two separate classes,
          one that deals with core and (optionally) XI1 events, and the
          other that deals with XI2 events; the selection is done at run-time,
          since the core+XI1 and XI2 mechanisms are mutually exclusive.
      
      All the other backends we officially support still use their own
      custom event source and translation function, but the end goal is to
      migrate them to the translate_event() virtual function, and have the
      event source be a shared part of Clutter core.
      1b1e77b4
  4. 19 Jan, 2011 1 commit
    • Emmanuele Bassi's avatar
      build: Generate an instealled config header · 94b905b9
      Emmanuele Bassi authored
      Clutter has some platform-specific API that is accessible only if the
      right backend has been compiled in. Third party applications that wish
      to be portable across backends might want to use defines and other
      pre-processor tricks to determine header inclusion and API usage.
      
      While Clutter has an internal set of symbols it can use, third party
      applications don't have the luxury of being able to access the config.h
      generated by Clutter's configure script.
      
      For this reason, Clutter should install a configuration header with a
      series of namespaced defines that can be picked up by applications and
      other third party code.
      94b905b9
  5. 11 Jan, 2011 2 commits
  6. 10 Jan, 2011 1 commit
  7. 18 Dec, 2010 1 commit
    • Emmanuele Bassi's avatar
      build: Remove Cogl2 reference from the build scripts · b9f7ef11
      Emmanuele Bassi authored
      Keeping the Cogl 2.0 API reference in the build is getting far more
      troublesome than it's worth.
      
      It's breaking distcheck far too often, and it makes it impossible to
      rebuild the build environment from tarballs - which is something that
      some distributions (namely: the Debian-based ones, but not limited to
      them) do in order to change build scripts using their own rules.
      b9f7ef11
  8. 17 Dec, 2010 3 commits
  9. 09 Dec, 2010 1 commit
  10. 30 Nov, 2010 2 commits
    • Damien Lespiau's avatar
      evdev: Enable the compilation of the evdev backend for eglnative · 9ba5447c
      Damien Lespiau authored
      Not tested (but checked that it compiles).
      
      There's no reason to only enable the check for the cex100. Hopefully
      should work.
      
      We make sure not to enable both the evdev and the tslib backend at the
      same time as the DeviceManager is a singleton and we can't have both
      subclasses at the same time for now.
      9ba5447c
    • Damien Lespiau's avatar
      evdev: First stab at an evdev backend · c6493885
      Damien Lespiau authored
      This backend is a event backend that can be enabled for EGL (for now).
      It uses udev (gudev) to query input devices on a linux system, listens to
      keyboard events from input devices and xkbcommon to translate raw key
      codes into key keysyms.
      
      This commit only supports key events, more to follow.
      c6493885
  11. 29 Nov, 2010 2 commits
  12. 20 Nov, 2010 2 commits
  13. 17 Nov, 2010 1 commit
    • Emmanuele Bassi's avatar
      build: Cogl-2.0 API reference should be conditionally built · b5534615
      Emmanuele Bassi authored
      Building the API reference for Cogl 2.0 is fairly confusing: the API
      itself is experimental and for internal use only -- though we want
      feedback for it.
      
      Let's build the API reference only when Clutter is configured with a
      specific configure switch, so that people that wish to give feedback on
      the API and its documentation can do it.
      b5534615
  14. 11 Nov, 2010 2 commits
    • Robert Bragg's avatar
      docs: Adds an initial cogl-2.0 reference manual · 21c74030
      Robert Bragg authored
      So we can keep track of the experimental progress of Cogl 2.0 features
      this adds a standalone Cogl 2.0 Reference Manual which doesn't cover
      the deprecated 1.x symbols and removes the need for a "Cogl
      experimental API" chapter since those sections now make up the main
      table of contents.
      21c74030
    • Robert Bragg's avatar
      config.h: define COGL_ENABLE_EXPERIMENTAL_2_0_API · 8efb48ec
      Robert Bragg authored
      By defining COGL_ENABLE_EXPERIMENTAL_2_0_API in config.h we can ensure
      that all internal clutter and cogl code can use the Cogl 2.0 API and by
      not using AM_CPPFLAGS we avoid having other tools such as glib-mkenums
      and the gir-scanner from inadvertently using the define also.
      8efb48ec
  15. 07 Nov, 2010 1 commit
    • Emmanuele Bassi's avatar
      build: Re-instate profile builds · ef7f729c
      Emmanuele Bassi authored
      The profiling support was broken - probably during the restructuring of
      the build environment, but I'm too lazy to bisect that.
      
      The fix is trivial, and everything works as it should.
      ef7f729c
  16. 05 Nov, 2010 1 commit
    • Neil Roberts's avatar
      Replace the disable-npots tool with a COGL_DEBUG option · 8112bfc4
      Neil Roberts authored
      Previously in the tests/tools directory we build a disable-npots
      library which was used as an LD_PRELOAD to trick Cogl in to thinking
      there is no NPOT texture extension. This is a little awkward to use so
      it seems much simpler to just define a COGL_DEBUG option to disable
      npot textures.
      8112bfc4
  17. 25 Oct, 2010 4 commits
  18. 19 Oct, 2010 1 commit
  19. 18 Oct, 2010 4 commits
  20. 14 Oct, 2010 1 commit
    • Kristian Høgsberg's avatar
      Add wayland backend · cb5582c4
      Kristian Høgsberg authored
      This adds a clutter backend for running under the wayland window system.
      Initial cogl framebuffer integration by Robert Bragg.
      cb5582c4
  21. 05 Oct, 2010 1 commit
  22. 04 Oct, 2010 2 commits
  23. 03 Oct, 2010 1 commit
    • Emmanuele Bassi's avatar
      build: Only generate bzip2 tarballs · 2ed2b7eb
      Emmanuele Bassi authored
      Don't generate both bz2 and gz tarballs: we only use the former anyway,
      and the latter just adds time for distcheck to complete.
      
      The gz tarball will be generated by the remote installation scripts when
      publishing the release.
      2ed2b7eb