Searched defs:MaybeLock (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/ppapi/proxy/
H A Dppb_graphics_3d_proxy.cc81 // MaybeLock acquires the proxy lock on construction if and only if
84 struct MaybeLock { struct in class:ppapi::proxy::Graphics3D::LockingCommandBuffer
85 explicit MaybeLock(bool need_to_lock) : locked_(need_to_lock) { function in struct:ppapi::proxy::Graphics3D::LockingCommandBuffer::MaybeLock
91 ~MaybeLock() {
101 MaybeLock lock(need_to_lock_);
105 MaybeLock lock(need_to_lock_);
115 // TODO(nfullagar): We can probably skip MaybeLock for other methods, but
118 // MaybeLock lock(need_to_lock_);
125 MaybeLock lock(need_to_lock_);
129 MaybeLock loc
[all...]

Completed in 40 milliseconds