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

Unified Diff: content/renderer/webgraphicscontext3d_provider_impl.h

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.h
diff --git a/content/renderer/webgraphicscontext3d_provider_impl.h b/content/renderer/webgraphicscontext3d_provider_impl.h
index b6358aebb70fdaf85e722268f99087c036bdf8aa..6196b24ba4133b201c253a5f3812e0e36a49ed67 100644
--- a/content/renderer/webgraphicscontext3d_provider_impl.h
+++ b/content/renderer/webgraphicscontext3d_provider_impl.h
@@ -38,6 +38,8 @@ class CONTENT_EXPORT WebGraphicsContext3DProviderImpl
return provider_.get();
}
+ bool bindToCurrentThread() override;
+
private:
scoped_refptr<ContextProviderCommandBuffer> provider_;
};
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | content/renderer/webgraphicscontext3d_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698