|
|
This implements the new system for Graphics2D only.
This works by adding a new thunk layer that will forward to an "API" that's either per-instance (function APIs) or per-resource (resource APIs). The proxying and such is then implemented in terms of this C++ API.
Ideally the trackers of the PP_Resource/PP_Instance -> object mapping would be shared between the plugin and renderer processes. To keep this patch under control, I did this as a virtual base class which is implemented by ppapi::proxy::PluginResourceTracker and webkit::ppapi::ResourceTracker. Later, the functionality of these objects should be shared in a common tracker class.
Still to do it a lot of cleanup and merging of things. Also, the namespaces are a bit out of control.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84519
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1257 lines, -535 lines) |
Patch |
 |
M |
ppapi/ppapi_shared_proxy.gypi
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/host_dispatcher.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/host_dispatcher.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/interface_id.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_dispatcher.h
|
View
|
1
2
3
4
|
3 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_dispatcher.cc
|
View
|
1
2
3
4
|
3 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_resource.h
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_resource.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_resource_tracker.h
|
View
|
1
2
3
4
|
4 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_resource_tracker.cc
|
View
|
1
2
3
4
|
5 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
4
|
3 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_graphics_2d_proxy.h
|
View
|
1
2
3
4
|
3 chunks |
+56 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_graphics_2d_proxy.cc
|
View
|
1
2
3
4
|
5 chunks |
+48 lines, -164 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_image_data_proxy.h
|
View
|
1
2
3
4
|
2 chunks |
+35 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_image_data_proxy.cc
|
View
|
1
2
3
4
|
4 chunks |
+39 lines, -172 lines |
0 comments
|
Download
|
 |
A |
ppapi/proxy/resource_creation_proxy.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/proxy/resource_creation_proxy.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+155 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/shared_impl/function_group_base.h
|
View
|
1
2
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/shared_impl/resource_object_base.h
|
View
|
1
2
3
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/shared_impl/tracker_base.h
|
View
|
1
2
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/shared_impl/tracker_base.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/thunk/enter.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/thunk/ppb_graphics_2d_api.h
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/thunk/ppb_graphics_2d_thunk.cc
|
View
|
1
2
3
|
1 chunk |
+95 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/thunk/ppb_image_data_api.h
|
View
|
1
2
3
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/thunk/ppb_image_data_thunk.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/thunk/resource_creation_api.h
|
View
|
1
2
3
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/thunk/thunk.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webkit_glue.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/DEPS
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_graphics_2d_impl.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+7 lines, -78 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_image_data_impl.h
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_image_data_impl.cc
|
View
|
1
2
3
4
|
6 chunks |
+8 lines, -70 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
A |
webkit/plugins/ppapi/resource_creation_impl.h
|
View
|
1
2
3
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
webkit/plugins/ppapi/resource_creation_impl.cc
|
View
|
1
2
3
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource_tracker.h
|
View
|
1
2
3
4
|
4 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource_tracker.cc
|
View
|
1
2
3
4
|
4 chunks |
+36 lines, -0 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|