1. 02 Feb, 2011 2 commits
    • Kenneth Moreland's avatar
      In DEBUG mode, check memory for all state variables at certain points. · 1adab5cd
      Kenneth Moreland authored
      Specifically after any time we call a single- or multi-tile strategy
      and when draw returns.  This should help find state variable memory
      errors closer to where they occur.
      1adab5cd
    • Kenneth Moreland's avatar
      Fix issue with reduce when compositing one tile, displaying another. · 13e83ced
      Kenneth Moreland authored
      This only happened when the display tile was empty.  But what would
      happen is that the collect algorithm would prepare the result image
      for output and run through the collect operation anyway (even though
      it would otherwise have no effect).  If this happened before the
      process participated in the collect for the image it composited, then
      the image might have the wrong format for uncompression.
      
      This change also conserves one image buffer in reduce.
      13e83ced
  2. 01 Feb, 2011 9 commits
  3. 31 Jan, 2011 2 commits
    • Kenneth Moreland's avatar
      Change the icetUnsafeStateGet* methods to return const arrays. · bcabfc32
      Kenneth Moreland authored
      This discourages changing the arrays returned, which is even more
      unsafe and does not properly update the time stamp.
      bcabfc32
    • Kenneth Moreland's avatar
      Add memory checks for state variables. · 1f9a4a18
      Kenneth Moreland authored
      In an attempt to make using state variables more safe, these changes
      add some checks for bad memory usage.  For every state variable
      allocated, extra memory is added to the beginning and end of the
      buffer (in debug mode).  These padding are filled with known values.
      When the variable is latter accessed, it is checked to make sure
      that these values remain intact (thus there have been no overruns).
      Allocated buffers are also cleared to 0xDC to make it obvious when
      uninitialized memory is used.
      1f9a4a18
  4. 27 Jan, 2011 3 commits
  5. 26 Jan, 2011 6 commits
  6. 25 Jan, 2011 3 commits
  7. 24 Jan, 2011 2 commits
    • Kenneth Moreland's avatar
      Fix comparison of pointers. · 445a7988
      Kenneth Moreland authored
      I was comparing the values of the addresses in the pointers, not the
      depth values they were pointing to.  Oops.
      445a7988
    • Kenneth Moreland's avatar
      Compute actual buffer size in cc-composite. · 2df6a85f
      Kenneth Moreland authored
      The compress algorithms are responsible for recording the actual number
      of bytes used in storing the image data.  Since the compressed-compressed-
      composite writes out a compressed image, it also needs to record this
      value (ICET_IMAGE_ACTUAL_BUFFER_SIZE_INDEX).  I had forgotten to do this.
      2df6a85f
  8. 21 Jan, 2011 8 commits
  9. 20 Jan, 2011 2 commits
  10. 19 Jan, 2011 1 commit
  11. 18 Jan, 2011 2 commits