Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Issue 465040: Added CommandBufferClient, CommandBufferStub and some IPC messages.... (Closed)

Created:
11 years ago by apatrick_chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, vangelis, o3d-review_google.com
Visibility:
Public.

Description

Added CommandBufferProxy, CommandBufferStub. Replaced NPAPI with IPC for synchronous messages. WebPluginDelegateImpl can instantiate a command buffer. Removed remaining dependencies on NPAPI. TEST=none BUG=none

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 34

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 2

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 17

Patch Set 13 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1102 lines, -1743 lines) Patch
M build/all.gyp View 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/DEPS View 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome.gyp View 5 6 7 8 9 10 11 12 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 6 7 8 9 10 11 12 1 chunk +5 lines, -1 line 0 comments Download
A chrome/common/command_buffer_messages.h View 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/common/command_buffer_messages_internal.h View 5 6 7 1 chunk +65 lines, -0 lines 0 comments Download
M chrome/common/plugin_messages_internal.h View 8 9 12 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/plugin/command_buffer_stub.h View 5 6 7 8 9 10 11 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/plugin/command_buffer_stub.cc View 5 6 7 8 9 10 1 chunk +135 lines, -0 lines 0 comments Download
M chrome/plugin/webplugin_delegate_stub.h View 6 7 8 9 10 11 12 4 chunks +10 lines, -1 line 0 comments Download
M chrome/plugin/webplugin_delegate_stub.cc View 6 7 8 9 10 11 12 3 chunks +15 lines, -2 lines 0 comments Download
A chrome/renderer/command_buffer_proxy.h View 5 6 7 8 9 10 11 1 chunk +71 lines, -0 lines 0 comments Download
A chrome/renderer/command_buffer_proxy.cc View 5 6 7 8 9 10 1 chunk +173 lines, -0 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.h View 8 9 12 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 8 9 10 11 12 2 chunks +15 lines, -0 lines 0 comments Download
M gpu/DEPS View 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 11 12 3 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper.h View 11 12 4 chunks +7 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper.cc View 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper_test.cc View 1 2 6 7 8 9 10 11 12 5 chunks +11 lines, -12 lines 0 comments Download
M gpu/command_buffer/client/fenced_allocator.h View 11 12 3 chunks +6 lines, -6 lines 0 comments Download
M gpu/command_buffer/client/fenced_allocator.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/fenced_allocator_test.cc View 1 2 6 7 8 9 10 11 12 4 chunks +8 lines, -11 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper.h View 11 12 2 chunks +6 lines, -6 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper.cc View 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_demo.cc View 7 8 9 10 11 12 2 chunks +5 lines, -14 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 11 12 3 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_gen.h View 11 12 3 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_lib.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_lib.cc View 11 12 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/id_allocator.h View 11 12 3 chunks +8 lines, -8 lines 0 comments Download
M gpu/command_buffer/client/id_allocator.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/id_allocator_test.cc View 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/common/bitfield_helpers.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/common/bitfield_helpers_test.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/cmd_buffer_common.h View 1 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/common/cmd_buffer_common.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/command_buffer.h View 6 7 8 9 10 11 12 5 chunks +8 lines, -8 lines 0 comments Download
M gpu/command_buffer/common/command_buffer_mock.h View 6 7 8 9 10 11 12 5 chunks +8 lines, -8 lines 0 comments Download
M gpu/command_buffer/common/constants.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format.h View 11 12 7 chunks +9 lines, -9 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 11 12 172 chunks +172 lines, -172 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test.cc View 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_id_test.cc View 11 12 3 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/logging.h View 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/common/resource.h View 11 12 3 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/common/resource.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/types.h View 11 12 3 chunks +5 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/cmd_buffer_engine.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/cmd_parser.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/cmd_parser.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/cmd_parser_test.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/command_buffer_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +13 lines, -46 lines 0 comments Download
M gpu/command_buffer/service/command_buffer_service.cc View 6 7 8 9 10 11 12 4 chunks +13 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/command_buffer_service_unittest.cc View 6 7 8 9 10 11 12 5 chunks +10 lines, -14 lines 0 comments Download
M gpu/command_buffer/service/common_decoder.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/common_decoder.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/common_decoder_unittest.cc View 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.h View 11 12 3 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 11 12 5 chunks +6 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_validate.h View 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor.h View 7 8 9 10 11 12 6 chunks +10 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor.cc View 11 12 4 chunks +8 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor_mock.h View 7 8 9 10 11 12 4 chunks +7 lines, -12 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor_unittest.cc View 7 8 9 10 11 12 14 chunks +36 lines, -36 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor_win.cc View 7 8 9 10 11 12 6 chunks +9 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/mocks.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/precompile.h View 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/resource.h View 11 12 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/resource.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/resource_test.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/x_utils.h View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/x_utils.cc View 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +4 lines, -82 lines 0 comments Download
M gpu/gpu_plugin/gpu_plugin.h View 7 8 9 10 11 12 2 chunks +4 lines, -3 lines 0 comments Download
M gpu/gpu_plugin/gpu_plugin.cc View 7 8 9 10 11 12 3 chunks +6 lines, -62 lines 0 comments Download
M gpu/gpu_plugin/gpu_plugin_object.h View 5 6 7 8 9 10 11 12 1 chunk +0 lines, -133 lines 0 comments Download
M gpu/gpu_plugin/gpu_plugin_object.cc View 5 6 7 8 9 10 11 12 1 chunk +0 lines, -123 lines 0 comments Download
D gpu/gpu_plugin/gpu_plugin_object_factory.h View 7 8 9 10 11 12 1 chunk +0 lines, -27 lines 0 comments Download
D gpu/gpu_plugin/gpu_plugin_object_factory.cc View 7 8 9 10 11 12 1 chunk +0 lines, -27 lines 0 comments Download
D gpu/gpu_plugin/gpu_plugin_object_factory_unittest.cc View 7 8 9 10 11 12 1 chunk +0 lines, -41 lines 0 comments Download
M gpu/gpu_plugin/gpu_plugin_object_unittest.cc View 5 6 7 8 9 10 11 12 1 chunk +0 lines, -319 lines 0 comments Download
D gpu/gpu_plugin/gpu_plugin_object_win.cc View 6 7 8 9 10 11 12 1 chunk +0 lines, -62 lines 0 comments Download
M gpu/gpu_plugin/gpu_plugin_unittest.cc View 6 7 8 9 10 11 12 1 chunk +0 lines, -302 lines 0 comments Download
M ipc/ipc_message_utils.h View 2 3 4 5 6 7 8 9 12 1 chunk +1 line, -4 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl.h View 6 7 8 9 10 11 12 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
apatrick_chromium
Check the dependencies on gfx::PluginWindowHandle. I'm not sure where the app project belongs in the ...
11 years ago (2009-12-09 21:42:12 UTC) #1
jam
http://codereview.chromium.org/465040/diff/9001/10008 File chrome/common/command_buffer_messages_internal.h (right): http://codereview.chromium.org/465040/diff/9001/10008#newcode9 chrome/common/command_buffer_messages_internal.h:9: nit: extra line http://codereview.chromium.org/465040/diff/9001/10009 File chrome/plugin/command_buffer_stub.cc (right): http://codereview.chromium.org/465040/diff/9001/10009#newcode1 chrome/plugin/command_buffer_stub.cc:1: ...
11 years ago (2009-12-10 00:09:55 UTC) #2
jam
http://codereview.chromium.org/465040/diff/9001/10007 File chrome/common/command_buffer_messages.h (right): http://codereview.chromium.org/465040/diff/9001/10007#newcode8 chrome/common/command_buffer_messages.h:8: #define MESSAGES_INTERNAL_FILE "chrome/common/command_buffer_messages_internal.h" // NOLINT nit: please no NOLINT
11 years ago (2009-12-10 00:11:22 UTC) #3
greggman
LGTM http://codereview.chromium.org/465040/diff/9001/10010 File chrome/plugin/command_buffer_stub.h (right): http://codereview.chromium.org/465040/diff/9001/10010#newcode36 chrome/plugin/command_buffer_stub.h:36: int route_id() const { On 2009/12/10 00:09:55, John ...
11 years ago (2009-12-10 01:05:49 UTC) #4
jam
http://codereview.chromium.org/465040/diff/9001/10010 File chrome/plugin/command_buffer_stub.h (right): http://codereview.chromium.org/465040/diff/9001/10010#newcode36 chrome/plugin/command_buffer_stub.h:36: int route_id() const { On 2009/12/10 01:05:49, greggman wrote: ...
11 years ago (2009-12-10 20:30:55 UTC) #5
apatrick
I'm running the win trybot again. I think I just issued the job at a ...
11 years ago (2009-12-10 22:03:02 UTC) #6
jam
http://codereview.chromium.org/465040/diff/9001/10001 File gpu/command_buffer/service/command_buffer_service.h (right): http://codereview.chromium.org/465040/diff/9001/10001#newcode21 gpu/command_buffer/service/command_buffer_service.h:21: class CommandBufferService : public CommandBuffer { On 2009/12/10 22:03:02, ...
11 years ago (2009-12-10 22:30:52 UTC) #7
jam
On 2009/12/10 22:03:02, apatrick wrote: > I'm running the win trybot again. I think I ...
11 years ago (2009-12-10 22:31:12 UTC) #8
apatrick_chromium
+bradnelson Brad, can you review the changes to the gyp files. Thanks. Renamed command_buffer namespace ...
11 years ago (2009-12-10 23:50:36 UTC) #9
jam
lgtm nit: probably best to leave this to another change, but there's a lot of ...
11 years ago (2009-12-11 00:06:02 UTC) #10
apatrick
On Thu, Dec 10, 2009 at 4:05 PM, John Abd-El-Malek <jam@chromium.org> wrote: > lgtm > ...
11 years ago (2009-12-11 00:13:12 UTC) #11
bradn
gyp changes LG
11 years ago (2009-12-11 00:14:08 UTC) #12
scherkus (not reviewing)
drive by copyright year nits http://codereview.chromium.org/465040/diff/16091/16115 File chrome/plugin/webplugin_delegate_stub.h (right): http://codereview.chromium.org/465040/diff/16091/16115#newcode1 chrome/plugin/webplugin_delegate_stub.h:1: // Copyright (c) 2006-2008 ...
11 years ago (2009-12-11 00:16:11 UTC) #13
apatrick
Done. On Thu, Dec 10, 2009 at 4:16 PM, <scherkus@chromium.org> wrote: > drive by copyright ...
11 years ago (2009-12-11 01:03:05 UTC) #14
scherkus (not reviewing)
11 years ago (2009-12-11 01:05:58 UTC) #15
rubber stamp lg -- thanks!

Powered by Google App Engine
This is Rietveld 408576698