1. 02 Feb, 2014 1 commit
    • Guillem Jover's avatar
      build: Set a default aux dir · dff63a23
      Guillem Jover authored
      This moves all the auxiliary build scripts into a build-aux directory,
      and fixes an issue with configure being unable to find scripts because
      it tries to change to an empty directory to get the absolute path,
      which results in getting the path to the user's home directory instead.
      
      ,--
      checking whether build environment is sane... yes
      /bin/bash: /home/user/missing: No such file or directory
      configure: WARNING: 'missing' script is too old or missing
      `---
      Signed-off-by: Guillem Jover's avatarGuillem Jover <guillem@hadrons.org>
      dff63a23
  2. 01 Feb, 2014 16 commits
  3. 24 Jan, 2014 1 commit
  4. 22 Jan, 2014 1 commit
  5. 20 Jan, 2014 2 commits
  6. 02 Jan, 2014 1 commit
  7. 01 Jan, 2014 1 commit
  8. 17 Dec, 2013 1 commit
  9. 08 Dec, 2013 1 commit
    • Neil Roberts's avatar
      tests: Test whether a simple EGL main loop uses too many buffers · 40c0c3f9
      Neil Roberts authored
      This adds a test that tries to simulate a simple game loop that would
      be like this:
      
      while (1) {
              draw_something();
              eglSwapBuffers();
      }
      
      In this case the test is relying on eglSwapBuffers to throttle to a
      sensible frame rate.
      
      The test then verifies that only 2 EGL buffers are used. This is done
      via a new request and event in the wayland-test protocol.
      
      Currently this causes 3 buffers to be created because the release
      event generated by the swap buffers is not processed by Mesa until it
      blocks for the frame complete event in the next swap buffers call, but
      that is too late.
      
      This can be fixed in Mesa by issuing a sync request after the swap
      buffers and blocking on it before deciding whether to allocate a new
      buffer.
      40c0c3f9
  10. 04 Dec, 2013 3 commits
  11. 03 Dec, 2013 1 commit
    • Pekka Paalanen's avatar
      os: use posix_fallocate in creating sharable buffers · 5b4ddbc1
      Pekka Paalanen authored
      If posix_fallocate is available, use it instead of ftruncate. Unlike
      ftruncate, when posix_fallocate succeeds, it guarantees that you cannot
      run out of disk space, when later writing to the mmap()'ed file.
      
      With posix_fallocate, if os_create_anonymous_file() succeeds, the
      program cannot get a SIGBUS later from accessing this file via mmap. If
      there is insufficient disk space, the function fails and errno is set to
      ENOSPC.
      
      This is useful on systems, that limit the available buffer space by
      having XDG_RUNTIME_DIR on a small tmpfs.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      5b4ddbc1
  12. 02 Dec, 2013 1 commit
  13. 24 Nov, 2013 2 commits
  14. 23 Nov, 2013 1 commit
  15. 08 Nov, 2013 1 commit
  16. 28 Oct, 2013 2 commits
  17. 25 Oct, 2013 3 commits
  18. 23 Oct, 2013 1 commit