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

Issue 1233233002: Added support for TimeStamp queries using QueryCounterEXT. (Closed)

Created:
5 years, 5 months ago by David Yen
Modified:
5 years, 5 months ago
Reviewers:
piman
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added support for TimeStamp queries using QueryCounterEXT. BUG=345227 TEST=trybots Committed: https://crrev.com/da06bae00bee789d12cd6f4418018d048b04cfd2 Cr-Commit-Position: refs/heads/master@{#339153}

Patch Set 1 #

Patch Set 2 : Fixed chromium style rules #

Patch Set 3 : Finished support of Querying Timestamps in gpu_timing and added unit tests #

Patch Set 4 : Fixed unit test #

Total comments: 20

Patch Set 5 : Reworked GPUTimer so they are reusable, added unit tests to test multiple queries. #

Total comments: 2

Patch Set 6 : Added DCHECK in GPUTimer when resetting while waiting for End() #

Patch Set 7 : Removed GetQueryivEXT test with QueryCounter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1061 lines, -201 lines) Patch
M gpu/GLES2/gl2chromium_autogen.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 6 chunks +36 lines, -6 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 2 3 4 5 6 7 chunks +104 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/query_tracker.h View 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/query_tracker.cc View 1 2 3 4 2 chunks +30 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/query_tracker_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 1 chunk +59 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 2 1 chunk +79 lines, -78 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 3 chunks +45 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 1 2 3 4 6 chunks +265 lines, -66 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/query_manager.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M gpu/command_buffer/service/query_manager.cc View 1 19 chunks +124 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/query_manager_unittest.cc View 2 chunks +50 lines, -2 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gpu_timing.h View 1 2 3 4 3 chunks +12 lines, -5 lines 0 comments Download
M ui/gl/gpu_timing.cc View 1 2 3 4 5 5 chunks +53 lines, -25 lines 0 comments Download
M ui/gl/gpu_timing_fake.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gpu_timing_fake.cc View 1 2 3 4 2 chunks +42 lines, -2 lines 0 comments Download
M ui/gl/gpu_timing_unittest.cc View 1 2 3 5 chunks +89 lines, -11 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
David Yen
5 years, 5 months ago (2015-07-15 23:17:07 UTC) #2
piman
https://codereview.chromium.org/1233233002/diff/60001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/1233233002/diff/60001/gpu/command_buffer/client/gles2_implementation.cc#newcode4947 gpu/command_buffer/client/gles2_implementation.cc:4947: // Check capabilities nit: remove superfluous comment https://codereview.chromium.org/1233233002/diff/60001/gpu/command_buffer/client/gles2_implementation.cc#newcode4963 gpu/command_buffer/client/gles2_implementation.cc:4963: ...
5 years, 5 months ago (2015-07-16 01:05:53 UTC) #3
David Yen
https://codereview.chromium.org/1233233002/diff/60001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/1233233002/diff/60001/gpu/command_buffer/client/gles2_implementation.cc#newcode4947 gpu/command_buffer/client/gles2_implementation.cc:4947: // Check capabilities On 2015/07/16 01:05:52, piman (Very slow ...
5 years, 5 months ago (2015-07-16 20:21:12 UTC) #4
piman
lgtm https://codereview.chromium.org/1233233002/diff/80001/ui/gl/gpu_timing.cc File ui/gl/gpu_timing.cc (right): https://codereview.chromium.org/1233233002/diff/80001/ui/gl/gpu_timing.cc#newcode482 ui/gl/gpu_timing.cc:482: void GPUTimer::Reset() { I think you can add ...
5 years, 5 months ago (2015-07-16 20:42:26 UTC) #5
David Yen
https://codereview.chromium.org/1233233002/diff/80001/ui/gl/gpu_timing.cc File ui/gl/gpu_timing.cc (right): https://codereview.chromium.org/1233233002/diff/80001/ui/gl/gpu_timing.cc#newcode482 ui/gl/gpu_timing.cc:482: void GPUTimer::Reset() { On 2015/07/16 20:42:25, piman (Very slow ...
5 years, 5 months ago (2015-07-16 21:19:30 UTC) #6
piman
lgtm
5 years, 5 months ago (2015-07-16 22:17:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1233233002/120001
5 years, 5 months ago (2015-07-16 22:21:26 UTC) #9
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 5 months ago (2015-07-16 22:59:38 UTC) #10
commit-bot: I haz the power
5 years, 5 months ago (2015-07-16 23:01:13 UTC) #11
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/da06bae00bee789d12cd6f4418018d048b04cfd2
Cr-Commit-Position: refs/heads/master@{#339153}

Powered by Google App Engine
This is Rietveld 408576698