commit | 655f4654675e601a9482e40d8e50156c965b8934 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Wed Feb 17 17:30:44 2010 +0800 |
committer | Chia-I Wu <olv@lunarg.com> | Wed Feb 17 20:00:12 2010 +0800 |
tree | 3a8c334c011d9fbf5d3c43d73a6996c973a38883 | |
parent | db5ce8b3843a03c6f83a02a79f033d7e74784dd5 [diff] |
egl: Always lock a display before using it. This gives a simple access control to the display. It is potentially slow, but a finer grained mutex can always be used in the future. The benefit of this simple approach is that drivers need not to worry about thread-safety.