Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: gpu/command_buffer/service/gl_context_virtual.cc

Issue 1882953006: Attach YUV420 to RGB converter to GLContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gl_context_virtual.cc
diff --git a/gpu/command_buffer/service/gl_context_virtual.cc b/gpu/command_buffer/service/gl_context_virtual.cc
index 998d553d69ae97cf21dcd3a8addfdf5bc5eb36ad..92764e22add44ed6f43f5aa6bdf824abb45eb0e3 100644
--- a/gpu/command_buffer/service/gl_context_virtual.cc
+++ b/gpu/command_buffer/service/gl_context_virtual.cc
@@ -106,6 +106,10 @@ void GLContextVirtual::SetUnbindFboOnMakeCurrent() {
shared_context_->SetUnbindFboOnMakeCurrent();
}
+gfx::YUV420RGBConverter* GLContextVirtual::GetYUV420RGBConverter() {
+ return shared_context_->GetYUV420RGBConverter();
+}
+
GLContextVirtual::~GLContextVirtual() {
Destroy();
}

Powered by Google App Engine
This is Rietveld 408576698