|
Calling OpenGL from the renderer process
- Added ability for renderer processes to render to a real window (Windows only so far).
- Added ability to create offscreen frame buffer objects that can be resized later.
- OpenGL context can have a "parent" context that can access its last swapped back buffer through a texture ID.
- Moved code to establish GPU channel from RenderWidget to RenderThread.
- Changed way service size command buffer object lifetimes are managed.
TEST=trybot and visual verification that OpenGL can clear the browser window to magenta.
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42679
Total comments: 18
Total comments: 16
Total comments: 24
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1295 lines, -311 lines) |
Patch |
 |
M |
chrome/browser/gpu_process_host.h
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gpu_process_host.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/browser_render_process_host.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/browser_render_process_host.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_widget_host.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_widget_host.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_widget_host_view_win.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_constants.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_constants.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/gpu_messages_internal.h
|
View
|
1
2
3
4
5
|
3 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages_internal.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_channel.h
|
View
|
1
2
3
4
5
|
4 chunks |
+14 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_channel.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+71 lines, -41 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_command_buffer_stub.h
|
View
|
1
2
3
4
5
|
4 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_command_buffer_stub.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+31 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_thread.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_thread.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+20 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/plugin/command_buffer_stub.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/plugin/command_buffer_stub.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/command_buffer_proxy.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/command_buffer_proxy.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/ggl/ggl.h
|
View
|
1
2
3
4
5
|
2 chunks |
+31 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/ggl/ggl.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+75 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/gpu_channel_host.h
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/gpu_channel_host.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+32 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_thread.h
|
View
|
1
2
3
4
5
|
4 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_thread.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_widget.h
|
View
|
1
2
3
4
5
|
5 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_widget.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+45 lines, -46 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/build_gles2_cmd_buffer.py
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/cmd_buffer_helper_test.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/fenced_allocator_test.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_demo.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.h
|
View
|
1
2
3
4
5
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
3
4
5
|
27 chunks |
+686 lines, -41 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_mock.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor.h
|
View
|
1
2
3
4
5
|
5 chunks |
+12 lines, -27 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor_linux.cc
|
View
|
4
5
|
2 chunks |
+19 lines, -6 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor_mac.cc
|
View
|
4
5
|
2 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor_win.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/texture_manager.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/texture_manager.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/demos/framework/window.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|