opengl: remove locks from texture

These are not used anymore and are therefore unnecessary.
This commit is contained in:
itsmattkc
2020-02-15 14:02:00 +11:00
parent f5de19dd6b
commit 53106e1847
4 changed files with 0 additions and 25 deletions
@@ -364,8 +364,6 @@ void OpenGLProxy::TextureToBuffer(const QVariant &tex_in, QByteArray &buffer)
PixelFormat::Info format_info = PixelService::GetPixelFormatInfo(video_params_.format());
texture->texture()->Lock();
QOpenGLFunctions* f = QOpenGLContext::currentContext()->functions();
buffer_.Attach(texture->texture());
buffer_.Bind();
@@ -380,8 +378,6 @@ void OpenGLProxy::TextureToBuffer(const QVariant &tex_in, QByteArray &buffer)
buffer_.Release();
buffer_.Detach();
texture->texture()->Unlock();
}
void OpenGLProxy::SetParameters(const VideoRenderingParams &params)