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

Issue 555020: Redesigned CommandBuffer and NPDevice3D interfaces (Closed)

Created:
10 years, 11 months ago by apatrick_chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, Erik does not do reviews, jam, apatrick_chromium, Aaron Boodman, pam+watch_chromium.org
Visibility:
Public.

Description

Redesigned CommandBuffer and NPDevice3D interfaces. All status is now in the Device3D context. It can be retreived with fewer IPC messages. It can be now be accessed off the main plugin thread, which is necessary to run OpenGL in another thread. TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37545

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -536 lines) Patch
M chrome/common/command_buffer_messages.h View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/common/command_buffer_messages_internal.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -28 lines 0 comments Download
M chrome/plugin/command_buffer_stub.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/plugin/command_buffer_stub.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -26 lines 0 comments Download
M chrome/renderer/command_buffer_proxy.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -9 lines 0 comments Download
M chrome/renderer/command_buffer_proxy.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -57 lines 0 comments Download
M chrome/renderer/webplugin_delegate_pepper.h View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/renderer/webplugin_delegate_pepper.cc View 1 2 3 4 5 6 7 5 chunks +29 lines, -32 lines 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper.cc View 1 2 3 4 5 6 7 7 chunks +17 lines, -14 lines 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper_test.cc View 2 3 4 5 6 7 6 chunks +19 lines, -38 lines 0 comments Download
M gpu/command_buffer/client/fenced_allocator_test.cc View 2 3 4 5 6 7 6 chunks +10 lines, -6 lines 0 comments Download
M gpu/command_buffer/common/command_buffer.h View 1 2 3 4 5 6 7 3 chunks +34 lines, -27 lines 0 comments Download
M gpu/command_buffer/common/command_buffer_mock.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -9 lines 0 comments Download
M gpu/command_buffer/common/constants.h View 6 7 2 chunks +2 lines, -12 lines 0 comments Download
M gpu/command_buffer/service/command_buffer_service.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/command_buffer_service.cc View 1 2 3 4 5 6 7 4 chunks +19 lines, -37 lines 0 comments Download
M gpu/command_buffer/service/command_buffer_service_unittest.cc View 2 3 4 5 6 7 5 chunks +37 lines, -33 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -16 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor_unittest.cc View 2 3 4 5 6 7 9 chunks +54 lines, -77 lines 0 comments Download
M gpu/pgl/command_buffer_pepper.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -9 lines 0 comments Download
M gpu/pgl/command_buffer_pepper.cc View 1 2 3 4 5 6 7 4 chunks +23 lines, -74 lines 0 comments Download
M third_party/npapi/bindings/npapi_extensions.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
apatrick_chromium
http://codereview.chromium.org/555020/diff/3029/4055 File chrome/renderer/command_buffer_proxy.cc (right): http://codereview.chromium.org/555020/diff/3029/4055#newcode167 chrome/renderer/command_buffer_proxy.cc:167: void CommandBufferProxy::SetParseError(gpu::parse_error::ParseError parse_error) { 80 chars already fixed.
10 years, 11 months ago (2010-01-26 23:33:12 UTC) #1
greggman
LGTM What are you working on next? I'm going to be touching some of these ...
10 years, 11 months ago (2010-01-27 01:12:03 UTC) #2
apatrick
Next I'll be figuring out why Alok's pepper demos aren't working on my box and ...
10 years, 11 months ago (2010-01-27 01:46:11 UTC) #3
darin (slow to review)
http://codereview.chromium.org/555020/diff/3029/4047 File third_party/npapi/bindings/npapi_extensions.h (right): http://codereview.chromium.org/555020/diff/3029/4047#newcode305 third_party/npapi/bindings/npapi_extensions.h:305: typedef struct _NPDeviceFlushSemantics3D does this mean that there is ...
10 years, 11 months ago (2010-01-27 08:35:57 UTC) #4
darin (slow to review)
http://codereview.chromium.org/555020/diff/3029/4047 File third_party/npapi/bindings/npapi_extensions.h (right): http://codereview.chromium.org/555020/diff/3029/4047#newcode305 third_party/npapi/bindings/npapi_extensions.h:305: typedef struct _NPDeviceFlushSemantics3D On 2010/01/27 08:35:57, darin wrote: > ...
10 years, 11 months ago (2010-01-27 08:41:40 UTC) #5
darin (slow to review)
similarly, the 2D context has the dirty rect as an 'input' parameter.
10 years, 11 months ago (2010-01-27 08:42:33 UTC) #6
apatrick_chromium
http://codereview.chromium.org/555020/diff/3029/4047 File third_party/npapi/bindings/npapi_extensions.h (right): http://codereview.chromium.org/555020/diff/3029/4047#newcode305 third_party/npapi/bindings/npapi_extensions.h:305: typedef struct _NPDeviceFlushSemantics3D At the moment, a flush in ...
10 years, 11 months ago (2010-01-27 19:04:50 UTC) #7
darin (slow to review)
On 2010/01/27 19:04:50, apatrick_chromium wrote: > http://codereview.chromium.org/555020/diff/3029/4047 > File third_party/npapi/bindings/npapi_extensions.h (right): > > http://codereview.chromium.org/555020/diff/3029/4047#newcode305 > ...
10 years, 11 months ago (2010-01-27 21:00:55 UTC) #8
darin (slow to review)
On 2010/01/27 21:00:55, darin wrote: > On 2010/01/27 19:04:50, apatrick_chromium wrote: ... > > At ...
10 years, 11 months ago (2010-01-27 21:02:55 UTC) #9
apatrick
> > When we talked about this way back when, you told me that flush ...
10 years, 11 months ago (2010-01-27 21:17:01 UTC) #10
darin (slow to review)
On Wed, Jan 27, 2010 at 1:16 PM, Alastair Patrick <apatrick@google.com>wrote: > When we talked ...
10 years, 11 months ago (2010-01-27 21:25:41 UTC) #11
apatrick
Oh if the semantics are that synchronous just means that it safe to immediately flush ...
10 years, 11 months ago (2010-01-27 22:39:35 UTC) #12
apatrick_chromium
I got rid of the changes to the flushContext signature. As gman suggested, I made ...
10 years, 11 months ago (2010-01-28 00:54:13 UTC) #13
darin (slow to review)
On Wed, Jan 27, 2010 at 2:39 PM, Alastair Patrick <apatrick@google.com>wrote: > Oh if the ...
10 years, 11 months ago (2010-01-28 06:22:37 UTC) #14
darin (slow to review)
http://codereview.chromium.org/555020/diff/4069/3062 File third_party/npapi/bindings/npapi_extensions.h (right): http://codereview.chromium.org/555020/diff/4069/3062#newcode288 third_party/npapi/bindings/npapi_extensions.h:288: // Last processed token. is this also "Synchronized on ...
10 years, 11 months ago (2010-01-28 06:24:28 UTC) #15
darin (slow to review)
Thanks! -Darin On Wed, Jan 27, 2010 at 4:54 PM, <apatrick@chromium.org> wrote: > I got ...
10 years, 11 months ago (2010-01-28 06:25:09 UTC) #16
apatrick_chromium
http://codereview.chromium.org/555020/diff/4069/3062 File third_party/npapi/bindings/npapi_extensions.h (right): http://codereview.chromium.org/555020/diff/4069/3062#newcode288 third_party/npapi/bindings/npapi_extensions.h:288: // Last processed token. On 2010/01/28 06:24:28, darin wrote: ...
10 years, 11 months ago (2010-01-28 19:40:07 UTC) #17
darin (slow to review)
npapi_extensions.h LGTM
10 years, 11 months ago (2010-01-28 21:12:14 UTC) #18
apatrick_chromium
gman, can you review again? So much has changed. The last change (set 8) was ...
10 years, 11 months ago (2010-01-28 23:28:42 UTC) #19
greggman
checking. (sorry I didn't notice this email till now) On Thu, Jan 28, 2010 at ...
10 years, 11 months ago (2010-01-29 02:33:18 UTC) #20
greggman
10 years, 11 months ago (2010-01-29 02:39:59 UTC) #21
LGTM

Powered by Google App Engine
This is Rietveld 408576698