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

Issue 1018773002: Added Destroy() functions for GPUTimer and GPUTracer/GPUTrace. (Closed)

Created:
5 years, 9 months ago by David Yen
Modified:
5 years, 9 months ago
CC:
chromium-reviews, 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

Added Destroy() functions for GPUTimer and GPUTracer/GPUTrace. BUG=467202 TEST=Shut down during gpu.device trace has no warnings. Committed: https://crrev.com/dbfb90d4dac51818e040c01ee2986bf64a18dfe3 Cr-Commit-Position: refs/heads/master@{#322304}

Patch Set 1 #

Patch Set 2 : Skip and disable non-enabled traces #

Total comments: 2

Patch Set 3 : Delete GPU Tracer after destroying it in decoder #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -20 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gpu_tracer.h View 3 chunks +6 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gpu_tracer.cc View 1 6 chunks +51 lines, -18 lines 0 comments Download
M gpu/command_buffer/service/gpu_tracer_unittest.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/perftests/measurements.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gpu_timing.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gpu_timing.cc View 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
David Yen
+vmiura for Gles2CmdDecoder and GPUTracer changes +dcastagna for GPUTiming changes +piman for perf changes I've ...
5 years, 9 months ago (2015-03-17 22:39:35 UTC) #2
piman
lgtm
5 years, 9 months ago (2015-03-18 01:53:56 UTC) #3
Daniele Castagna
lgtm. You could consider avoiding calling destroy on timers (and probably on GPUTrace) if there ...
5 years, 9 months ago (2015-03-18 17:02:33 UTC) #4
David Yen
On 2015/03/18 17:02:33, Daniele Castagna wrote: > lgtm. > > You could consider avoiding calling ...
5 years, 9 months ago (2015-03-18 23:39:42 UTC) #5
vmiura
LGTM https://codereview.chromium.org/1018773002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1018773002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode3754 gpu/command_buffer/service/gles2_cmd_decoder.cc:3754: gpu_tracer_->Destroy(have_context); Should we also delete gpu_tracer_here? gpu_tracer_ = ...
5 years, 9 months ago (2015-03-19 22:56:36 UTC) #6
David Yen
https://codereview.chromium.org/1018773002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1018773002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode3754 gpu/command_buffer/service/gles2_cmd_decoder.cc:3754: gpu_tracer_->Destroy(have_context); On 2015/03/19 22:56:36, vmiura wrote: > Should we ...
5 years, 9 months ago (2015-03-25 23:33:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1018773002/40001
5 years, 9 months ago (2015-03-25 23:35:21 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-26 02:41:57 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 02:42:45 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dbfb90d4dac51818e040c01ee2986bf64a18dfe3
Cr-Commit-Position: refs/heads/master@{#322304}

Powered by Google App Engine
This is Rietveld 408576698