1. 27 Jun, 2017 2 commits
  2. 24 Jun, 2017 1 commit
  3. 23 Jun, 2017 1 commit
  4. 22 Jun, 2017 2 commits
  5. 21 Jun, 2017 2 commits
  6. 15 Jun, 2017 3 commits
  7. 13 Jun, 2017 2 commits
  8. 12 Jun, 2017 5 commits
  9. 09 Jun, 2017 1 commit
  10. 08 Jun, 2017 2 commits
  11. 07 Jun, 2017 2 commits
  12. 05 Jun, 2017 4 commits
  13. 29 May, 2017 2 commits
  14. 25 May, 2017 2 commits
  15. 24 May, 2017 8 commits
  16. 19 May, 2017 1 commit
    • Fix locking a destroyed mutex. · bf7a8145
      Nicolas Capens authored
      Surface should not lock the resource of a parent texture at destruction, because
      it can already have been destroyed. For example when a texture's image was bound
      as a render target, and the texture is deleted by the app, then the image holds
      the last reference to the texture. When the render target image gets deleted, it
      first releases its parent texture, and then the underlying surface gets
      destroyed.
      
      This is fixed by synchronizing, by locking and unlocking the (parent) resource,
      earlier. The derived class is responsible for calling Surface::sync() before
      releasing the parent resource.
      
      Bug chromium:716803
      
      Change-Id: Ifc3685dcf9e25e8419000af65d4bb7407f26bbcb
      Reviewed-on: https://swiftshader-review.googlesource.com/9750Reviewed-by: 's avatarNicolas Capens <capn@google.com>
      Tested-by: 's avatarNicolas Capens <capn@google.com>