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

Issue 4142004: Let every "accelerated IO surface swapped" message have an identifier of the surface. (Closed)

Created:
10 years, 1 month ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, jam, apatrick_chromium, darin-cc_chromium.org, brettw-cc_chromium.org, pam+watch_chromium.org, stuartmorgan+watch_chromium.org
Visibility:
Public.

Description

Let every "accelerated IO surface swapped" message have an identifier of the surface. Currently, this is only used to DCHECK a currently implicit invariant, but I want to use this to let every surface container only remember its last painted-to surface, and not its last created surface. No behavior change. BUG=53165 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64317

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 14

Patch Set 4 : comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -45 lines) Patch
M app/surface/accelerated_surface_mac.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M app/surface/accelerated_surface_mac.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/gpu_process_host.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/gpu_process_host.cc View 3 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/renderer_host/accelerated_surface_container_mac.h View 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/accelerated_surface_container_mac.cc View 3 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/test/test_render_view_host.h View 2 3 1 chunk +2 lines, -1 line 1 comment Download
M chrome/browser/renderer_host/test/test_render_view_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/gpu_messages_internal.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/common/plugin_messages_internal.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/gpu/gpu_command_buffer_stub.cc View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/plugin/command_buffer_stub.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/plugin/webplugin_accelerated_surface_proxy_mac.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/plugin/webplugin_proxy.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/plugin/webplugin_proxy.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor_mac.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Nico
10 years, 1 month ago (2010-10-26 22:07:57 UTC) #1
stuartmorgan
Can you elaborate on what the benefit is here? You mention the container not having ...
10 years, 1 month ago (2010-10-26 22:57:39 UTC) #2
Nico
On Tue, Oct 26, 2010 at 3:57 PM, <stuartmorgan@chromium.org> wrote: > Can you elaborate on ...
10 years, 1 month ago (2010-10-27 00:19:59 UTC) #3
Nico
http://codereview.chromium.org/4142004/diff/5001/6001 File app/surface/accelerated_surface_mac.cc (right): http://codereview.chromium.org/4142004/diff/5001/6001#newcode276 app/surface/accelerated_surface_mac.cc:276: return io_surface_support->IOSurfaceGetID(io_surface_); On 2010/10/26 22:57:39, stuartmorgan wrote: > Perhaps ...
10 years, 1 month ago (2010-10-28 19:40:32 UTC) #4
stuartmorgan
10 years, 1 month ago (2010-10-28 21:29:52 UTC) #5
LGTM with nit.

http://codereview.chromium.org/4142004/diff/18001/19015
File chrome/browser/renderer_host/test/test_render_view_host.h (right):

http://codereview.chromium.org/4142004/diff/18001/19015#newcode122
chrome/browser/renderer_host/test/test_render_view_host.h:122: uint64);
Add variable name.

Powered by Google App Engine
This is Rietveld 408576698