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 553583008: Add counting of some GL calls (Closed)

Created:
6 years, 3 months ago by robertphillips
Modified:
6 years, 3 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add counting of some GL calls I would like this facility for tracking FBO switch improvements. Committed: https://skia.googlesource.com/skia/+/754f4e98d94d7c9ed76cd128cf983f9323a1885b

Patch Set 1 #

Patch Set 2 : Disable by default #

Patch Set 3 : Fix indent #

Patch Set 4 : Switch to gathering general statistics #

Patch Set 5 : Fix some indents #

Total comments: 2

Patch Set 6 : Rework based on discussion #

Patch Set 7 : Fix whitespace #

Patch Set 8 : Update for merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -78 lines) Patch
M include/gpu/GrConfig.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/gpu/GrGpu.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGpuGL.h View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 10 chunks +24 lines, -17 lines 0 comments Download
M src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLShaderStringBuilder.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLShaderStringBuilder.cpp View 1 2 3 4 5 6 1 chunk +56 lines, -54 lines 0 comments Download
M src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M tools/PictureBenchmark.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/bench_pictures_main.cpp View 1 2 3 4 5 2 chunks +14 lines, -0 lines 0 comments Download
M tools/render_pictures_main.cpp View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
robertphillips
6 years, 3 months ago (2014-09-17 14:34:41 UTC) #2
bsalomon
Gathering stats about the # of times Ganesh does something has come up a few ...
6 years, 3 months ago (2014-09-17 14:45:44 UTC) #3
robertphillips
PTAL
6 years, 3 months ago (2014-09-17 18:28:43 UTC) #4
bsalomon
https://codereview.chromium.org/553583008/diff/80001/src/gpu/GrGpu.h File src/gpu/GrGpu.h (right): https://codereview.chromium.org/553583008/diff/80001/src/gpu/GrGpu.h#newcode344 src/gpu/GrGpu.h:344: virtual const GrContext::GPUStats& gpuStats() const = 0; Why does ...
6 years, 3 months ago (2014-09-17 18:50:16 UTC) #5
robertphillips
PTAL. This patch attempts to balance bit-rot-prevention & needless extra work.
6 years, 3 months ago (2014-09-18 13:21:44 UTC) #6
robertphillips
Thoughts on this?
6 years, 3 months ago (2014-09-18 18:55:26 UTC) #7
bsalomon
lgtm
6 years, 3 months ago (2014-09-18 19:18:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/553583008/120001
6 years, 3 months ago (2014-09-18 19:32:07 UTC) #10
commit-bot: I haz the power
Failed to apply patch for src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp: While running git apply --index -p1; error: patch failed: ...
6 years, 3 months ago (2014-09-18 19:32:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/553583008/140001
6 years, 3 months ago (2014-09-18 19:58:32 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 20:52:16 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as 754f4e98d94d7c9ed76cd128cf983f9323a1885b

Powered by Google App Engine
This is Rietveld 408576698