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

Unified Diff: gpu/command_buffer/client/gl_in_process_context.cc

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gl_in_process_context.cc
diff --git a/gpu/command_buffer/client/gl_in_process_context.cc b/gpu/command_buffer/client/gl_in_process_context.cc
index 2405c0d455ada156600713110536a5841b234777..015a2a7824bf3a8e925e43fa5ec6e3d404689334 100644
--- a/gpu/command_buffer/client/gl_in_process_context.cc
+++ b/gpu/command_buffer/client/gl_in_process_context.cc
@@ -204,7 +204,8 @@ bool GLInProcessContextImpl::Initialize(
// Check for consistency.
DCHECK(!attribs.bind_generates_resource);
- bool bind_generates_resource = false;
+ const bool bind_generates_resource = false;
+ const bool support_client_side_arrays = false;
// Create the object exposing the OpenGL API.
gles2_implementation_.reset(
@@ -213,6 +214,7 @@ bool GLInProcessContextImpl::Initialize(
transfer_buffer_.get(),
bind_generates_resource,
attribs.lose_context_when_out_of_memory,
+ support_client_side_arrays,
command_buffer_.get()));
if (use_global_share_group) {
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698