Backed out changeset 24668220c9a4 (bug 952507) for OS X Build Bustage on a CLOSED TREE

This commit is contained in:
Carsten "Tomcat" Book
2014-01-23 15:50:14 +01:00
parent 0c8d2b7b57
commit 452d0e1f5a
6 changed files with 1 additions and 69 deletions

View File

@@ -60,21 +60,6 @@ SharedTextureClientOGL::InitWith(gl::SharedTextureHandle aHandle,
}
}
bool
SharedTextureClientOGL::Lock(OpenMode mode)
{
MOZ_ASSERT(!mIsLocked);
mIsLocked = true;
return true;
}
void
SharedTextureClientOGL::Unlock()
{
MOZ_ASSERT(mIsLocked);
mIsLocked = false;
}
bool
SharedTextureClientOGL::IsAllocated() const
{
@@ -84,7 +69,6 @@ SharedTextureClientOGL::IsAllocated() const
StreamTextureClientOGL::StreamTextureClientOGL(TextureFlags aFlags)
: TextureClient(aFlags)
, mStream(0)
, mIsLocked(false)
{
}
@@ -93,21 +77,6 @@ StreamTextureClientOGL::~StreamTextureClientOGL()
// the data is owned externally.
}
bool
StreamTextureClientOGL::Lock(OpenMode mode)
{
MOZ_ASSERT(!mIsLocked);
mIsLocked = true;
return true;
}
void
StreamTextureClientOGL::Unlock()
{
MOZ_ASSERT(mIsLocked);
mIsLocked = false;
}
bool
StreamTextureClientOGL::ToSurfaceDescriptor(SurfaceDescriptor& aOutDescriptor)
{