1. 30 Jan, 2017 4 commits
  2. 27 Jan, 2017 2 commits
  3. 25 Jan, 2017 2 commits
  4. 23 Jan, 2017 2 commits
  5. 19 Jan, 2017 2 commits
  6. 18 Jan, 2017 3 commits
  7. 17 Jan, 2017 3 commits
  8. 16 Jan, 2017 3 commits
  9. 13 Jan, 2017 1 commit
  10. 12 Jan, 2017 1 commit
  11. 10 Jan, 2017 2 commits
  12. 09 Jan, 2017 4 commits
  13. 06 Jan, 2017 6 commits
  14. 05 Jan, 2017 3 commits
  15. 04 Jan, 2017 1 commit
  16. 03 Jan, 2017 1 commit
    • [emulator] Delete VAOs starting from highest · 5da143cb
      Lingfeng Yang authored
      If VAOs are deleted starting from 0, then the
      following happens when an app's context has
      genned two VAO's that are both != 0,
      and the first of the two nonzero VAOs
      is the current one:
      
      VAO 0
      VAO 1 <- current
      VAO 2
      
      in context dtor loop over vao map:
      delete vao 0 (done)
      delete vao 1:
      is current, so bind 0:
      in bind 0, we create a new map entry since 0 was deleted
      next loop iter deletes vao 0 again (done)
      *** at this point, vao 0 pointer refers to freed memory ***
      next loop iter wants to delete vao 2,
      but the current vao is 0 and refers to freed memory.
      then, in Context::deleteVertexArray:
      if (getCurrentVertexArray()->name...) <- Segmentation fault (core dumped)
      
      This CL deletes VAO 0 last.
      
      Change-Id: Ifa606ad7517cd213f21606577d3bdd8d810b640d
      Reviewed-on: https://swiftshader-review.googlesource.com/8350Reviewed-by: 's avatarNicolas Capens <capn@google.com>
      Tested-by: 's avatarLingfeng Yang <lfy@google.com>