|
Initial port of accelerated compositor to Mac OS X 10.6. Reused
infrastructure added for Pepper 3D and Core Animation plugins to
render the compositor's output. The implementation allocates a fake
"plugin window handle" on the browser side which is the "root" handle,
containing the compositor's output, and which, if present, is drawn
before any other accelerated plugin instances.
Added messages from GPU process to browser process for handling window
resizing and presentation of output. Added support to GGL for "view"
contexts on Mac OS X, used only for the accelerated compositor, and
requiring explicit resize notifications.
The remainder of this port will go into the WebKit repository under
https://bugs.webkit.org/show_bug.cgi?id=43398 after this for
dependency reasons.
Tested manually with CSS 3D and WebGL demos. Several stability and
correctness issues remain and will be addressed in following CLs;
however, the current code works for the majority of basic use cases
including switching between accelerated compositing on and off, and
scrolling of content.
BUG= 38969
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54923
Total comments: 38
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+403 lines, -46 lines) |
Patch |
 |
M |
chrome/browser/gpu_process_host.h
|
View
|
1
2
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gpu_process_host.cc
|
View
|
1
2
|
3 chunks |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h
|
View
|
1
2
|
3 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc
|
View
|
1
2
|
3 chunks |
+37 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_widget_host.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_widget_host.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_widget_host_view.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_widget_host_view_mac.h
|
View
|
1
2
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
|
5 chunks |
+25 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/test/test_render_view_host.h
|
View
|
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/test/test_render_view_host.cc
|
View
|
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/gpu_messages.h
|
View
|
1
2
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/gpu_messages_internal.h
|
View
|
1
2
|
4 chunks |
+30 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages_internal.h
|
View
|
1
2
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
|
chrome/gpu/gpu_channel.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_channel.cc
|
View
|
1
2
|
4 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_command_buffer_stub.h
|
View
|
1
2
|
3 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_command_buffer_stub.cc
|
View
|
1
2
|
5 chunks |
+52 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/ggl/ggl.h
|
View
|
1
2
|
1 chunk |
+23 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/ggl/ggl.cc
|
View
|
1
2
|
6 chunks |
+33 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/gpu_channel_host.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/gpu_channel_host.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_view.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_view.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/webgles2context_impl.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/webgles2context_impl.cc
|
View
|
1
2
|
2 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/webplugin_delegate_proxy.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor_mac.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|