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

Issue 3531008: Integrated Pepper3D v2 with the accelerated compositor.... (Closed)

Created:
10 years, 2 months ago by apatrick_chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, apatrick_chromium, stuartmorgan+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Integrated Pepper3D v2 with the accelerated compositor. - It now uses GGL instead of a child window. - Fixed a bug where GLES2 decoder set texture state without updating TextureInfo. - Fixed Pepper3D demos and added awesome 3D CSS programmer art. - Removed ggl::GetCurrentContext to prevent further abuse. Fixed said abuse :) - GGL exposes GLES2Implementation to allow issue of GL calls on a particular context without making that context globally current. - Removed redundant "this context" argument from GGL SwapBuffers completion callback. - Temporarily removed context lost notification. I need to figure out the best semantics. TEST=Run Pepper3D and WebGL demos and YouTube videos on Windows and Mac. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65152

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Total comments: 3

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -392 lines) Patch
M build/features_override.gypi View 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/ggl/ggl.h View 1 2 3 4 5 3 chunks +12 lines, -6 lines 0 comments Download
M chrome/renderer/ggl/ggl.cc View 1 2 3 4 5 12 chunks +25 lines, -25 lines 0 comments Download
M chrome/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 5 chunks +87 lines, -185 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 2 chunks +11 lines, -5 lines 0 comments Download
M chrome/renderer/webgraphicscontext3d_command_buffer_impl.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M gpu/demos/demos.gyp View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M gpu/demos/framework/pepper.cc View 1 2 3 4 5 1 chunk +21 lines, -22 lines 0 comments Download
M gpu/demos/pepper_gpu_demo.html View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/cpp/instance.h View 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/cpp/instance.cc View 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/glue/plugins/pepper_graphics_3d.h View 1 2 3 4 5 2 chunks +26 lines, -21 lines 0 comments Download
M webkit/glue/plugins/pepper_graphics_3d.cc View 1 2 3 4 5 4 chunks +74 lines, -75 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_delegate.h View 1 2 3 4 5 3 chunks +26 lines, -7 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_instance.h View 1 2 3 4 5 5 chunks +22 lines, -4 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_instance.cc View 1 2 3 4 5 11 chunks +73 lines, -32 lines 2 comments Download
M webkit/glue/plugins/pepper_webplugin_impl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/plugins/pepper_webplugin_impl.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/plugins/plugin_instance.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/plugins/plugin_instance.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/glue/plugins/webplugin_impl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/plugins/webplugin_impl.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/glue/plugins/webview_plugin.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/plugins/webview_plugin.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
apatrick_chromium
WebKit side to follow. Please review. Thanks.
10 years, 2 months ago (2010-10-20 20:08:07 UTC) #1
Vangelis Kokkevis
Looks good in general, although I'm not that familiar with that codebase. Some minor comments ...
10 years, 2 months ago (2010-10-21 21:59:39 UTC) #2
apatrick_chromium
Issues addressed. Any thoughts Darin? http://codereview.chromium.org/3531008/diff/31002/24004 File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/3531008/diff/31002/24004#newcode192 chrome/renderer/pepper_plugin_delegate_impl.cc:192: ggl::Context* parent_context = context->context(); ...
10 years, 2 months ago (2010-10-22 19:39:38 UTC) #3
Ken Russell (switch to Gerrit)
This looks good to me. One minor code comment and two test questions. Please run ...
10 years, 1 month ago (2010-10-26 22:11:54 UTC) #4
apatrick_chromium
All done I think. Tested on mac and windows with the changes committed to webkit. ...
10 years, 1 month ago (2010-11-04 00:24:51 UTC) #5
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/3531008/diff/92001/93004 File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/3531008/diff/92001/93004#newcode189 chrome/renderer/pepper_plugin_delegate_impl.cc:189: DCHECK(host->state() == GpuChannelHost::CONNECTED); The entire block of code from ...
10 years, 1 month ago (2010-11-04 00:50:49 UTC) #6
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/3531008/diff/92001/93004 File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/3531008/diff/92001/93004#newcode189 chrome/renderer/pepper_plugin_delegate_impl.cc:189: DCHECK(host->state() == GpuChannelHost::CONNECTED); On 2010/11/04 00:50:49, kbr wrote: > ...
10 years, 1 month ago (2010-11-04 01:10:38 UTC) #7
apatrick_chromium
Done
10 years, 1 month ago (2010-11-04 01:35:41 UTC) #8
Ken Russell (switch to Gerrit)
LGTM
10 years, 1 month ago (2010-11-04 01:37:50 UTC) #9
darin (slow to review)
http://codereview.chromium.org/3531008/diff/121001/122012 File ppapi/cpp/instance.h (right): http://codereview.chromium.org/3531008/diff/121001/122012#newcode90 ppapi/cpp/instance.h:90: bool BindGraphics(const PP_Resource& graphics); at least, this should be ...
10 years, 1 month ago (2010-11-04 19:31:23 UTC) #10
apatrick_chromium
I spoke with brettw and we decided to go with overloading BindGraphics. Being one of ...
10 years, 1 month ago (2010-11-04 20:34:44 UTC) #11
darin (slow to review)
LGTM for the ppapi changes
10 years, 1 month ago (2010-11-04 20:35:49 UTC) #12
jam
http://codereview.chromium.org/3531008/diff/146001/webkit/glue/plugins/pepper_plugin_instance.cc File webkit/glue/plugins/pepper_plugin_instance.cc (right): http://codereview.chromium.org/3531008/diff/146001/webkit/glue/plugins/pepper_plugin_instance.cc#newcode430 webkit/glue/plugins/pepper_plugin_instance.cc:430: bound_graphics_ = graphics_2d; moving this line up makes the ...
10 years, 1 month ago (2010-11-15 21:24:19 UTC) #13
apatrick_chromium
10 years, 1 month ago (2010-11-15 22:24:53 UTC) #14
Thanks for the catch.

http://codereview.chromium.org/3531008/diff/146001/webkit/glue/plugins/pepper...
File webkit/glue/plugins/pepper_plugin_instance.cc (right):

http://codereview.chromium.org/3531008/diff/146001/webkit/glue/plugins/pepper...
webkit/glue/plugins/pepper_plugin_instance.cc:430: bound_graphics_ =
graphics_2d;
No that looks like a bad refactor. Are you going to fix or shall I?

Powered by Google App Engine
This is Rietveld 408576698