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

Issue 9420017: Add Pepper support for several GL extensions (Closed)

Created:
8 years, 10 months ago by jbauman
Modified:
8 years, 9 months ago
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org, yzshen+watch_chromium.org, apatrick_chromium, ihf+watch_chromium.org, nfullagar
Visibility:
Public.

Description

Add Pepper support for several GL extensions Add support to the command buffer code generator to generate multiple pepper interfaces, and use that to generate interfaces for ANGLE_instanced_arrays, ANGLE_framebuffer_blit, ANGLE_framebuffer_multisample, CHROMIUM_enable_feature, and CHROMIUM_map_sub. BUG=93148 TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123696 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123702

Patch Set 1 #

Patch Set 2 : change name #

Total comments: 2

Patch Set 3 : make dev interface and remove older version #

Total comments: 2

Patch Set 4 : add header #

Total comments: 3

Patch Set 5 : fix build_gles2_cmd_buffer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+823 lines, -356 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 23 chunks +169 lines, -56 lines 0 comments Download
D ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h View 1 2 1 chunk +0 lines, -47 lines 0 comments Download
A ppapi/c/dev/ppb_opengles2ext_dev.h View 1 2 1 chunk +82 lines, -0 lines 0 comments Download
M ppapi/lib/gl/gles2/gl2ext_ppapi.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M ppapi/lib/gl/gles2/gl2ext_ppapi.c View 1 2 3 chunks +56 lines, -0 lines 0 comments Download
M ppapi/lib/gl/gles2/gles2.c View 1 2 2 chunks +93 lines, -1 line 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_opengles.cc View 1 2 3 chunks +100 lines, -1 line 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc View 1 2 1 chunk +16 lines, -1 line 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M ppapi/shared_impl/ppb_graphics_3d_shared.h View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
M ppapi/shared_impl/ppb_graphics_3d_shared.cc View 1 2 1 chunk +0 lines, -17 lines 0 comments Download
M ppapi/shared_impl/ppb_opengles2_shared.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M ppapi/shared_impl/ppb_opengles2_shared.cc View 1 2 2 chunks +249 lines, -147 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
D ppapi/thunk/ppb_gles_chromium_texture_mapping_thunk.cc View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
M ppapi/thunk/ppb_graphics_3d_api.h View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
jbauman
8 years, 10 months ago (2012-02-16 19:44:17 UTC) #1
nfullagar
also, you probably want to edit trunk/src/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc, around line 187 (search for enable_3d_interface) and add ...
8 years, 10 months ago (2012-02-16 23:25:43 UTC) #2
jbauman
On 2012/02/16 23:25:43, nfullagar wrote: > also, you probably want to edit > trunk/src/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc, around ...
8 years, 10 months ago (2012-02-16 23:32:46 UTC) #3
jbauman
Ok, I changed this so that all the new interfaces are dev interfaces. On 2012/02/16 ...
8 years, 10 months ago (2012-02-17 23:29:28 UTC) #4
nfullagar
thx for the dev change. couple more #include. otherwise lgtm pending main reviewer feedback http://codereview.chromium.org/9420017/diff/6003/ppapi/proxy/interface_list.cc ...
8 years, 10 months ago (2012-02-18 00:18:03 UTC) #5
jbauman
Antoine, do you want to review this, or would you prefer I get someone different? ...
8 years, 10 months ago (2012-02-21 22:14:21 UTC) #6
jbauman
Apparently Antoine is out, so adding gman@, brettw@, and darin@ for OWNERS review (and possibly ...
8 years, 10 months ago (2012-02-22 00:27:38 UTC) #7
greggman
lgtm for the src/gpu part http://codereview.chromium.org/9420017/diff/7025/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): http://codereview.chromium.org/9420017/diff/7025/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode738 gpu/command_buffer/build_gles2_cmd_buffer.py:738: ('', False), You can ...
8 years, 10 months ago (2012-02-22 00:53:05 UTC) #8
brettw
Please specify who you need to review what, and only add one owner for one ...
8 years, 10 months ago (2012-02-22 19:04:35 UTC) #9
jbauman
Ok, brettw for owners review of ppapi/ and webkit/plugins/ppapi.
8 years, 10 months ago (2012-02-22 19:06:00 UTC) #10
brettw
lgtm
8 years, 10 months ago (2012-02-25 18:28:43 UTC) #11
piman
Just to close the loop, did you check with Flash people about the API change ...
8 years, 9 months ago (2012-03-05 17:10:46 UTC) #12
jbauman
On 2012/03/05 17:10:46, piman wrote: > Just to close the loop, did you check with ...
8 years, 9 months ago (2012-03-05 20:56:30 UTC) #13
Antoine Labour
On Mon, Mar 5, 2012 at 12:56 PM, <jbauman@chromium.org> wrote: > On 2012/03/05 17:10:46, piman ...
8 years, 9 months ago (2012-03-05 23:32:32 UTC) #14
ilja
Thanks for the warning, I prepared a change for vtl.
8 years, 9 months ago (2012-03-06 07:26:02 UTC) #15
viettrungluu
On 2012/03/05 23:32:32, Antoine Labour wrote: > On Mon, Mar 5, 2012 at 12:56 PM, ...
8 years, 9 months ago (2012-03-06 18:18:01 UTC) #16
jbauman
8 years, 9 months ago (2012-03-06 20:15:38 UTC) #17
On 2012/03/06 18:18:01, viettrungluu wrote:
> On 2012/03/05 23:32:32, Antoine Labour wrote:
> > On Mon, Mar 5, 2012 at 12:56 PM, <mailto:jbauman@chromium.org> wrote:
> > 
> > > On 2012/03/05 17:10:46, piman wrote:
> > >
> > >> Just to close the loop, did you check with Flash people about the API
> > >> change
> > >>
> > > for
> > >
> > >> PPB_**GLESChromiumTextureMapping? Without special treatment it would
> > >> break
> > >>
> > > Flash.
> > >
> > > Yeah, I just left that api in when checking this in (one of the tests
> > > caught the
> > > issue). We'll need to get them to change their code before we remove it.
> > >
> > 
> > Ok, great, thanks :)
> > 
> > 
> > >
> > >
> >
>
http://codereview.chromium.**org/9420017/%253Chttp://codereview.chromium.org/...>
> > >
> 
> I'd very much like to remain backwards compatible with early revisions of
Chrome
> (back to M18) without too much trouble. Could you hold off on removing the
older
> interface for a while?
> 
> (Obviously, we can work around that, but it'd be better if Chrome continued to
> support the old interface, at least until M19 ships to Stable.)

Sure, keeping the old interface around for a while shouldn't be an issue.
Actually, it would probably be easiest to not switch to the new interface until
it's promoted to stable (hopefully by M19).

Powered by Google App Engine
This is Rietveld 408576698