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

Issue 10910242: Makes copying layers clone external textures. (Closed)

Created:
8 years, 3 months ago by sky
Modified:
8 years, 3 months ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, Ian Vollick, tfarina, jonathan.backer, jam, penghuang+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, James Su
Visibility:
Public.

Description

Makes copying layers clone external textures. BUG=146428 TEST=none R=piman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156571

Patch Set 1 #

Patch Set 2 : Tweaks #

Total comments: 3

Patch Set 3 : Incorporate review feedback #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -7 lines) Patch
M content/browser/renderer_host/image_transport_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/common/gpu/client/gl_helper.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M content/common/gpu/client/gl_helper.cc View 5 chunks +27 lines, -6 lines 0 comments Download
M ui/aura/demo/demo_main.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/test/test_window_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/test/test_window_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/window.cc View 1 chunk +2 lines, -0 lines 1 comment Download
M ui/aura/window_delegate.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M ui/compositor/layer.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_native_widget_aura.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_native_widget_aura.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
sky
8 years, 3 months ago (2012-09-12 23:56:28 UTC) #1
piman
Overall this should work. Just minor details about transitional states. http://codereview.chromium.org/10910242/diff/2001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): http://codereview.chromium.org/10910242/diff/2001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1282 ...
8 years, 3 months ago (2012-09-13 00:19:10 UTC) #2
sky
I incorporated all your feedback. New patchset uploaded.
8 years, 3 months ago (2012-09-13 00:28:01 UTC) #3
piman
lgtm
8 years, 3 months ago (2012-09-13 00:28:59 UTC) #4
sky
Ben, did you want to take a look at the aura changes?
8 years, 3 months ago (2012-09-13 00:29:43 UTC) #5
Ben Goodger (Google)
lgtm
8 years, 3 months ago (2012-09-13 15:34:35 UTC) #6
piman
http://codereview.chromium.org/10910242/diff/3003/ui/aura/window.cc File ui/aura/window.cc (right): http://codereview.chromium.org/10910242/diff/3003/ui/aura/window.cc#newcode171 ui/aura/window.cc:171: old_layer->SetExternalTexture(delegate_->CopyTexture()); I just realized, the ui::Texture doesn't take ownership ...
8 years, 3 months ago (2012-09-14 02:27:17 UTC) #7
sky
8 years, 3 months ago (2012-09-14 16:07:58 UTC) #8
Oi, this must be the leak I was just asked about. I'll look at it ASAP

Powered by Google App Engine
This is Rietveld 408576698