|
|
Provide task runner to GLES2Impl / CommandBuffer at creation
Currently, GLES2Impl doesn't have a task runner and various
CommandBuffers are inconsistent in how they create/receive one.
In a future change, GLES2Impl will need its own task runner. Ideally,
GLES2Impl and the various CommandBuffers would share this task runner.
This change prepares for this shared usage by always creating a shared
task runner externally and passing it to GLES2Impl and any relevant
CommandBuffer.
In some cases (Android Webview, EGL conform, ppapi), the CommandBuffer
does not currently use a task runner. In these cases we just pass null
to GLES2Impl as well, indicating that it should run any tasks inline on
the current thread.
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+54 lines, -49 lines) |
Patch |
 |
M |
content/common/gpu/client/context_provider_command_buffer.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gl_in_process_context.cc
|
View
|
1
2
3
|
4 chunks |
+18 lines, -15 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
1 comment
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation_unittest.cc
|
View
|
1
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/in_process_command_buffer.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/in_process_command_buffer.cc
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/gles2_conform_support/egl/context.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/ipc/client/command_buffer_proxy_impl.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
View
|
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/gles2_context.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/surfaces_context_provider.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/surfaces_context_provider.cc
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 7 (4 generated)
|