Skip to content
  1. Dec 28, 2011
  2. Dec 20, 2011
  3. Dec 19, 2011
  4. Dec 18, 2011
  5. Dec 15, 2011
  6. Dec 14, 2011
    • Neil Roberts's avatar
      Add an example combining SDL and Cogl · 8304ad89
      Neil Roberts authored
      
      
      This adds a simple example based on the hello example but that forces
      the SDL winsys and listens for mouse motion events to move the
      triangle.
      
      Reviewed-by: default avatarRobert Bragg <robert@linux.intel.com>
      8304ad89
    • Neil Roberts's avatar
      Update the SDL winsys · bdcbb8af
      Neil Roberts authored
      
      
      The SDL winsys was missing a few minor features, such as the
      implementation. This patch adds that in.
      
      Reviewed-by: default avatarRobert Bragg <robert@linux.intel.com>
      bdcbb8af
    • Neil Roberts's avatar
      cogl-texture-2d: Fix checking for the EGL winsys · 616d27f1
      Neil Roberts authored
      
      
      CoglTexture2D had an assert to verify that the EGL winsys was being
      used. This doesn't make any sense any more because the EGL winsys
      can't be used directly but instead it is just a base winsys for the
      platform winsys's. To fix this this patch adds a set of 'criteria'
      flags to each winsys, one of which is 'uses EGL'. CoglTexture2D can
      use this to determine if the winsys is supported.
      
      Eventually we might want to expose these flags publically so that an
      application can select a winsys based on certain conditions. For
      example, an application may need a winsys that uses X or EGL but
      doesn't care exactly which one it is.
      
      Reviewed-by: default avatarRobert Bragg <robert@linux.intel.com>
      616d27f1
    • Neil Roberts's avatar
      cogland: Fix crash when frame callback is destroyed before emitted · 9000f833
      Neil Roberts authored
      
      
      If a frame callback is destroyed before it is invoked then the struct
      would be freed but it would not be removed from the array of callbacks
      so when cogland later tried to emit the callback it would crash. This
      patch instead stores the callbacks in a GQueue with embedded list
      nodes so that they can be removed from the list in the resource
      destructor. That way it doesn't matter how the resource is destroyed,
      it will still get removed from the list.
      
      Reviewed-by: default avatarRobert Bragg <robert@linux.intel.com>
      9000f833
    • Neil Roberts's avatar
      cogland: Update to the new shell interface · d6b03ab4
      Neil Roberts authored
      
      
      Wayland has changed so that the shell interface now only has one
      function which returns a shell surface for the surface. This patch
      makes it create a dummy service in the same way that the wayland demo
      compositor does. The implementation of the shell_surface_interface for
      that dummy service is all no-ops.
      
      Reviewed-by: default avatarRobert Bragg <robert@linux.intel.com>
      d6b03ab4
    • Neil Roberts's avatar
      cogland: Remove tabs · 184023bd
      Neil Roberts authored
      
      
      Tabs make me sad.
      
      Reviewed-by: default avatarRobert Bragg <robert@linux.intel.com>
      184023bd
    • Neil Roberts's avatar
      Rename the EGL_X11 winsys to EGL_XLIB · ff5bfc4a
      Neil Roberts authored
      
      
      Eventually we might want to have an XCB-based EGL winsys. We already
      have xlib-specific API in CoglRenderer (eg, to set a foreign display)
      so the application needs to be able to specifically select between XCB
      and XLIB.
      
      This also removes the POWERVR part while renaming
      COGL_HAS_EGL_PLATFORM_POWERVR_X11_SUPPORT to
      COGL_HAS_EGL_PLATFORM_XLIB_SUPPORT because the winsys is equally
      applicable to Mesa.
      
      Reviewed-by: default avatarRobert Bragg <robert@linux.intel.com>
      ff5bfc4a
  7. Dec 13, 2011
  8. Dec 12, 2011