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

Issue 1529005: New experimental Pepper device API.... (Closed)

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

Description

New experimental Pepper device API. - makes device contexts opaque to the plugin - can get / set multiple attributes and flush with a single call (and underlying IPC message exchange) - currently works in parallel with old API - adapted pepper test plugin to use new API if use_new_npdevice_api=1 TEST=trybots, visual confirmation that pepper test plugin works with new API BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44840

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+702 lines, -14 lines) Patch
M build/common.gypi View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/renderer/webplugin_delegate_pepper.h View 1 2 3 1 chunk +20 lines, -0 lines 1 comment Download
M chrome/renderer/webplugin_delegate_pepper.cc View 1 2 3 5 chunks +185 lines, -2 lines 0 comments Download
M gpu/pgl/command_buffer_pepper.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/pgl/command_buffer_pepper.cc View 1 2 3 4 chunks +85 lines, -0 lines 0 comments Download
M gpu/pgl/pgl.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/npapi/bindings/npapi_extensions.h View 1 2 3 4 chunks +218 lines, -0 lines 0 comments Download
M webkit/glue/plugins/npapi_extension_thunk.cc View 1 2 3 3 chunks +103 lines, -12 lines 0 comments Download
M webkit/glue/plugins/webplugin_3d_device_delegate.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M webkit/tools/npapi_pepper_test_plugin/pepper_3d_test.h View 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/tools/npapi_pepper_test_plugin/pepper_3d_test.cc View 5 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
apatrick_chromium
This still needs quite a bit of work. I would appreciate early feedback. I've only ...
10 years, 8 months ago (2010-03-30 23:47:41 UTC) #1
darin (slow to review)
I just reviewed npapi_extensions.h: http://codereview.chromium.org/1529005/diff/1/6 File third_party/npapi/bindings/npapi_extensions.h (right): http://codereview.chromium.org/1529005/diff/1/6#newcode178 third_party/npapi/bindings/npapi_extensions.h:178: typedef NPError(*NPDeviceGetNumConfigsPtr)(NPP instance, nit: space ...
10 years, 8 months ago (2010-03-31 21:58:01 UTC) #2
apatrick_chromium
All issues addressed. I made some simplifications as well.
10 years, 8 months ago (2010-03-31 22:48:52 UTC) #3
darin (slow to review)
API looks good to me so far. http://codereview.chromium.org/1529005/diff/18001/15006 File third_party/npapi/bindings/npapi_extensions.h (right): http://codereview.chromium.org/1529005/diff/18001/15006#newcode235 third_party/npapi/bindings/npapi_extensions.h:235: int32 callback_type, ...
10 years, 8 months ago (2010-03-31 23:43:16 UTC) #4
apatrick_chromium
neb and/or brettw, can you take a look at this and see if you think ...
10 years, 8 months ago (2010-04-06 22:18:56 UTC) #5
brettw
On Tue, Apr 6, 2010 at 3:18 PM, <apatrick@chromium.org> wrote: > neb and/or brettw, can ...
10 years, 8 months ago (2010-04-07 00:13:26 UTC) #6
neb
On 2010/04/06 22:18:56, apatrick_chromium wrote: > neb and/or brettw, can you take a look at ...
10 years, 8 months ago (2010-04-13 17:52:20 UTC) #7
apatrick_chromium
I have both the old device API and the new API working in parallel. 2D ...
10 years, 8 months ago (2010-04-15 00:05:26 UTC) #8
brettw
LGTM
10 years, 8 months ago (2010-04-16 18:17:45 UTC) #9
Nico
9 years, 10 months ago (2011-02-07 04:42:21 UTC) #10
http://codereview.chromium.org/1529005/diff/27001/chrome/renderer/webplugin_d...
File chrome/renderer/webplugin_delegate_pepper.h (right):

http://codereview.chromium.org/1529005/diff/27001/chrome/renderer/webplugin_d...
chrome/renderer/webplugin_delegate_pepper.h:158: void* callback_data);
Hi, this doesn't actually override the superclass method, because the parameter
type of the 2nd parameter is different. Will file a bug in a minute.

Powered by Google App Engine
This is Rietveld 408576698