Skip to content
Snippets Groups Projects
  1. Jan 17, 2008
  2. Jan 14, 2008
  3. Jan 11, 2008
  4. Jan 08, 2008
    • Keith Packard's avatar
      i915tex: Centralize mipmap pitch computations. · b9f3f732
      Keith Packard authored
      mipmap pitches must account for the device alignment requirements, which
      used to be fairly simple; just align to a 4-byte boundary. However, to allow
      textures to be drawn to under TTM, they now need to be aligned to a 64-byte
      boundary. Placing all of the alignment constraints in a single function
      allows this new constraint to be applied uniformly.
      
      There was some pitch constraining code in intel_miptree_create, but that was
      modifying the pitch long after the miptree had been layed out, so it only
      served to wreck the mipmap and cause rendering errors.
      
      (cherry picked from commit a183efc1 with manual
      changes for mesa_7_0_branch by Michel Dänzer. One side effect of this is that
      i965 also aligns the pitch of 2D textures to multiples of 64 bytes, hopefully
      that won't cause any issues)
      b9f3f732
  5. Jan 05, 2008
  6. Jan 02, 2008
  7. Jan 01, 2008
  8. Dec 22, 2007
  9. Dec 20, 2007
  10. Dec 19, 2007
  11. Dec 18, 2007
  12. Dec 17, 2007
  13. Dec 14, 2007
  14. Dec 07, 2007
  15. Dec 04, 2007
  16. Dec 03, 2007
Loading