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

Issue 184443003: Add Gpu Tracing to Ganesh (Closed)

Created:
6 years, 9 months ago by egdaniel
Modified:
6 years, 9 months ago
Reviewers:
bsalomon, tomhudson
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Add Gpu Tracing to Ganesh BUG=skia:2316 Committed: http://code.google.com/p/skia/source/detail?r=13936

Patch Set 1 #

Patch Set 2 : Partial version #

Total comments: 42

Patch Set 3 : Updates #

Patch Set 4 : Added files #

Total comments: 9

Patch Set 5 : Generator change #

Patch Set 6 : Android Fix #

Total comments: 1

Patch Set 7 : Use SkTLazy #

Total comments: 2

Patch Set 8 : Merge conflict fixes #

Patch Set 9 : Merge fixes 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -79 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 8 9 chunks +17 lines, -0 lines 0 comments Download
M src/gpu/GrDrawTarget.h View 1 2 3 4 5 6 7 6 chunks +18 lines, -16 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 2 3 4 5 6 7 2 chunks +11 lines, -15 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 1 2 3 4 5 6 7 10 chunks +63 lines, -24 lines 0 comments Download
A src/gpu/GrTraceMarker.h View 1 2 3 4 1 chunk +69 lines, -0 lines 0 comments Download
A src/gpu/GrTraceMarker.cpp View 1 2 3 4 1 chunk +117 lines, -0 lines 0 comments Download
A src/gpu/GrTracing.h View 1 2 3 4 5 6 1 chunk +66 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLInterface.cpp View 1 2 3 4 5 6 7 2 chunks +0 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGpuGL.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 6 7 1 chunk +6 lines, -11 lines 0 comments Download
M src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 34 (0 generated)
egdaniel
This is not a complete version. Just want to get some feed back at this ...
6 years, 9 months ago (2014-03-17 16:20:23 UTC) #1
bsalomon
Overall I think this is looking nice. https://codereview.chromium.org/184443003/diff/40001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/184443003/diff/40001/include/gpu/GrContext.h#newcode859 include/gpu/GrContext.h:859: bool gpuTracingEnabled() ...
6 years, 9 months ago (2014-03-17 17:50:38 UTC) #2
egdaniel
https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrContext.cpp#newcode104 src/gpu/GrContext.cpp:104: fGpuTracingEnabled = true; That's the plan. Just set that ...
6 years, 9 months ago (2014-03-17 19:49:12 UTC) #3
bsalomon
Sorry for the delay! I started these comments a while back, got interrupted, and forgot ...
6 years, 9 months ago (2014-03-19 13:28:44 UTC) #4
egdaniel
https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h File src/gpu/GrDrawTarget.h (right): https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h#newcode454 src/gpu/GrDrawTarget.h:454: static SkString getTraceString(SkTDArray<GpuTraceMarker>* markerArray, So the function has already ...
6 years, 9 months ago (2014-03-19 14:27:03 UTC) #5
bsalomon
https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h File src/gpu/GrDrawTarget.h (right): https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h#newcode454 src/gpu/GrDrawTarget.h:454: static SkString getTraceString(SkTDArray<GpuTraceMarker>* markerArray, On 2014/03/19 14:27:03, egdaniel wrote: ...
6 years, 9 months ago (2014-03-19 14:43:43 UTC) #6
egdaniel
https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h File src/gpu/GrDrawTarget.h (right): https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h#newcode454 src/gpu/GrDrawTarget.h:454: static SkString getTraceString(SkTDArray<GpuTraceMarker>* markerArray, Okay so here is my ...
6 years, 9 months ago (2014-03-19 15:16:28 UTC) #7
egdaniel
https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h File src/gpu/GrDrawTarget.h (right): https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h#newcode454 src/gpu/GrDrawTarget.h:454: static SkString getTraceString(SkTDArray<GpuTraceMarker>* markerArray, Okay so here is my ...
6 years, 9 months ago (2014-03-19 15:16:29 UTC) #8
bsalomon
https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h File src/gpu/GrDrawTarget.h (right): https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h#newcode454 src/gpu/GrDrawTarget.h:454: static SkString getTraceString(SkTDArray<GpuTraceMarker>* markerArray, On 2014/03/19 15:16:30, egdaniel wrote: ...
6 years, 9 months ago (2014-03-19 15:27:00 UTC) #9
egdaniel
https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h File src/gpu/GrDrawTarget.h (right): https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h#newcode454 src/gpu/GrDrawTarget.h:454: static SkString getTraceString(SkTDArray<GpuTraceMarker>* markerArray, So internally I have a ...
6 years, 9 months ago (2014-03-19 15:33:53 UTC) #10
bsalomon
https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h File src/gpu/GrDrawTarget.h (right): https://codereview.chromium.org/184443003/diff/40001/src/gpu/GrDrawTarget.h#newcode454 src/gpu/GrDrawTarget.h:454: static SkString getTraceString(SkTDArray<GpuTraceMarker>* markerArray, On 2014/03/19 15:33:53, egdaniel wrote: ...
6 years, 9 months ago (2014-03-19 15:50:38 UTC) #11
egdaniel
First possible good version. Should we leave in the current new Trace marker calls I ...
6 years, 9 months ago (2014-03-20 15:50:49 UTC) #12
egdaniel
Added new files
6 years, 9 months ago (2014-03-20 16:10:48 UTC) #13
bsalomon
looking good https://codereview.chromium.org/184443003/diff/100001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/184443003/diff/100001/include/gpu/GrContext.h#newcode864 include/gpu/GrContext.h:864: bool isGpuTracingEnabled() const { return fGpuTracingEnabled; } ...
6 years, 9 months ago (2014-03-20 16:32:53 UTC) #14
egdaniel
I changed up the marker generator in this version to do as minimal amount of ...
6 years, 9 months ago (2014-03-21 13:32:36 UTC) #15
egdaniel
I changed up the marker generator in this version to do as minimal amount of ...
6 years, 9 months ago (2014-03-21 13:32:36 UTC) #16
egdaniel
6 years, 9 months ago (2014-03-24 14:26:56 UTC) #17
bsalomon
https://codereview.chromium.org/184443003/diff/140001/src/gpu/GrTracing.h File src/gpu/GrTracing.h (right): https://codereview.chromium.org/184443003/diff/140001/src/gpu/GrTracing.h#newcode44 src/gpu/GrTracing.h:44: struct Data { Check out SkTLazy.
6 years, 9 months ago (2014-03-24 14:34:38 UTC) #18
egdaniel
6 years, 9 months ago (2014-03-24 15:33:29 UTC) #19
bsalomon
lgtm
6 years, 9 months ago (2014-03-24 15:36:10 UTC) #20
tomhudson
Please resolve before committing. https://codereview.chromium.org/184443003/diff/160001/src/gpu/GrTracing.h File src/gpu/GrTracing.h (right): https://codereview.chromium.org/184443003/diff/160001/src/gpu/GrTracing.h#newcode42 src/gpu/GrTracing.h:42: * cpu and gpu (if ...
6 years, 9 months ago (2014-03-24 16:31:43 UTC) #21
egdaniel
https://codereview.chromium.org/184443003/diff/160001/src/gpu/GrTracing.h File src/gpu/GrTracing.h (right): https://codereview.chromium.org/184443003/diff/160001/src/gpu/GrTracing.h#newcode42 src/gpu/GrTracing.h:42: * cpu and gpu (if gpu tracing enabled) for ...
6 years, 9 months ago (2014-03-24 16:59:59 UTC) #22
tomhudson
> So the cpu Trace events are set using TRACE_EVENT1 call. From my understanding > ...
6 years, 9 months ago (2014-03-24 17:13:14 UTC) #23
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 9 months ago (2014-03-25 13:07:50 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/184443003/160001
6 years, 9 months ago (2014-03-25 13:07:56 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 13:08:03 UTC) #26
commit-bot: I haz the power
Failed to apply patch for src/gpu/GrContext.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-25 13:08:03 UTC) #27
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 9 months ago (2014-03-25 13:37:07 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/184443003/220001
6 years, 9 months ago (2014-03-25 13:37:08 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 14:02:55 UTC) #30
commit-bot: I haz the power
Failed to apply patch for src/gpu/GrContext.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-25 14:02:55 UTC) #31
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 9 months ago (2014-03-25 14:11:10 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/184443003/390002
6 years, 9 months ago (2014-03-25 14:11:20 UTC) #33
commit-bot: I haz the power
6 years, 9 months ago (2014-03-25 15:17:57 UTC) #34
Message was sent while issue was closed.
Change committed as 13936

Powered by Google App Engine
This is Rietveld 408576698