1. 10 Feb, 2015 2 commits
    • Kenneth Moreland's avatar
      Separate out OpenGL and non-OpenGL tests · a7aa5efd
      Kenneth Moreland authored
      Previously, if OpenGL was enabled all tests would create a render window
      even if it was never used because they were all crammed into the same
      executable that initalized with the OpenGL context. This is an artifact
      from early versions of IceT that always required OpenGL.
      Creating an OpenGL context shouldn't change the results of the test, but
      it was annoying to have a bunch of windows created for every test. This
      change separates out the OpenGl tests from those that don't use it so
      that most of the tests now just run in the background.
    • Kenneth Moreland's avatar
      Make test file name separators consistent · a9baf8fa
      Kenneth Moreland authored
      Some of the files in the tests directory used a dash to separate words
      (e.g. test-config.h and test-util.h) whereas others used an underscore
      (e.g. test_codes.h and mpi_comm.h). Renamed the files such that they all
      use underscores, which matches better the filenames used elsewhere.
  2. 05 Feb, 2015 2 commits
    • Kenneth Moreland's avatar
      Remove reporting of no error in tests · 33d017c8
      Kenneth Moreland authored
      At the end of each test each process reported whether it got an IceT or
      OpenGL error including if it is no error. That can be helpful in part to
      know that the process successfully completed, but for tests on very
      large processes it generated excessively large log files. Instead
      suppress the report if there is no error.
    • Kenneth Moreland's avatar
      Make max image split study more complete in SimpleTiming. · 90eede98
      Kenneth Moreland authored
      The usage of the -max-image-split-study of SimpleTiming states that it
      tries doubling the max split. For some reason I implemented it by
      multipling by the magic k value each time. Change it so it actually just
      doubles the max image split and does a more complete search.
  3. 04 Feb, 2015 1 commit
    • Kenneth Moreland's avatar
      Collect timing in SimpleTiming before printing · 22ce5549
      Kenneth Moreland authored
      Previously, the root process would print the log at the end of
      SimpleTimingDoRender. The problem is that in the scaling studies the
      world communicator is partitioned so that there are multiple root
      processes running at once. I've been having trouble with log entries
      stomping over each other.
      This change holds all the timings in a buffer rather than print them.
      After scaling studies are complete, all log entries are collected to the
      world root and printed out there.
  4. 03 Feb, 2015 1 commit
  5. 27 Jan, 2015 1 commit
  6. 22 Jan, 2015 2 commits
    • Kenneth Moreland's avatar
      Enable pre-rendered images in SimpleTiming. · a80351d7
      Kenneth Moreland authored
      The rendering in SimpleTiming is not realistic, so it does not make much
      sense to measure it. Instead, by default prerender the image and time
      only how long it takes IceT to composite the image.
    • Kenneth Moreland's avatar
      Adjust size of viewport when rendering tiles · cf97fd19
      Kenneth Moreland authored
      In the RandomTransform test when rendering pre-rendered images, we were
      previously always rendering to the entire window size. However, when
      trying tiled displays, which break up the display, the actual global
      display can be a little smaller than that due to roundoff in the
      division. This change sets the viewport to be exactly the size of the
      global viewport.
  7. 21 Jan, 2015 1 commit
    • Kenneth Moreland's avatar
      Randomly test pre rendered compositing. · 22628722
      Kenneth Moreland authored
      Modify the RandomTransform test to try a composite using a pre-rendered
      image in addition to using rendering callbacks (through the OpenGL
      layer). This should be better about catching bugs like the previously
      fixed one.
  8. 20 Jan, 2015 1 commit
  9. 19 Jan, 2015 1 commit
    • Kenneth Moreland's avatar
      Add ability to do factor-of-2 scaling studies. · adbc57b0
      Kenneth Moreland authored
      SimpleTiming has an option to try all processor combinations that are
      powers of 2 up to the job size. Jobs of small size are run concurrently,
      which should speed the overall job time but will probably result in some
      communication contention.
  10. 26 Sep, 2014 1 commit
  11. 25 Sep, 2014 1 commit
  12. 17 Sep, 2014 2 commits
    • Kenneth Moreland's avatar
      Support GLFW library for tests. · 4a81a05b
      Kenneth Moreland authored
      Previously we were using GLUT to create windows and OpenGL contexts.
      However, the base GLUT is no longer maintained and APPLE as deprecated
      its use. There is another project, FreeGLUT, that is poised to replace
      the original GLUT library, but it does not support native Mac windows
      There is another library named GLFW that is also a cross-platform
      library for creating OpenGL windows, and this one supports the native
      Mac windows. For now we are supporting both (with the default being
      GLUT, which is still more common).
    • Kenneth Moreland's avatar
      Remove dependence on GLU · 866def6d
      Kenneth Moreland authored
      GLU seems to be deprecated in OpenGL 3 and now the Apple XCode compile
      is warning about using it. The only thing we were using it for was to
      draw a sphere, so replace that with our own sphere drawing code (using
      vertex arrays that I think are still going to be supported).
      An alternative to rolling our own would be to use a canned version that
      comes with GLUT. However, GLUT itself is also going through a
      transitional period, so until we can be sure it is going to survive and
      be available everywhere, this is a reasonable solution.
  13. 15 Aug, 2013 1 commit
    • Kenneth Moreland's avatar
      Send correct projection matrix when rendering empty images. · bf541a3c
      Kenneth Moreland authored
      Even if IceT ignores the image created during the render callback, it
      should still send appropriate rendering parameters. When rendering a
      black image, I had neglected to set the projection matrix for the tile.
      Thanks to Burlen Loring for finding this problem and sending the fix.
  14. 02 Jul, 2013 1 commit
  15. 01 Jul, 2013 1 commit
  16. 20 Aug, 2012 1 commit
  17. 10 Nov, 2011 1 commit
  18. 03 Nov, 2011 1 commit
  19. 02 Nov, 2011 2 commits
  20. 28 Oct, 2011 1 commit
    • Kenneth Moreland's avatar
      Make RandomTransform test less susceptible to numerical error. · 920a91b1
      Kenneth Moreland authored
      The way the translation transform was picked, I was getting z shifts
      that were so close that after OpenGL transforms you ended up with the
      same depth value, which of course threw off the compositing.  This
      change limits the precision used for the Z shift which seems to avoid
      really close values but does not seem to encourage the same value
      (although that is still a possibility).
  21. 13 May, 2011 4 commits
  22. 12 May, 2011 1 commit
  23. 05 May, 2011 1 commit
  24. 04 May, 2011 4 commits
  25. 09 Apr, 2011 1 commit
  26. 08 Apr, 2011 1 commit
  27. 07 Apr, 2011 3 commits