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

Unified Diff: content/renderer/webgraphicscontext3d_provider_impl.cc

Issue 1914233006: Implement offscreenCanvas.getContext('webgl') on a worker thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address kbr@'s comment Created 4 years, 7 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: content/renderer/webgraphicscontext3d_provider_impl.cc
diff --git a/content/renderer/webgraphicscontext3d_provider_impl.cc b/content/renderer/webgraphicscontext3d_provider_impl.cc
index 17f34bc3a8ffbca219da56ec8ecf0e72a2f89b3e..fa77bda527c83b5c188637de227df487690f2b39 100644
--- a/content/renderer/webgraphicscontext3d_provider_impl.cc
+++ b/content/renderer/webgraphicscontext3d_provider_impl.cc
@@ -20,6 +20,10 @@ gpu::gles2::GLES2Interface* WebGraphicsContext3DProviderImpl::contextGL() {
return provider_->ContextGL();
}
+bool WebGraphicsContext3DProviderImpl::bindToCurrentThread() {
+ return provider_->BindToCurrentThread();
+}
+
GrContext* WebGraphicsContext3DProviderImpl::grContext() {
return provider_->GrContext();
}

Powered by Google App Engine
This is Rietveld 408576698