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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 470973002: gpu: Remove WebGraphicsContext3D::makeContextCurrent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix in unittests Created 6 years, 4 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/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index 9aebaf0ce1fc89bef4c00d5a1985de5d88192639..885720299b89a543e849f4a0ac1c76b6a73806ca 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -142,14 +142,11 @@ class WebGraphicsContext3DCommandBufferImpl
return mem_limits_.mapped_memory_reclaim_limit;
}
+ // WebGraphicsContext3DImpl methods
+ virtual bool InitializeOnCurrentThread() OVERRIDE;
+
//----------------------------------------------------------------------
// WebGraphicsContext3D methods
-
- // Must be called after initialize() and before any of the following methods.
- // Permanently binds to the first calling thread. Returns false if the
- // graphics context fails to create. Do not call from more than one thread.
- virtual bool makeContextCurrent();
-
virtual bool isContextLost();
virtual WGC3Denum getGraphicsResetStatusARB();

Powered by Google App Engine
This is Rietveld 408576698