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

Issue 1137093003: Mac: Add more trace events for CAOpenGLLayers (Closed)

Created:
5 years, 7 months ago by ccameron
Modified:
5 years, 7 months ago
Reviewers:
erikchen
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Add more trace events for CAOpenGLLayers There exists lots of tracing for the old CAOpenGLLayer path in ui::IOSurfaceLayerHelper. The new path doesn't have this tracing. This adds tracing for the swap state (this is the pseudo-thread counter corresponding to PendingSwapAck in ui::IOSurfaceLayerHelper, along with trace events for the important functions related to swaps on Mac. BUG=487882 Committed: https://crrev.com/7ecbfa316b3434fd0db181beefacc068e41d158b Cr-Commit-Position: refs/heads/master@{#329878}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Incorporate review feedback #

Patch Set 3 : Update both locations, clean up comments #

Total comments: 2

Patch Set 4 : Fix grammar #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -10 lines) Patch
M content/common/gpu/image_transport_surface_calayer_mac.mm View 1 2 3 6 chunks +29 lines, -0 lines 0 comments Download
M content/common/gpu/image_transport_surface_fbo_mac.mm View 5 chunks +5 lines, -0 lines 0 comments Download
M ui/accelerated_widget_mac/io_surface_layer.mm View 1 2 1 chunk +12 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
ccameron
More logs. Will be helpful with battor tracing, too.
5 years, 7 months ago (2015-05-14 01:23:14 UTC) #2
erikchen
https://codereview.chromium.org/1137093003/diff/1/content/common/gpu/image_transport_surface_calayer_mac.mm File content/common/gpu/image_transport_surface_calayer_mac.mm (right): https://codereview.chromium.org/1137093003/diff/1/content/common/gpu/image_transport_surface_calayer_mac.mm#newcode305 content/common/gpu/image_transport_surface_calayer_mac.mm:305: // canDrawInCGLContext for other value meanings. This comment is ...
5 years, 7 months ago (2015-05-14 01:43:53 UTC) #3
ccameron
Good point -- updated. https://codereview.chromium.org/1137093003/diff/1/content/common/gpu/image_transport_surface_calayer_mac.mm File content/common/gpu/image_transport_surface_calayer_mac.mm (right): https://codereview.chromium.org/1137093003/diff/1/content/common/gpu/image_transport_surface_calayer_mac.mm#newcode305 content/common/gpu/image_transport_surface_calayer_mac.mm:305: // canDrawInCGLContext for other value ...
5 years, 7 months ago (2015-05-14 01:55:12 UTC) #4
erikchen
lgtm https://codereview.chromium.org/1137093003/diff/40001/content/common/gpu/image_transport_surface_calayer_mac.mm File content/common/gpu/image_transport_surface_calayer_mac.mm (right): https://codereview.chromium.org/1137093003/diff/40001/content/common/gpu/image_transport_surface_calayer_mac.mm#newcode442 content/common/gpu/image_transport_surface_calayer_mac.mm:442: // This would tracing would be more natural ...
5 years, 7 months ago (2015-05-14 16:04:09 UTC) #5
ccameron
Thanks! https://codereview.chromium.org/1137093003/diff/40001/content/common/gpu/image_transport_surface_calayer_mac.mm File content/common/gpu/image_transport_surface_calayer_mac.mm (right): https://codereview.chromium.org/1137093003/diff/40001/content/common/gpu/image_transport_surface_calayer_mac.mm#newcode442 content/common/gpu/image_transport_surface_calayer_mac.mm:442: // This would tracing would be more natural ...
5 years, 7 months ago (2015-05-14 17:20:14 UTC) #6
ccameron
Thanks!
5 years, 7 months ago (2015-05-14 17:20:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137093003/60001
5 years, 7 months ago (2015-05-14 17:20:35 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-05-14 18:07:23 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 18:08:58 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7ecbfa316b3434fd0db181beefacc068e41d158b
Cr-Commit-Position: refs/heads/master@{#329878}

Powered by Google App Engine
This is Rietveld 408576698