|
GPU context creation code duplication cleanup
Use ContextCreationAttribHelper through the context creation in both
in-process and out-of-process cases, instead of duplicate structures such
as GLInProcessContextAttribs. Enums used for serializing the attributes
are now defined in only one place, instead of three.
Remove small pieces of dead code related to share groups.
share_resources_ attrib is removed since it is not in use anywhere.
gpu_unittests are changed to better model how bind_generates_resource
gets set, and new checks are added to make sure it is set consistently
everywhere.
TEST=WebGL conformance tests (with and without --in-process-gpu),
cc_unittests, gpu_unittests
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289269
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+170 lines, -271 lines) |
Patch |
 |
M |
android_webview/android_webview.gyp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/hardware_renderer.cc
|
View
|
1
|
4 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/BUILD.gn
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/cc_tests.gyp
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_in_process_context_provider.cc
|
View
|
1
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_compositor_factory_impl.cc
|
View
|
1
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
|
View
|
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
View
|
1
|
1 chunk |
+6 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gl_in_process_context.h
|
View
|
|
3 chunks |
+2 lines, -17 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gl_in_process_context.cc
|
View
|
1
|
5 chunks |
+9 lines, -76 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation_unittest.cc
|
View
|
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/share_group.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_utils.h
|
View
|
1
|
1 chunk |
+14 lines, -16 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_utils.cc
|
View
|
1
|
3 chunks |
+53 lines, -56 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
|
6 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/tests/gl_manager.cc
|
View
|
1
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
gpu/gpu.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/common/gpu/webgraphicscontext3d_impl.h
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/common/gpu/webgraphicscontext3d_impl.cc
|
View
|
1
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
|
View
|
1
|
3 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
View
|
1
|
2 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|