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

Issue 5994002: use accelerated compositing in fullscreen pepper (Closed)

Created:
10 years ago by piman
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Enable accelerated compositing in fullscreen pepper. The compositing itself is trivial since there is just a fullscreen plugin instance (that we blit full-screen), but it allows the use of the 3D contexts in pepper when fullscreen is on (they require accelerated compositing). Accelerated compositing is only triggered when a Surface3D is bound to the instance. Otherwise the regular 2D painting path is used. This CL also refactors a bit RenderWidgetFullscreenPepper, merging the trivial WidgetFullscreenContainer into RenderWidgetFullscreenPepper - it's simpler that way. BUG=none TEST=Flash Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70636

Patch Set 1 : . #

Total comments: 4

Patch Set 2 : cleanup resources #

Total comments: 4

Patch Set 3 : style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -73 lines) Patch
M chrome/renderer/render_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/render_widget_fullscreen_pepper.h View 1 2 chunks +36 lines, -13 lines 0 comments Download
M chrome/renderer/render_widget_fullscreen_pepper.cc View 1 8 chunks +244 lines, -57 lines 0 comments Download
M webkit/plugins/ppapi/fullscreen_container.h View 2 chunks +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 2 chunks +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 2 chunks +11 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_context_3d_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
piman
9 years, 11 months ago (2011-01-06 02:02:47 UTC) #1
apatrick
http://codereview.chromium.org/5994002/diff/2001/chrome/renderer/render_widget_fullscreen_pepper.cc File chrome/renderer/render_widget_fullscreen_pepper.cc (right): http://codereview.chromium.org/5994002/diff/2001/chrome/renderer/render_widget_fullscreen_pepper.cc#newcode355 chrome/renderer/render_widget_fullscreen_pepper.cc:355: float kTexCoords[] = { const float? http://codereview.chromium.org/5994002/diff/2001/chrome/renderer/render_widget_fullscreen_pepper.cc#newcode365 chrome/renderer/render_widget_fullscreen_pepper.cc:365: program_ ...
9 years, 11 months ago (2011-01-06 02:59:31 UTC) #2
piman
http://codereview.chromium.org/5994002/diff/2001/chrome/renderer/render_widget_fullscreen_pepper.cc File chrome/renderer/render_widget_fullscreen_pepper.cc (right): http://codereview.chromium.org/5994002/diff/2001/chrome/renderer/render_widget_fullscreen_pepper.cc#newcode355 chrome/renderer/render_widget_fullscreen_pepper.cc:355: float kTexCoords[] = { On 2011/01/06 02:59:31, apatrick wrote: ...
9 years, 11 months ago (2011-01-06 04:27:46 UTC) #3
apatrick
LGTM
9 years, 11 months ago (2011-01-06 16:43:03 UTC) #4
brettw
I didn't check the 3D stuff, but the plumbing LGTM. http://codereview.chromium.org/5994002/diff/8001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/5994002/diff/8001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode944 ...
9 years, 11 months ago (2011-01-06 17:52:32 UTC) #5
piman
http://codereview.chromium.org/5994002/diff/8001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/5994002/diff/8001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode944 webkit/plugins/ppapi/ppapi_plugin_instance.cc:944: if (fullscreen_container_) { On 2011/01/06 17:52:32, brettw wrote: > ...
9 years, 11 months ago (2011-01-06 20:18:25 UTC) #6
brettw
http://codereview.chromium.org/5994002/diff/8001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/5994002/diff/8001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode944 webkit/plugins/ppapi/ppapi_plugin_instance.cc:944: if (fullscreen_container_) { Nope, the only thing different about ...
9 years, 11 months ago (2011-01-06 20:22:12 UTC) #7
piman
http://codereview.chromium.org/5994002/diff/8001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/5994002/diff/8001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode944 webkit/plugins/ppapi/ppapi_plugin_instance.cc:944: if (fullscreen_container_) { On 2011/01/06 20:22:13, brettw wrote: > ...
9 years, 11 months ago (2011-01-06 20:38:58 UTC) #8
brettw
9 years, 11 months ago (2011-01-06 20:42:02 UTC) #9
(LGTM before if it wasn't clear, I'm happy with Al's review).

Powered by Google App Engine
This is Rietveld 408576698