diff options
| author | Derek Sollenberger <djsollen@google.com> | 2010-10-12 14:56:35 -0400 |
|---|---|---|
| committer | Derek Sollenberger <djsollen@google.com> | 2010-10-12 14:56:35 -0400 |
| commit | c2232e10301fba77b8765957339451f605c37085 (patch) | |
| tree | 87493ace2796d050f4d648a6e787d2209c926665 /WebKit/android/nav | |
| parent | 49bf866973cb3b2a6c74c0eab864e9562e4cbab1 (diff) | |
| download | external_webkit-c2232e10301fba77b8765957339451f605c37085.zip external_webkit-c2232e10301fba77b8765957339451f605c37085.tar.gz external_webkit-c2232e10301fba77b8765957339451f605c37085.tar.bz2 | |
Remove unnecessary mutex locks from texture sharing code
The DoubleBufferedTexture currently uses a mutex to protect access
to m_frontTexture on the producer functions. This mutex is not needed
in the producerLock/producerRelease functions as they will always be
called by the thread that sets m_frontTexture. Additionally, this
data will be initialized before calls to those funtions as the thread
must always call aquireContext() before calling these functions.
Change-Id: I110ad357c5eed4c0f5501761174e0da4b872af5d
http://b/3089605
Diffstat (limited to 'WebKit/android/nav')
0 files changed, 0 insertions, 0 deletions
