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

Issue 137823002: GPU: Add trace for real SwapBuffers. (Closed)

Created:
6 years, 11 months ago by epenner
Modified:
6 years, 11 months ago
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

GPU: Add trace for real SwapBuffers. There is too many abstractions in our surface classes to determine 'real' SwapBuffers calls in traces. This adds traces in all the relevant places where we do 'real' swaps. BUG=334063 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245107

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Fix include order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -3 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ui/gl/gl_surface_egl.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_glx.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_nsview.mm View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_wgl.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_x11.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
epenner
Ptal. I think I got all of them. Let me know if there is any ...
6 years, 11 months ago (2014-01-14 04:33:00 UTC) #1
rjkroege
On 2014/01/14 04:33:00, epenner wrote: > Ptal. I think I got all of them. Let ...
6 years, 11 months ago (2014-01-14 15:24:06 UTC) #2
Ken Russell (switch to Gerrit)
lgtm https://codereview.chromium.org/137823002/diff/1/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): https://codereview.chromium.org/137823002/diff/1/ui/gl/gl_surface_egl.cc#newcode398 ui/gl/gl_surface_egl.cc:398: TRACE_EVENT2("gpu", "SwapBuffers", You might want to name these ...
6 years, 11 months ago (2014-01-14 20:01:16 UTC) #3
epenner
I've also removed the "Onscreen" trace that was always confusing (since several non-real swaps can ...
6 years, 11 months ago (2014-01-14 21:38:20 UTC) #4
epennerAtGoogle
Landing. rjkroege, it does sound good but I'm just not familiar enough with software rendering ...
6 years, 11 months ago (2014-01-14 21:40:35 UTC) #5
no sievers
lgtm. Not sure it needs the 'Real' prefixes but if it makes telemetry/parsing easier, I ...
6 years, 11 months ago (2014-01-14 22:22:18 UTC) #6
epennerAtGoogle
Yeah I snuck in the real to make the parsing easier since we plan to ...
6 years, 11 months ago (2014-01-14 22:40:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/137823002/120001
6 years, 11 months ago (2014-01-14 23:45:30 UTC) #8
commit-bot: I haz the power
Failed to trigger a try job on win_rel HTTP Error 400: Bad Request
6 years, 11 months ago (2014-01-14 23:45:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/137823002/130007
6 years, 11 months ago (2014-01-15 04:35:35 UTC) #10
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 04:23:26 UTC) #11
Message was sent while issue was closed.
Change committed as 245107

Powered by Google App Engine
This is Rietveld 408576698