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

Issue 11967013: Fixes issues when switching between software and compositing. (Closed)

Created:
7 years, 11 months ago by alexst (slow to review)
Modified:
7 years, 11 months ago
Reviewers:
Fady Samuel
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fixes issues when switching between software and compositing. Some buffers were sent back to the texture_image_transport_surface when it wasn't expecting them. This patch only sends and ACK when needed and destroys the buffer. BUG=169552 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177926

Patch Set 1 #

Total comments: 3

Patch Set 2 : Comments #

Total comments: 8

Patch Set 3 : Comments #

Total comments: 4

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -30 lines) Patch
M content/renderer/browser_plugin/browser_plugin.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_compositing_helper.h View 1 2 2 chunks +19 lines, -4 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_compositing_helper.cc View 1 2 3 4 2 chunks +99 lines, -22 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager_impl.h View 2 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager_impl.cc View 1 2 2 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
alexst (slow to review)
This should address the navigation coruption issue.
7 years, 11 months ago (2013-01-16 16:12:41 UTC) #1
Fady Samuel
Before I start looking at nits, could you please describe what you're doing here more ...
7 years, 11 months ago (2013-01-16 16:22:22 UTC) #2
alexst (slow to review)
> Before I start looking at nits, could you please describe what you're doing here ...
7 years, 11 months ago (2013-01-16 16:58:10 UTC) #3
alexst (slow to review)
https://codereview.chromium.org/11967013/diff/1/content/renderer/browser_plugin/browser_plugin_manager_impl.cc File content/renderer/browser_plugin/browser_plugin_manager_impl.cc (right): https://codereview.chromium.org/11967013/diff/1/content/renderer/browser_plugin/browser_plugin_manager_impl.cc#newcode95 content/renderer/browser_plugin/browser_plugin_manager_impl.cc:95: Send(new BrowserPluginHostMsg_BuffersSwappedACK( Because the browser plugin is already gone ...
7 years, 11 months ago (2013-01-16 16:58:21 UTC) #4
Fady Samuel
https://codereview.chromium.org/11967013/diff/7001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc File content/renderer/browser_plugin/browser_plugin_compositing_helper.cc (right): https://codereview.chromium.org/11967013/diff/7001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc#newcode44 content/renderer/browser_plugin/browser_plugin_compositing_helper.cc:44: WebKit::WebGraphicsContext3D *context = I don't really understand what this ...
7 years, 11 months ago (2013-01-17 19:18:45 UTC) #5
alexst (slow to review)
New patch. https://codereview.chromium.org/11967013/diff/7001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc File content/renderer/browser_plugin/browser_plugin_compositing_helper.cc (right): https://codereview.chromium.org/11967013/diff/7001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc#newcode44 content/renderer/browser_plugin/browser_plugin_compositing_helper.cc:44: WebKit::WebGraphicsContext3D *context = On 2013/01/17 19:18:45, Fady ...
7 years, 11 months ago (2013-01-18 18:49:43 UTC) #6
Fady Samuel
LGTM after you add some more comments, please. https://codereview.chromium.org/11967013/diff/11001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc File content/renderer/browser_plugin/browser_plugin_compositing_helper.cc (left): https://codereview.chromium.org/11967013/diff/11001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc#oldcode55 content/renderer/browser_plugin/browser_plugin_compositing_helper.cc:55: if ...
7 years, 11 months ago (2013-01-18 18:57:01 UTC) #7
alexst (slow to review)
Sure thing, more commends added. https://codereview.chromium.org/11967013/diff/11001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc File content/renderer/browser_plugin/browser_plugin_compositing_helper.cc (left): https://codereview.chromium.org/11967013/diff/11001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc#oldcode55 content/renderer/browser_plugin/browser_plugin_compositing_helper.cc:55: if (buffer_size_ != size) ...
7 years, 11 months ago (2013-01-18 19:15:42 UTC) #8
Fady Samuel
https://codereview.chromium.org/11967013/diff/21001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc File content/renderer/browser_plugin/browser_plugin_compositing_helper.cc (right): https://codereview.chromium.org/11967013/diff/21001/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc#newcode122 content/renderer/browser_plugin/browser_plugin_compositing_helper.cc:122: // including autosize and a resize in process. ..in ...
7 years, 11 months ago (2013-01-18 20:07:47 UTC) #9
alexst (slow to review)
> What does this do visually? This is for gutter right? Could you please explain ...
7 years, 11 months ago (2013-01-18 20:35:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/11967013/18003
7 years, 11 months ago (2013-01-21 13:23:16 UTC) #11
commit-bot: I haz the power
7 years, 11 months ago (2013-01-21 15:42:24 UTC) #12
Message was sent while issue was closed.
Change committed as 177926

Powered by Google App Engine
This is Rietveld 408576698