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

Unified Diff: mojo/cc/context_provider_mojo.cc

Issue 1346113003: Mandoline: WebGL: Pass context creation attributes to GPU. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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
« no previous file with comments | « components/pdf_viewer/pdf_viewer.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/cc/context_provider_mojo.cc
diff --git a/mojo/cc/context_provider_mojo.cc b/mojo/cc/context_provider_mojo.cc
index 801d9f5e478b0322c8863a47a86390e906ef7473..ed8643de382ac1df465eb56be3aa7b284888bccd 100644
--- a/mojo/cc/context_provider_mojo.cc
+++ b/mojo/cc/context_provider_mojo.cc
@@ -23,6 +23,7 @@ ContextProviderMojo::ContextProviderMojo(
bool ContextProviderMojo::BindToCurrentThread() {
DCHECK(command_buffer_handle_.is_valid());
context_ = MojoGLES2CreateContext(command_buffer_handle_.release().value(),
+ nullptr,
&ContextLostThunk,
this,
Environment::GetDefaultAsyncWaiter());
« no previous file with comments | « components/pdf_viewer/pdf_viewer.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698