layers: Improve locking in the draw_state layer.
authorIan Elliott <ianelliott@google.com>
Sat, 30 Jan 2016 17:57:03 +0000 (10:57 -0700)
committerIan Elliott <ianelliott@google.com>
Thu, 4 Feb 2016 19:03:10 +0000 (12:03 -0700)
commit6fc89153f9605bb075583a1c72b6e206d276f9f5
tree35cd8e4e787dcf7e76b2b373994e1cd1aaf63ff1
parent4bc196eb783a3f793e21f9dd3724e7622ebf1df2
layers: Improve locking in the draw_state layer.

This includes generating return values within locks, and doing the actual
return outside of the lock.
layers/draw_state.cpp