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

Issue 11361170: Get windowless plugins working when accelerated compositing is turned on. (Closed)

Created:
8 years, 1 month ago by jam
Modified:
8 years, 1 month ago
Reviewers:
reveman, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Get windowless plugins working when accelerated compositing is turned on by copying the buffers using skia instead of OS specific ways that need the platform device. Also remove the code that kept the background buffer in sync with plugins since it's not necessary anymore. Looks like Flash and Silverlight support this correctly now. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=167042

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -340 lines) Patch
M content/common/plugin_messages.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/plugin/webplugin_delegate_stub.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M content/plugin/webplugin_proxy.h View 1 2 3 3 chunks +1 line, -9 lines 0 comments Download
M content/plugin/webplugin_proxy.cc View 1 2 3 12 chunks +4 lines, -59 lines 0 comments Download
M content/renderer/webplugin_delegate_proxy.h View 1 2 3 2 chunks +0 lines, -12 lines 0 comments Download
M content/renderer/webplugin_delegate_proxy.cc View 1 2 3 12 chunks +13 lines, -256 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jam
8 years, 1 month ago (2012-11-08 23:53:33 UTC) #1
jam
ping https://codereview.chromium.org/11361170/diff/9003/content/renderer/webplugin_delegate_proxy.cc File content/renderer/webplugin_delegate_proxy.cc (right): https://codereview.chromium.org/11361170/diff/9003/content/renderer/webplugin_delegate_proxy.cc#newcode787 content/renderer/webplugin_delegate_proxy.cc:787: &src_rect, gfx::RectToSkRect(offset_rect)); btw I found that somehow this ...
8 years, 1 month ago (2012-11-09 19:02:25 UTC) #2
piman
+reveman who has looked at windowless NPAPI issues with compositing. https://codereview.chromium.org/11361170/diff/9003/content/renderer/webplugin_delegate_proxy.cc File content/renderer/webplugin_delegate_proxy.cc (left): https://codereview.chromium.org/11361170/diff/9003/content/renderer/webplugin_delegate_proxy.cc#oldcode838 ...
8 years, 1 month ago (2012-11-09 19:27:02 UTC) #3
jam
https://codereview.chromium.org/11361170/diff/9003/content/renderer/webplugin_delegate_proxy.cc File content/renderer/webplugin_delegate_proxy.cc (right): https://codereview.chromium.org/11361170/diff/9003/content/renderer/webplugin_delegate_proxy.cc#newcode676 content/renderer/webplugin_delegate_proxy.cc:676: background_store_.canvas->drawColor(SK_ColorWHITE); On 2012/11/09 19:27:03, piman wrote: > How about ...
8 years, 1 month ago (2012-11-09 22:50:24 UTC) #4
piman
8 years, 1 month ago (2012-11-09 23:50:48 UTC) #5
Well, that makes it easy. Very nice.
LGTM

Powered by Google App Engine
This is Rietveld 408576698