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

Issue 615503004: Remove TextureImageTransportSurface (Closed)

Created:
6 years, 2 months ago by no sievers
Modified:
6 years, 2 months ago
CC:
chromium-reviews, creis+watch_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, nasko+codewatch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, Fady Samuel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove TextureImageTransportSurface There is a lot of unreached image transport code due to - TextureImageTransportSurface actually being unused as a transport surface now (we either use delegated rendering or composite-to-mailbox) - Mac using delegated rendering TBR=sky@chromium.org Committed: https://crrev.com/ef40ec9021eea9fe5122c155ff5480affa41a577 Cr-Commit-Position: refs/heads/master@{#297490}

Patch Set 1 #

Patch Set 2 : unused includes #

Patch Set 3 : remove more dead code #

Patch Set 4 : mac build #

Patch Set 5 : build fixes #

Total comments: 2

Patch Set 6 : mac build #

Total comments: 2

Patch Set 7 : NOTREACHED -> NOTIMPLEMENTED #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -1050 lines) Patch
M content/browser/compositor/browser_compositor_view_mac.mm View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 2 chunks +1 line, -23 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 1 chunk +0 lines, -12 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.h View 1 2 2 chunks +0 lines, -7 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.cc View 1 2 3 chunks +17 lines, -101 lines 0 comments Download
M content/browser/renderer_host/render_widget_helper.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 1 chunk +0 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 2 chunks +1 line, -13 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 chunks +3 lines, -23 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 chunks +0 lines, -22 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 2 chunks +2 lines, -23 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 2 chunks +0 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 4 chunks +1 line, -28 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 2 chunks +0 lines, -44 lines 0 comments Download
M content/common/gpu/image_transport_surface.h View 1 2 4 chunks +0 lines, -7 lines 0 comments Download
M content/common/gpu/image_transport_surface.cc View 1 2 6 chunks +3 lines, -23 lines 0 comments Download
M content/common/gpu/image_transport_surface_android.cc View 5 chunks +7 lines, -40 lines 0 comments Download
M content/common/gpu/image_transport_surface_fbo_mac.mm View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M content/common/gpu/image_transport_surface_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
A content/common/gpu/null_transport_surface.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A content/common/gpu/null_transport_surface.cc View 1 2 3 4 5 6 1 chunk +67 lines, -0 lines 0 comments Download
D content/common/gpu/texture_image_transport_surface.h View 1 chunk +0 lines, -124 lines 0 comments Download
D content/common/gpu/texture_image_transport_surface.cc View 1 chunk +0 lines, -460 lines 0 comments Download
M content/content_common.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/test_render_view_host.h View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
M content/test/test_render_view_host.cc View 1 2 1 chunk +0 lines, -17 lines 0 comments Download
M ui/gfx/native_widget_types.h View 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
no sievers
ptal looks like everything uses delegated rendering or composite-to-mailbox now?
6 years, 2 months ago (2014-09-29 23:05:53 UTC) #2
no sievers
Hmm I think there is a lot more code that can be deleted.
6 years, 2 months ago (2014-09-29 23:14:52 UTC) #3
no sievers
6 years, 2 months ago (2014-09-30 00:18:16 UTC) #5
no sievers
+ccameron for mac
6 years, 2 months ago (2014-09-30 00:18:37 UTC) #6
no sievers
https://codereview.chromium.org/615503004/diff/80001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (left): https://codereview.chromium.org/615503004/diff/80001/content/browser/renderer_host/render_widget_host_view_mac.mm#oldcode1698 content/browser/renderer_host/render_widget_host_view_mac.mm:1698: // http://crbug.com/255608 Is this comment bug obsolete in the ...
6 years, 2 months ago (2014-09-30 00:48:02 UTC) #7
ccameron
Mac bits lgtm https://codereview.chromium.org/615503004/diff/80001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (left): https://codereview.chromium.org/615503004/diff/80001/content/browser/renderer_host/render_widget_host_view_mac.mm#oldcode1698 content/browser/renderer_host/render_widget_host_view_mac.mm:1698: // http://crbug.com/255608 On 2014/09/30 00:48:01, sievers ...
6 years, 2 months ago (2014-09-30 01:13:02 UTC) #8
piman
LGTM. Nice cleanup! I think in the future we can remove the NullTransportSurface, I think ...
6 years, 2 months ago (2014-09-30 03:06:47 UTC) #9
danakj
6 years, 2 months ago (2014-09-30 15:30:03 UTC) #10
Fady Samuel
Yaay! render_widget_host_view_guest lgtm!
6 years, 2 months ago (2014-09-30 15:33:12 UTC) #12
no sievers
+tsepez@ for IPC msg removal https://codereview.chromium.org/615503004/diff/100001/content/common/gpu/null_transport_surface.cc File content/common/gpu/null_transport_surface.cc (right): https://codereview.chromium.org/615503004/diff/100001/content/common/gpu/null_transport_surface.cc#newcode53 content/common/gpu/null_transport_surface.cc:53: NOTREACHED(); On 2014/09/30 03:06:47, ...
6 years, 2 months ago (2014-09-30 17:21:33 UTC) #14
Tom Sepez
Rubberstamp LGTM on deleting IPC messages. Thanks!
6 years, 2 months ago (2014-09-30 17:49:38 UTC) #15
no sievers
+sky for ui/gfx/native_widget_types.h where I merged two enums into one
6 years, 2 months ago (2014-09-30 17:53:14 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/615503004/120001
6 years, 2 months ago (2014-09-30 18:57:47 UTC) #19
sky
LGTM
6 years, 2 months ago (2014-09-30 19:21:49 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 3be2e7bd57894cd4e053da1e0fb3a097e2342b07
6 years, 2 months ago (2014-09-30 20:17:00 UTC) #21
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 20:17:42 UTC) #22
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ef40ec9021eea9fe5122c155ff5480affa41a577
Cr-Commit-Position: refs/heads/master@{#297490}

Powered by Google App Engine
This is Rietveld 408576698