|
Retry 3 to split WebGraphicsContext3DCommandBufferImpl::initialize() into two stages.
This CL splits out creation of the context from channel creation. The
WebGraphicsContext3D will not be fully initialized until MakeCurrent is called
on it, at which point it is tied to the calling thread.
As compared to previous land attempts, this has:
- Protection against isContextLost being called on a dead context
- WebKit-side protection to ensure that GraphicsContext3Ds get made current
- Pepper modified to makeCurrent new contexts
Original review URL: http://codereview.chromium.org/7713015
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100955
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+132 lines, -70 lines) |
Patch |
|
M |
build/common.gypi
|
View
|
1
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/gpu/command_buffer_proxy.cc
|
View
|
1
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/gpu/gpu_channel_host.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/gpu/renderer_gl_context.cc
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/gpu/transport_texture_service.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h
|
View
|
1
|
3 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc
|
View
|
1
|
9 chunks |
+90 lines, -61 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper_plugin_delegate_impl.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/render_widget.cc
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|