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

Unified Diff: third_party/mojo/src/mojo/public/platform/native/gles2_thunks.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 | « third_party/mojo/src/mojo/public/platform/native/gles2_thunks.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/public/platform/native/gles2_thunks.cc
diff --git a/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.cc b/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.cc
index 82ca43a89bb9f122bfa4e52a5d66a2e6ce65e612..b51de7686d84840436910b80474b1c3676f5bfb3 100644
--- a/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.cc
+++ b/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.cc
@@ -13,12 +13,13 @@ extern "C" {
static MojoGLES2ControlThunks g_control_thunks = {0};
MojoGLES2Context MojoGLES2CreateContext(MojoHandle handle,
+ const int32_t* attrib_list,
MojoGLES2ContextLost lost_callback,
void* closure,
const MojoAsyncWaiter* async_waiter) {
assert(g_control_thunks.GLES2CreateContext);
return g_control_thunks.GLES2CreateContext(
- handle, lost_callback, closure, async_waiter);
+ handle, attrib_list, lost_callback, closure, async_waiter);
}
void MojoGLES2DestroyContext(MojoGLES2Context context) {
« no previous file with comments | « third_party/mojo/src/mojo/public/platform/native/gles2_thunks.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698