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

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

Issue 2275113002: Provide task runner to GLES2Impl / CommandBuffer at creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-cleanup4
Patch Set: cleanup Created 4 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: gpu/command_buffer/client/gles2_implementation.cc
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 1098a4030e0e60e9941e2b3b40fc4a984c717030..c4c77e6bf9ba518a4338522754153839a8146680 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -133,7 +133,8 @@ GLES2Implementation::GLES2Implementation(
bool bind_generates_resource,
bool lose_context_when_out_of_memory,
bool support_client_side_arrays,
- GpuControl* gpu_control)
+ GpuControl* gpu_control,
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner)
piman 2016/08/25 22:51:02 In what way is this task runner meant to be used?
: helper_(helper),
transfer_buffer_(transfer_buffer),
chromium_framebuffer_multisample_(kUnknownExtensionStatus),
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.h ('k') | gpu/command_buffer/client/gles2_implementation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698