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

Issue 780653007: Added GL_CHROMIUM_trace_marker feature as well as gpu_toplevel markers. (Closed)

Created:
6 years ago by David Yen
Modified:
5 years, 7 months ago
CC:
chromium-reviews, James Su, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, wfh+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, dsinclair+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added GL_CHROMIUM_trace_marker feature as well as gpu_toplevel markers. Added a GL_CHROMIUM_trace_marker extension which allows us to execute GPU traces with an associated category and trace name. This feature has been documented here and is also used for "gpu_toplevel" traces so we can display traces for top level graphics contexts. blink side: https://codereview.chromium.org/797273003/ R=vmiura@chromium.org BUG=None TEST=trybots Committed: https://crrev.com/52554adb44477b802d66105d8e345f1bead3810c Cr-Commit-Position: refs/heads/master@{#310399}

Patch Set 1 #

Patch Set 2 : Fixed render host for android tracing #

Total comments: 5

Patch Set 3 : Merged GL_CHROMIUM_trace_marker features #

Patch Set 4 : Updated CHROMIUM_trace_marker.txt date and brace error #

Total comments: 11

Patch Set 5 : Removed endtrace calls #

Total comments: 5

Patch Set 6 : Fixed up spec wording, removed android context trace end #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -3 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A gpu/GLES2/extensions/CHROMIUM/CHROMIUM_trace_marker.txt View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webkit/common/gpu/context_provider_in_process.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 26 (4 generated)
David Yen
This CL is to be merged and tested after: https://codereview.chromium.org/776603003/
6 years ago (2014-12-08 22:37:50 UTC) #1
vmiura
https://codereview.chromium.org/780653007/diff/20001/base/debug/trace_event.h File base/debug/trace_event.h (right): https://codereview.chromium.org/780653007/diff/20001/base/debug/trace_event.h#newcode794 base/debug/trace_event.h:794: context->TraceBeginCHROMIUM(category_group, name); \ I think we should check if ...
6 years ago (2014-12-09 00:18:11 UTC) #2
vmiura
BTW, I think it will be better to put the macros in GPU client code ...
6 years ago (2014-12-09 00:25:23 UTC) #3
David Yen
I've removed the macros for tracing GPUs from this CL because all the gpu_toplevel traces ...
6 years ago (2014-12-17 22:50:24 UTC) #5
Ken Russell (switch to Gerrit)
I'm not familiar enough with the semantics of these calls to review this effectively. rslgtm ...
6 years ago (2014-12-17 23:56:10 UTC) #6
Ken Russell (switch to Gerrit)
er, rs lgtm.
6 years ago (2014-12-17 23:56:22 UTC) #7
vmiura
https://codereview.chromium.org/780653007/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_trace_marker.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_trace_marker.txt (right): https://codereview.chromium.org/780653007/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_trace_marker.txt#newcode25 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_trace_marker.txt:25: the trace will automatically end with the commands of ...
6 years ago (2014-12-18 02:38:52 UTC) #8
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/780653007/diff/60001/webkit/common/gpu/context_provider_in_process.cc File webkit/common/gpu/context_provider_in_process.cc (right): https://codereview.chromium.org/780653007/diff/60001/webkit/common/gpu/context_provider_in_process.cc#newcode198 webkit/common/gpu/context_provider_in_process.cc:198: context3d_->traceEndCHROMIUM(); On 2014/12/18 02:38:52, vmiura wrote: > On 2014/12/17 ...
6 years ago (2014-12-18 19:03:56 UTC) #9
vmiura
https://codereview.chromium.org/780653007/diff/60001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/780653007/diff/60001/content/common/gpu/client/context_provider_command_buffer.cc#newcode202 content/common/gpu/client/context_provider_command_buffer.cc:202: context3d_->traceEndCHROMIUM(); Likewise, can we just remove this call, as ...
6 years ago (2014-12-18 19:30:27 UTC) #10
David Yen
On 2014/12/18 19:30:27, vmiura wrote: > https://codereview.chromium.org/780653007/diff/60001/content/common/gpu/client/context_provider_command_buffer.cc > File content/common/gpu/client/context_provider_command_buffer.cc (right): > > https://codereview.chromium.org/780653007/diff/60001/content/common/gpu/client/context_provider_command_buffer.cc#newcode202 > ...
6 years ago (2014-12-18 20:32:36 UTC) #11
vmiura
On 2014/12/18 20:32:36, David Yen wrote: > On 2014/12/18 19:30:27, vmiura wrote: > > > ...
6 years ago (2014-12-18 20:49:49 UTC) #12
David Yen
Ok, I removed the end traces for the contexts. https://codereview.chromium.org/780653007/diff/60001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/780653007/diff/60001/content/common/gpu/client/context_provider_command_buffer.cc#newcode202 content/common/gpu/client/context_provider_command_buffer.cc:202: ...
6 years ago (2014-12-18 21:26:00 UTC) #13
vmiura
LGTM modulo comments. https://codereview.chromium.org/780653007/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/780653007/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode139 content/browser/renderer_host/render_widget_host_view_android.cc:139: context_->traceEndCHROMIUM(); On 2014/12/18 21:26:00, David Yen ...
6 years ago (2014-12-18 21:49:39 UTC) #14
David Yen
https://codereview.chromium.org/780653007/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/780653007/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode139 content/browser/renderer_host/render_widget_host_view_android.cc:139: context_->traceEndCHROMIUM(); On 2014/12/18 21:49:39, vmiura wrote: > On 2014/12/18 ...
6 years ago (2014-12-18 21:54:27 UTC) #15
David Yen
On 2014/12/18 21:54:27, David Yen wrote: > https://codereview.chromium.org/780653007/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc > File content/browser/renderer_host/render_widget_host_view_android.cc (right): > > https://codereview.chromium.org/780653007/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode139 ...
5 years, 11 months ago (2015-01-05 17:28:05 UTC) #16
no sievers
On 2015/01/05 17:28:05, David Yen wrote: > On 2014/12/18 21:54:27, David Yen wrote: > > ...
5 years, 11 months ago (2015-01-05 19:08:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/780653007/100001
5 years, 11 months ago (2015-01-07 18:54:14 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_rel/builds/3618) chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/33709)
5 years, 11 months ago (2015-01-07 19:02:38 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/780653007/120001
5 years, 11 months ago (2015-01-07 22:55:47 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 11 months ago (2015-01-07 22:57:03 UTC) #24
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/52554adb44477b802d66105d8e345f1bead3810c Cr-Commit-Position: refs/heads/master@{#310399}
5 years, 11 months ago (2015-01-07 22:58:05 UTC) #25
no sievers
5 years, 7 months ago (2015-04-28 21:27:01 UTC) #26
Message was sent while issue was closed.
Why did this remove the group markers?
I just noticed that I don't get the info about the context anymore when the
decoder is logging.

Powered by Google App Engine
This is Rietveld 408576698